summaryrefslogtreecommitdiffstats
path: root/web/gui/v2/1585.5329adbba314b3f10704.js
blob: 2c0cf4bcfac11a9fdd4381452dfdf3379b67c2be (plain)
1
!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="261135bc-6b0d-4498-b5a7-e2c27db1e46d",t._sentryDebugIdIdentifier="sentry-dbid-261135bc-6b0d-4498-b5a7-e2c27db1e46d")}catch(t){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"0c0a7a41a0e7ecb4870dbce38dbd7d5e0913bb7f"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[1585],{71012:function(t){!function(){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e={rotl:function(t,n){return t<<n|t>>>32-n},rotr:function(t,n){return t<<32-n|t>>>n},endian:function(t){if(t.constructor==Number)return 16711935&e.rotl(t,8)|4278255360&e.rotl(t,24);for(var n=0;n<t.length;n++)t[n]=e.endian(t[n]);return t},randomBytes:function(t){for(var n=[];t>0;t--)n.push(Math.floor(256*Math.random()));return n},bytesToWords:function(t){for(var n=[],e=0,r=0;e<t.length;e++,r+=8)n[r>>>5]|=t[e]<<24-r%32;return n},wordsToBytes:function(t){for(var n=[],e=0;e<32*t.length;e+=8)n.push(t[e>>>5]>>>24-e%32&255);return n},bytesToHex:function(t){for(var n=[],e=0;e<t.length;e++)n.push((t[e]>>>4).toString(16)),n.push((15&t[e]).toString(16));return n.join("")},hexToBytes:function(t){for(var n=[],e=0;e<t.length;e+=2)n.push(parseInt(t.substr(e,2),16));return n},bytesToBase64:function(t){for(var e=[],r=0;r<t.length;r+=3)for(var i=t[r]<<16|t[r+1]<<8|t[r+2],o=0;o<4;o++)8*r+6*o<=8*t.length?e.push(n.charAt(i>>>6*(3-o)&63)):e.push("=");return e.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var e=[],r=0,i=0;r<t.length;i=++r%4)0!=i&&e.push((n.indexOf(t.charAt(r-1))&Math.pow(2,-2*i+8)-1)<<2*i|n.indexOf(t.charAt(r))>>>6-2*i);return e}};t.exports=e}()},27642:function(t,n,e){"use strict";e.d(n,{Dz:function(){return i},Oq:function(){return h},cv:function(){return s},dO:function(){return c},iz:function(){return d},jn:function(){return o},oc:function(){return l}});var r=e(38776),i=function(t){var n=t.top,e=t.right,r=t.bottom,i=t.left;return{top:n,right:e,bottom:r,left:i,width:e-i,height:r-n,x:i,y:n,center:{x:(e+i)/2,y:(r+n)/2}}},o=function(t,n){return{top:t.top-n.top,left:t.left-n.left,bottom:t.bottom+n.bottom,right:t.right+n.right}},u=function(t,n){return{top:t.top+n.top,left:t.left+n.left,bottom:t.bottom-n.bottom,right:t.right-n.right}},a={top:0,right:0,bottom:0,left:0},c=function(t){var n=t.borderBox,e=t.margin,r=void 0===e?a:e,c=t.border,f=void 0===c?a:c,s=t.padding,l=void 0===s?a:s,h=i(o(n,r)),d=i(u(n,f)),p=i(u(d,l));return{marginBox:h,borderBox:i(n),paddingBox:d,contentBox:p,margin:r,border:f,padding:l}},f=function(t){var n=t.slice(0,-2);if("px"!==t.slice(-2))return 0;var e=Number(n);return isNaN(e)&&(0,r.Z)(!1),e},s=function(t,n){var e,r,i=t.borderBox,o=t.border,u=t.margin,a=t.padding,f=(r=n,{top:(e=i).top+r.y,left:e.left+r.x,bottom:e.bottom+r.y,right:e.right+r.x});return c({borderBox:f,border:o,margin:u,padding:a})},l=function(t,n){return void 0===n&&(n={x:window.pageXOffset,y:window.pageYOffset}),s(t,n)},h=function(t,n){var e={top:f(n.marginTop),right:f(n.marginRight),bottom:f(n.marginBottom),left:f(n.marginLeft)},r={top:f(n.paddingTop),right:f(n.paddingRight),bottom:f(n.paddingBottom),left:f(n.paddingLeft)},i={top:f(n.borderTopWidth),right:f(n.borderRightWidth),bottom:f(n.borderBottomWidth),left:f(n.borderLeftWidth)};return c({borderBox:t,margin:e,padding:r,border:i})},d=function(t){var n=t.getBoundingClientRect(),e=window.getComputedStyle(t);return h(n,e)}},8958:function(t,n,e){"use strict";e.d(n,{Z:function(){return p}});var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},i=function(t,n,e){var i,o=r[t];return i="string"===typeof o?o:1===n?o.one:o.other.replace("{{count}}",n.toString()),null!==e&&void 0!==e&&e.addSuffix?e.comparison&&e.comparison>0?"in "+i:i+" ago":i};function o(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=n.width?String(n.width):t.defaultWidth;return t.formats[e]||t.formats[t.defaultWidth]}}var u={date:o({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:o({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:o({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},c=function(t,n,e,r){return a[t]};function f(t){return function(n,e){var r;if("formatting"===(null!==e&&void 0!==e&&e.context?String(e.context):"standalone")&&t.formattingValues){var i=t.defaultFormattingWidth||t.defaultWidth,o=null!==e&&void 0!==e&&e.width?String(e.width):i;r=t.formattingValues[o]||t.formattingValues[i]}else{var u=t.defaultWidth,a=null!==e&&void 0!==e&&e.width?String(e.width):t.defaultWidth;r=t.values[a]||t.values[u]}return r[t.argumentCallback?t.argumentCallback(n):n]}}var s={ordinalNumber:function(t,n){var e=Number(t),r=e%100;if(r>20||r<10)switch(r%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"},era:f({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:f({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:f({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:f({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:f({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function l(t){return function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.width,i=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],o=n.match(i);if(!o)return null;var u,a=o[0],c=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],f=Array.isArray(c)?function(t,n){for(var e=0;e<t.length;e++)if(n(t[e]))return e;return}(c,(function(t){return t.test(a)})):function(t,n){for(var e in t)if(t.hasOwnProperty(e)&&n(t[e]))return e;return}(c,(function(t){return t.test(a)}));return u=t.valueCallback?t.valueCallback(f):f,{value:u=e.valueCallback?e.valueCallback(u):u,rest:n.slice(a.length)}}}var h,d={ordinalNumber:(h={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.match(h.matchPattern);if(!e)return null;var r=e[0],i=t.match(h.parsePattern);if(!i)return null;var o=h.valueCallback?h.valueCallback(i[0]):i[0];return{value:o=n.valueCallback?n.valueCallback(o):o,rest:t.slice(r.length)}}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},p={code:"en-US",formatDistance:i,formatLong:u,formatRelative:c,localize:s,match:d,options:{weekStartsOn:0,firstWeekContainsDate:1}}},84314:function(t,n,e){"use strict";e.d(n,{j:function(){return i}});var r={};function i(){return r}},97621:function(t,n){"use strict";var e=function(t,n){switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});default:return n.date({width:"full"})}},r=function(t,n){switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});default:return n.time({width:"full"})}},i={p:r,P:function(t,n){var i,o=t.match(/(P+)(p+)?/)||[],u=o[1],a=o[2];if(!a)return e(t,n);switch(u){case"P":i=n.dateTime({width:"short"});break;case"PP":i=n.dateTime({width:"medium"});break;case"PPP":i=n.dateTime({width:"long"});break;default:i=n.dateTime({width:"full"})}return i.replace("{{date}}",e(u,n)).replace("{{time}}",r(a,n))}};n.Z=i},24262:function(t,n,e){"use strict";function r(t){var n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),t.getTime()-n.getTime()}e.d(n,{Z:function(){return r}})},49702:function(t,n,e){"use strict";e.d(n,{Z:function(){return c}});var r=e(19013),i=e(66979),o=e(7032),u=e(13882);var a=6048e5;function c(t){(0,u.Z)(1,arguments);var n=(0,r.default)(t),e=(0,i.Z)(n).getTime()-function(t){(0,u.Z)(1,arguments);var n=(0,o.Z)(t),e=new Date(0);return e.setUTCFullYear(n,0,4),e.setUTCHours(0,0,0,0),(0,i.Z)(e)}(n).getTime();return Math.round(e/a)+1}},7032:function(t,n,e){"use strict";e.d(n,{Z:function(){return u}});var r=e(19013),i=e(13882),o=e(66979);function u(t){(0,i.Z)(1,arguments);var n=(0,r.default)(t),e=n.getUTCFullYear(),u=new Date(0);u.setUTCFullYear(e+1,0,4),u.setUTCHours(0,0,0,0);var a=(0,o.Z)(u),c=new Date(0);c.setUTCFullYear(e,0,4),c.setUTCHours(0,0,0,0);var f=(0,o.Z)(c);return n.getTime()>=a.getTime()?e+1:n.getTime()>=f.getTime()?e:e-1}},23324:function(t,n,e){"use strict";e.d(n,{Z:function(){return s}});var r=e(19013),i=e(59025),o=e(7651),u=e(13882),a=e(83946),c=e(84314);var f=6048e5;function s(t,n){(0,u.Z)(1,arguments);var e=(0,r.default)(t),s=(0,i.Z)(e,n).getTime()-function(t,n){var e,r,f,s,l,h,d,p;(0,u.Z)(1,arguments);var g=(0,c.j)(),v=(0,a.Z)(null!==(e=null!==(r=null!==(f=null!==(s=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==s?s:null===n||void 0===n||null===(l=n.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==f?f:g.firstWeekContainsDate)&&void 0!==r?r:null===(d=g.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==e?e:1),y=(0,o.Z)(t,n),m=new Date(0);return m.setUTCFullYear(y,0,v),m.setUTCHours(0,0,0,0),(0,i.Z)(m,n)}(e,n).getTime();return Math.round(s/f)+1}},7651:function(t,n,e){"use strict";e.d(n,{Z:function(){return c}});var r=e(19013),i=e(13882),o=e(59025),u=e(83946),a=e(84314);function c(t,n){var e,c,f,s,l,h,d,p;(0,i.Z)(1,arguments);var g=(0,r.default)(t),v=g.getUTCFullYear(),y=(0,a.j)(),m=(0,u.Z)(null!==(e=null!==(c=null!==(f=null!==(s=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==s?s:null===n||void 0===n||null===(l=n.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==f?f:y.firstWeekContainsDate)&&void 0!==c?c:null===(d=y.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==e?e:1);if(!(m>=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(v+1,0,m),b.setUTCHours(0,0,0,0);var _=(0,o.Z)(b,n),w=new Date(0);w.setUTCFullYear(v,0,m),w.setUTCHours(0,0,0,0);var x=(0,o.Z)(w,n);return g.getTime()>=_.getTime()?v+1:g.getTime()>=x.getTime()?v:v-1}},5267:function(t,n,e){"use strict";e.d(n,{Do:function(){return u},Iu:function(){return o},qp:function(){return a}});var r=["D","DD"],i=["YY","YYYY"];function o(t){return-1!==r.indexOf(t)}function u(t){return-1!==i.indexOf(t)}function a(t,n,e){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(n,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(n,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(n,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(n,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},13882:function(t,n,e){"use strict";function r(t,n){if(n.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+n.length+" present")}e.d(n,{Z:function(){return r}})},66979:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(19013),i=e(13882);function o(t){(0,i.Z)(1,arguments);var n=(0,r.default)(t),e=n.getUTCDay(),o=(e<1?7:0)+e-1;return n.setUTCDate(n.getUTCDate()-o),n.setUTCHours(0,0,0,0),n}},59025:function(t,n,e){"use strict";e.d(n,{Z:function(){return a}});var r=e(19013),i=e(13882),o=e(83946),u=e(84314);function a(t,n){var e,a,c,f,s,l,h,d;(0,i.Z)(1,arguments);var p=(0,u.j)(),g=(0,o.Z)(null!==(e=null!==(a=null!==(c=null!==(f=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==f?f:null===n||void 0===n||null===(s=n.locale)||void 0===s||null===(l=s.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==c?c:p.weekStartsOn)&&void 0!==a?a:null===(h=p.locale)||void 0===h||null===(d=h.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==e?e:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,r.default)(t),y=v.getUTCDay(),m=(y<g?7:0)+y-g;return v.setUTCDate(v.getUTCDate()-m),v.setUTCHours(0,0,0,0),v}},83946:function(t,n,e){"use strict";function r(t){if(null===t||!0===t||!1===t)return NaN;var n=Number(t);return isNaN(n)?n:n<0?Math.ceil(n):Math.floor(n)}e.d(n,{Z:function(){return r}})},51820:function(t,n,e){"use strict";e.d(n,{Z:function(){return u}});var r=e(83946),i=e(19013),o=e(13882);function u(t,n){(0,o.Z)(2,arguments);var e=(0,i.default)(t).getTime(),u=(0,r.Z)(n);return new Date(e+u)}},49546:function(t,n,e){"use strict";e.r(n),e.d(n,{default:function(){return z}});var r=e(12274),i=e(91218),o=e(19013),u=e(13882);var a=e(49702),c=e(7032),f=e(23324),s=e(7651);function l(t,n){for(var e=t<0?"-":"",r=Math.abs(t).toString();r.length<n;)r="0"+r;return e+r}var h={y:function(t,n){var e=t.getUTCFullYear(),r=e>0?e:1-e;return l("yy"===n?r%100:r,n.length)},M:function(t,n){var e=t.getUTCMonth();return"M"===n?String(e+1):l(e+1,2)},d:function(t,n){return l(t.getUTCDate(),n.length)},a:function(t,n){var e=t.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return e.toUpperCase();case"aaa":return e;case"aaaaa":return e[0];default:return"am"===e?"a.m.":"p.m."}},h:function(t,n){return l(t.getUTCHours()%12||12,n.length)},H:function(t,n){return l(t.getUTCHours(),n.length)},m:function(t,n){return l(t.getUTCMinutes(),n.length)},s:function(t,n){return l(t.getUTCSeconds(),n.length)},S:function(t,n){var e=n.length,r=t.getUTCMilliseconds();return l(Math.floor(r*Math.pow(10,e-3)),n.length)}},d="midnight",p="noon",g="morning",v="afternoon",y="evening",m="night",b={G:function(t,n,e){var r=t.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return e.era(r,{width:"abbreviated"});case"GGGGG":return e.era(r,{width:"narrow"});default:return e.era(r,{width:"wide"})}},y:function(t,n,e){if("yo"===n){var r=t.getUTCFullYear(),i=r>0?r:1-r;return e.ordinalNumber(i,{unit:"year"})}return h.y(t,n)},Y:function(t,n,e,r){var i=(0,s.Z)(t,r),o=i>0?i:1-i;return"YY"===n?l(o%100,2):"Yo"===n?e.ordinalNumber(o,{unit:"year"}):l(o,n.length)},R:function(t,n){return l((0,c.Z)(t),n.length)},u:function(t,n){return l(t.getUTCFullYear(),n.length)},Q:function(t,n,e){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"Q":return String(r);case"QQ":return l(r,2);case"Qo":return e.ordinalNumber(r,{unit:"quarter"});case"QQQ":return e.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(r,{width:"narrow",context:"formatting"});default:return e.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,n,e){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"q":return String(r);case"qq":return l(r,2);case"qo":return e.ordinalNumber(r,{unit:"quarter"});case"qqq":return e.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(r,{width:"narrow",context:"standalone"});default:return e.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,n,e){var r=t.getUTCMonth();switch(n){case"M":case"MM":return h.M(t,n);case"Mo":return e.ordinalNumber(r+1,{unit:"month"});case"MMM":return e.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(r,{width:"narrow",context:"formatting"});default:return e.month(r,{width:"wide",context:"formatting"})}},L:function(t,n,e){var r=t.getUTCMonth();switch(n){case"L":return String(r+1);case"LL":return l(r+1,2);case"Lo":return e.ordinalNumber(r+1,{unit:"month"});case"LLL":return e.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(r,{width:"narrow",context:"standalone"});default:return e.month(r,{width:"wide",context:"standalone"})}},w:function(t,n,e,r){var i=(0,f.Z)(t,r);return"wo"===n?e.ordinalNumber(i,{unit:"week"}):l(i,n.length)},I:function(t,n,e){var r=(0,a.Z)(t);return"Io"===n?e.ordinalNumber(r,{unit:"week"}):l(r,n.length)},d:function(t,n,e){return"do"===n?e.ordinalNumber(t.getUTCDate(),{unit:"date"}):h.d(t,n)},D:function(t,n,e){var r=function(t){(0,u.Z)(1,arguments);var n=(0,o.default)(t),e=n.getTime();n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0);var r=e-n.getTime();return Math.floor(r/864e5)+1}(t);return"Do"===n?e.ordinalNumber(r,{unit:"dayOfYear"}):l(r,n.length)},E:function(t,n,e){var r=t.getUTCDay();switch(n){case"E":case"EE":case"EEE":return e.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(r,{width:"short",context:"formatting"});default:return e.day(r,{width:"wide",context:"formatting"})}},e:function(t,n,e,r){var i=t.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(n){case"e":return String(o);case"ee":return l(o,2);case"eo":return e.ordinalNumber(o,{unit:"day"});case"eee":return e.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return e.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(i,{width:"short",context:"formatting"});default:return e.day(i,{width:"wide",context:"formatting"})}},c:function(t,n,e,r){var i=t.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(n){case"c":return String(o);case"cc":return l(o,n.length);case"co":return e.ordinalNumber(o,{unit:"day"});case"ccc":return e.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return e.day(i,{width:"narrow",context:"standalone"});case"cccccc":return e.day(i,{width:"short",context:"standalone"});default:return e.day(i,{width:"wide",context:"standalone"})}},i:function(t,n,e){var r=t.getUTCDay(),i=0===r?7:r;switch(n){case"i":return String(i);case"ii":return l(i,n.length);case"io":return e.ordinalNumber(i,{unit:"day"});case"iii":return e.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(r,{width:"short",context:"formatting"});default:return e.day(r,{width:"wide",context:"formatting"})}},a:function(t,n,e){var r=t.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return e.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return e.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return e.dayPeriod(r,{width:"narrow",context:"formatting"});default:return e.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,n,e){var r,i=t.getUTCHours();switch(r=12===i?p:0===i?d:i/12>=1?"pm":"am",n){case"b":case"bb":return e.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return e.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return e.dayPeriod(r,{width:"narrow",context:"formatting"});default:return e.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,n,e){var r,i=t.getUTCHours();switch(r=i>=17?y:i>=12?v:i>=4?g:m,n){case"B":case"BB":case"BBB":return e.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return e.dayPeriod(r,{width:"narrow",context:"formatting"});default:return e.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,n,e){if("ho"===n){var r=t.getUTCHours()%12;return 0===r&&(r=12),e.ordinalNumber(r,{unit:"hour"})}return h.h(t,n)},H:function(t,n,e){return"Ho"===n?e.ordinalNumber(t.getUTCHours(),{unit:"hour"}):h.H(t,n)},K:function(t,n,e){var r=t.getUTCHours()%12;return"Ko"===n?e.ordinalNumber(r,{unit:"hour"}):l(r,n.length)},k:function(t,n,e){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===n?e.ordinalNumber(r,{unit:"hour"}):l(r,n.length)},m:function(t,n,e){return"mo"===n?e.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):h.m(t,n)},s:function(t,n,e){return"so"===n?e.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):h.s(t,n)},S:function(t,n){return h.S(t,n)},X:function(t,n,e,r){var i=(r._originalDate||t).getTimezoneOffset();if(0===i)return"Z";switch(n){case"X":return w(i);case"XXXX":case"XX":return x(i);default:return x(i,":")}},x:function(t,n,e,r){var i=(r._originalDate||t).getTimezoneOffset();switch(n){case"x":return w(i);case"xxxx":case"xx":return x(i);default:return x(i,":")}},O:function(t,n,e,r){var i=(r._originalDate||t).getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+_(i,":");default:return"GMT"+x(i,":")}},z:function(t,n,e,r){var i=(r._originalDate||t).getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+_(i,":");default:return"GMT"+x(i,":")}},t:function(t,n,e,r){var i=r._originalDate||t;return l(Math.floor(i.getTime()/1e3),n.length)},T:function(t,n,e,r){return l((r._originalDate||t).getTime(),n.length)}};function _(t,n){var e=t>0?"-":"+",r=Math.abs(t),i=Math.floor(r/60),o=r%60;if(0===o)return e+String(i);var u=n||"";return e+String(i)+u+l(o,2)}function w(t,n){return t%60===0?(t>0?"-":"+")+l(Math.abs(t)/60,2):x(t,n)}function x(t,n){var e=n||"",r=t>0?"-":"+",i=Math.abs(t);return r+l(Math.floor(i/60),2)+e+l(i%60,2)}var M=b,T=e(97621),S=e(24262),A=e(5267),k=e(83946),N=e(84314),E=e(8958),C=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,P=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Z=/^'([^]*?)'?$/,D=/''/g,U=/[a-zA-Z]/;function z(t,n,e){var a,c,f,s,l,h,d,p,g,v,y,m,b,_,w,x,z,Y;(0,u.Z)(2,arguments);var q=String(n),F=(0,N.j)(),R=null!==(a=null!==(c=null===e||void 0===e?void 0:e.locale)&&void 0!==c?c:F.locale)&&void 0!==a?a:E.Z,O=(0,k.Z)(null!==(f=null!==(s=null!==(l=null!==(h=null===e||void 0===e?void 0:e.firstWeekContainsDate)&&void 0!==h?h:null===e||void 0===e||null===(d=e.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==l?l:F.firstWeekContainsDate)&&void 0!==s?s:null===(g=F.locale)||void 0===g||null===(v=g.options)||void 0===v?void 0:v.firstWeekContainsDate)&&void 0!==f?f:1);if(!(O>=1&&O<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var B=(0,k.Z)(null!==(y=null!==(m=null!==(b=null!==(_=null===e||void 0===e?void 0:e.weekStartsOn)&&void 0!==_?_:null===e||void 0===e||null===(w=e.locale)||void 0===w||null===(x=w.options)||void 0===x?void 0:x.weekStartsOn)&&void 0!==b?b:F.weekStartsOn)&&void 0!==m?m:null===(z=F.locale)||void 0===z||null===(Y=z.options)||void 0===Y?void 0:Y.weekStartsOn)&&void 0!==y?y:0);if(!(B>=0&&B<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!R.localize)throw new RangeError("locale must contain localize property");if(!R.formatLong)throw new RangeError("locale must contain formatLong property");var $=(0,o.default)(t);if(!(0,r.default)($))throw new RangeError("Invalid time value");var I=(0,S.Z)($),L=(0,i.Z)($,I),H={firstWeekContainsDate:O,weekStartsOn:B,locale:R,_originalDate:$};return q.match(P).map((function(t){var n=t[0];return"p"===n||"P"===n?(0,T.Z[n])(t,R.formatLong):t})).join("").match(C).map((function(r){if("''"===r)return"'";var i=r[0];if("'"===i)return function(t){var n=t.match(Z);if(!n)return t;return n[1].replace(D,"'")}(r);var o=M[i];if(o)return null!==e&&void 0!==e&&e.useAdditionalWeekYearTokens||!(0,A.Do)(r)||(0,A.qp)(r,n,String(t)),null!==e&&void 0!==e&&e.useAdditionalDayOfYearTokens||!(0,A.Iu)(r)||(0,A.qp)(r,n,String(t)),o(L,r,R.localize,H);if(i.match(U))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return r})).join("")}},71381:function(t,n,e){"use strict";e.r(n),e.d(n,{default:function(){return o}});var r=e(71002),i=e(13882);function o(t){return(0,i.Z)(1,arguments),t instanceof Date||"object"===(0,r.Z)(t)&&"[object Date]"===Object.prototype.toString.call(t)}},12274:function(t,n,e){"use strict";e.r(n),e.d(n,{default:function(){return u}});var r=e(71381),i=e(19013),o=e(13882);function u(t){if((0,o.Z)(1,arguments),!(0,r.default)(t)&&"number"!==typeof t)return!1;var n=(0,i.default)(t);return!isNaN(Number(n))}},91218:function(t,n,e){"use strict";e.d(n,{Z:function(){return u}});var r=e(51820),i=e(13882),o=e(83946);function u(t,n){(0,i.Z)(2,arguments);var e=(0,o.Z)(n);return(0,r.Z)(t,-e)}},19013:function(t,n,e){"use strict";e.r(n),e.d(n,{default:function(){return o}});var r=e(71002),i=e(13882);function o(t){(0,i.Z)(1,arguments);var n=Object.prototype.toString.call(t);return t instanceof Date||"object"===(0,r.Z)(t)&&"[object Date]"===n?new Date(t.getTime()):"number"===typeof t||"[object Number]"===n?new Date(t):("string"!==typeof t&&"[object String]"!==n||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},44020:function(t){"use strict";var n="%[a-f0-9]{2}",e=new RegExp("("+n+")|([^%]+?)","gi"),r=new RegExp("("+n+")+","gi");function i(t,n){try{return[decodeURIComponent(t.join(""))]}catch(o){}if(1===t.length)return t;n=n||1;var e=t.slice(0,n),r=t.slice(n);return Array.prototype.concat.call([],i(e),i(r))}function o(t){try{return decodeURIComponent(t)}catch(o){for(var n=t.match(e)||[],r=1;r<n.length;r++)n=(t=i(n,r).join("")).match(e)||[];return t}}t.exports=function(t){if("string"!==typeof t)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof t+"`");try{return t=t.replace(/\+/g," "),decodeURIComponent(t)}catch(n){return function(t){for(var e={"%FE%FF":"\ufffd\ufffd","%FF%FE":"\ufffd\ufffd"},i=r.exec(t);i;){try{e[i[0]]=decodeURIComponent(i[0])}catch(n){var u=o(i[0]);u!==i[0]&&(e[i[0]]=u)}i=r.exec(t)}e["%C2"]="\ufffd";for(var a=Object.keys(e),c=0;c<a.length;c++){var f=a[c];t=t.replace(new RegExp(f,"g"),e[f])}return t}(t)}}},4447:function(t,n,e){"use strict";e.d(n,{B8:function(){return T},Il:function(){return i},J5:function(){return u},SU:function(){return M},Ss:function(){return S},Ym:function(){return D},ZP:function(){return _},xV:function(){return o}});var r=e(49531);function i(){}var o=.7,u=1/o,a="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",f="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",s=/^#([0-9a-f]{3,8})$/,l=new RegExp(`^rgb\\(${a},${a},${a}\\)$`),h=new RegExp(`^rgb\\(${f},${f},${f}\\)$`),d=new RegExp(`^rgba\\(${a},${a},${a},${c}\\)$`),p=new RegExp(`^rgba\\(${f},${f},${f},${c}\\)$`),g=new RegExp(`^hsl\\(${c},${f},${f}\\)$`),v=new RegExp(`^hsla\\(${c},${f},${f},${c}\\)$`),y={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function m(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function _(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=s.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?w(n):3===e?new S(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?x(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?x(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=l.exec(t))?new S(n[1],n[2],n[3],1):(n=h.exec(t))?new S(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=d.exec(t))?x(n[1],n[2],n[3],n[4]):(n=p.exec(t))?x(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=g.exec(t))?P(n[1],n[2]/100,n[3]/100,1):(n=v.exec(t))?P(n[1],n[2]/100,n[3]/100,n[4]):y.hasOwnProperty(t)?w(y[t]):"transparent"===t?new S(NaN,NaN,NaN,0):null}function w(t){return new S(t>>16&255,t>>8&255,255&t,1)}function x(t,n,e,r){return r<=0&&(t=n=e=NaN),new S(t,n,e,r)}function M(t){return t instanceof i||(t=_(t)),t?new S((t=t.rgb()).r,t.g,t.b,t.opacity):new S}function T(t,n,e,r){return 1===arguments.length?M(t):new S(t,n,e,null==r?1:r)}function S(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function A(){return`#${C(this.r)}${C(this.g)}${C(this.b)}`}function k(){const t=N(this.opacity);return`${1===t?"rgb(":"rgba("}${E(this.r)}, ${E(this.g)}, ${E(this.b)}${1===t?")":`, ${t})`}`}function N(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function E(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function C(t){return((t=E(t))<16?"0":"")+t.toString(16)}function P(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new U(t,n,e,r)}function Z(t){if(t instanceof U)return new U(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=_(t)),!t)return new U;if(t instanceof U)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,o=Math.min(n,e,r),u=Math.max(n,e,r),a=NaN,c=u-o,f=(u+o)/2;return c?(a=n===u?(e-r)/c+6*(e<r):e===u?(r-n)/c+2:(n-e)/c+4,c/=f<.5?u+o:2-u-o,a*=60):c=f>0&&f<1?0:a,new U(a,c,f,t.opacity)}function D(t,n,e,r){return 1===arguments.length?Z(t):new U(t,n,e,null==r?1:r)}function U(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function z(t){return(t=(t||0)%360)<0?t+360:t}function Y(t){return Math.max(0,Math.min(1,t||0))}function q(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}(0,r.Z)(i,_,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:m,formatHex:m,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Z(this).formatHsl()},formatRgb:b,toString:b}),(0,r.Z)(S,T,(0,r.l)(i,{brighter(t){return t=null==t?u:Math.pow(u,t),new S(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?o:Math.pow(o,t),new S(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new S(E(this.r),E(this.g),E(this.b),N(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:A,formatHex:A,formatHex8:function(){return`#${C(this.r)}${C(this.g)}${C(this.b)}${C(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:k,toString:k})),(0,r.Z)(U,D,(0,r.l)(i,{brighter(t){return t=null==t?u:Math.pow(u,t),new U(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?o:Math.pow(o,t),new U(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new S(q(t>=240?t-240:t+120,i,r),q(t,i,r),q(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new U(z(this.h),Y(this.s),Y(this.l),N(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 t=N(this.opacity);return`${1===t?"hsl(":"hsla("}${z(this.h)}, ${100*Y(this.s)}%, ${100*Y(this.l)}%${1===t?")":`, ${t})`}`}}))},49531:function(t,n,e){"use strict";function r(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function i(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}e.d(n,{Z:function(){return r},l:function(){return i}})},65386:function(t,n,e){"use strict";e.d(n,{WU:function(){return i},ZP:function(){return a},jH:function(){return o}});var r,i,o,u=e(80028);function a(t){return r=(0,u.Z)(t),i=r.format,o=r.formatPrefix,r}a({thousands:",",grouping:[3],currency:["$",""]})},65368:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(78613);function i(t){return(t=(0,r.V)(Math.abs(t)))?t[1]:NaN}},78613:function(t,n,e){"use strict";function r(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function i(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}e.d(n,{V:function(){return i},Z:function(){return r}})},42035:function(t,n,e){"use strict";e.d(n,{Z:function(){return i},v:function(){return o}});var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(t){if(!(n=r.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+""}i.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}},80028:function(t,n,e){"use strict";e.d(n,{Z:function(){return h}});var r=e(65368);var i=e(42035);var o,u=e(78613);function a(t,n){var e=(0,u.V)(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}var c={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:u.Z,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)=>a(100*t,n),r:a,s:function(t,n){var e=(0,u.V)(t,n);if(!e)return t+"";var r=e[0],i=e[1],a=i-(o=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,c=r.length;return a===c?r:a>c?r+new Array(a-c+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+(0,u.V)(t,Math.max(0,n+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function f(t){return t}var s=Array.prototype.map,l=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function h(t){var n,e,u=void 0===t.grouping||void 0===t.thousands?f:(n=s.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],u=0,a=n[0],c=0;i>0&&a>0&&(c+a+1>r&&(a=Math.max(1,r-c)),o.push(t.substring(i-=a,i+a)),!((c+=a+1)>r));)a=n[u=(u+1)%n.length];return o.reverse().join(e)}),a=void 0===t.currency?"":t.currency[0]+"",h=void 0===t.currency?"":t.currency[1]+"",d=void 0===t.decimal?".":t.decimal+"",p=void 0===t.numerals?f:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(s.call(t.numerals,String)),g=void 0===t.percent?"%":t.percent+"",v=void 0===t.minus?"\u2212":t.minus+"",y=void 0===t.nan?"NaN":t.nan+"";function m(t){var n=(t=(0,i.Z)(t)).fill,e=t.align,r=t.sign,f=t.symbol,s=t.zero,m=t.width,b=t.comma,_=t.precision,w=t.trim,x=t.type;"n"===x?(b=!0,x="g"):c[x]||(void 0===_&&(_=12),w=!0,x="g"),(s||"0"===n&&"="===e)&&(s=!0,n="0",e="=");var M="$"===f?a:"#"===f&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",T="$"===f?h:/[%p]/.test(x)?g:"",S=c[x],A=/[defgprs%]/.test(x);function k(t){var i,a,c,f=M,h=T;if("c"===x)h=S(t)+h,t="";else{var g=(t=+t)<0||1/t<0;if(t=isNaN(t)?y:S(Math.abs(t),_),w&&(t=function(t){t:for(var n,e=t.length,r=1,i=-1;r<e;++r)switch(t[r]){case".":i=n=r;break;case"0":0===i&&(i=r),n=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}(t)),g&&0===+t&&"+"!==r&&(g=!1),f=(g?"("===r?r:v:"-"===r||"("===r?"":r)+f,h=("s"===x?l[8+o/3]:"")+h+(g&&"("===r?")":""),A)for(i=-1,a=t.length;++i<a;)if(48>(c=t.charCodeAt(i))||c>57){h=(46===c?d+t.slice(i+1):t.slice(i))+h,t=t.slice(0,i);break}}b&&!s&&(t=u(t,1/0));var k=f.length+t.length+h.length,N=k<m?new Array(m-k+1).join(n):"";switch(b&&s&&(t=u(N+t,N.length?m-h.length:1/0),N=""),e){case"<":t=f+t+h+N;break;case"=":t=f+N+t+h;break;case"^":t=N.slice(0,k=N.length>>1)+f+t+h+N.slice(k);break;default:t=N+f+t+h}return p(t)}return _=void 0===_?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_)),k.toString=function(){return t+""},k}return{format:m,formatPrefix:function(t,n){var e=m(((t=(0,i.Z)(t)).type="f",t)),o=3*Math.max(-8,Math.min(8,Math.floor((0,r.Z)(n)/3))),u=Math.pow(10,-o),a=l[8+o/3];return function(t){return e(u*t)+a}}}}},96909:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(65368);function i(t){return Math.max(0,-(0,r.Z)(Math.abs(t)))}},87017:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(65368);function i(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,r.Z)(n)/3)))-(0,r.Z)(Math.abs(t)))}},63482:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(65368);function i(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,(0,r.Z)(n)-(0,r.Z)(t))+1}},51606:function(t,n,e){"use strict";e.d(n,{M:function(){return u},Z:function(){return o}});var r=e(45326),i=e(45401);function o(t,n){return((0,i.v)(n)?i.Z:u)(t,n)}function u(t,n){var e,i=n?n.length:0,o=t?Math.min(i,t.length):0,u=new Array(o),a=new Array(i);for(e=0;e<o;++e)u[e]=(0,r.Z)(t[e],n[e]);for(;e<i;++e)a[e]=n[e];return function(t){for(e=0;e<o;++e)a[e]=u[e](t);return a}}},27265:function(t,n,e){"use strict";function r(t,n,e,r,i){var o=t*t,u=o*t;return((1-3*t+3*o-u)*n+(4-6*o+3*u)*e+(1+3*t+3*o-3*u)*r+u*i)/6}function i(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),o=t[i],u=t[i+1],a=i>0?t[i-1]:2*o-u,c=i<n-1?t[i+2]:2*u-o;return r((e-i/n)*n,a,o,u,c)}}e.d(n,{Z:function(){return i},t:function(){return r}})},76068:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(27265);function i(t){var n=t.length;return function(e){var i=Math.floor(((e%=1)<0?++e:e)*n),o=t[(i+n-1)%n],u=t[i%n],a=t[(i+1)%n],c=t[(i+2)%n];return(0,r.t)((e-i/n)*n,o,u,a,c)}}},98280:function(t,n,e){"use strict";e.d(n,{ZP:function(){return a},wx:function(){return o},yi:function(){return u}});var r=e(22954);function i(t,n){return function(e){return t+e*n}}function o(t,n){var e=n-t;return e?i(t,e>180||e<-180?e-360*Math.round(e/360):e):(0,r.Z)(isNaN(t)?n:t)}function u(t){return 1===(t=+t)?a:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):(0,r.Z)(isNaN(n)?e:n)}}function a(t,n){var e=n-t;return e?i(t,e):(0,r.Z)(isNaN(t)?n:t)}},22954:function(t,n){"use strict";n.Z=t=>()=>t},56246:function(t,n,e){"use strict";function r(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}e.d(n,{Z:function(){return r}})},68063:function(t,n,e){"use strict";function r(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}e.d(n,{Z:function(){return r}})},45401:function(t,n,e){"use strict";function r(t,n){n||(n=[]);var e,r=t?Math.min(n.length,t.length):0,i=n.slice();return function(o){for(e=0;e<r;++e)i[e]=t[e]*(1-o)+n[e]*o;return i}}function i(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}e.d(n,{Z:function(){return r},v:function(){return i}})},58296:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(45326);function i(t,n){var e,i={},o={};for(e in null!==t&&"object"===typeof t||(t={}),null!==n&&"object"===typeof n||(n={}),n)e in t?i[e]=(0,r.Z)(t[e],n[e]):o[e]=n[e];return function(t){for(e in i)o[e]=i[e](t);return o}}},19640:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(45326);function i(t,n){void 0===n&&(n=t,t=r.Z);for(var e=0,i=n.length-1,o=n[0],u=new Array(i<0?0:i);e<i;)u[e]=t(o,o=n[++e]);return function(t){var n=Math.max(0,Math.min(i-1,Math.floor(t*=i)));return u[n](t-n)}}},6354:function(t,n,e){"use strict";e.d(n,{YD:function(){return f},hD:function(){return c}});var r=e(4447),i=e(27265),o=e(76068),u=e(98280);function a(t){return function(n){var e,i,o=n.length,u=new Array(o),a=new Array(o),c=new Array(o);for(e=0;e<o;++e)i=(0,r.B8)(n[e]),u[e]=i.r||0,a[e]=i.g||0,c[e]=i.b||0;return u=t(u),a=t(a),c=t(c),i.opacity=1,function(t){return i.r=u(t),i.g=a(t),i.b=c(t),i+""}}}n.ZP=function t(n){var e=(0,u.yi)(n);function i(t,n){var i=e((t=(0,r.B8)(t)).r,(n=(0,r.B8)(n)).r),o=e(t.g,n.g),a=e(t.b,n.b),c=(0,u.ZP)(t.opacity,n.opacity);return function(n){return t.r=i(n),t.g=o(n),t.b=a(n),t.opacity=c(n),t+""}}return i.gamma=t,i}(1);var c=a(i.Z),f=a(o.Z)},64635:function(t,n,e){"use strict";function r(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}e.d(n,{Z:function(){return r}})},16773:function(t,n,e){"use strict";e.d(n,{Z:function(){return u}});var r=e(68063),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(i.source,"g");function u(t,n){var e,u,a,c=i.lastIndex=o.lastIndex=0,f=-1,s=[],l=[];for(t+="",n+="";(e=i.exec(t))&&(u=o.exec(n));)(a=u.index)>c&&(a=n.slice(c,a),s[f]?s[f]+=a:s[++f]=a),(e=e[0])===(u=u[0])?s[f]?s[f]+=u:s[++f]=u:(s[++f]=null,l.push({i:f,x:(0,r.Z)(e,u)})),c=o.lastIndex;return c<n.length&&(a=n.slice(c),s[f]?s[f]+=a:s[++f]=a),s.length<2?l[0]?function(t){return function(n){return t(n)+""}}(l[0].x):function(t){return function(){return t}}(n):(n=l.length,function(t){for(var e,r=0;r<n;++r)s[(e=l[r]).i]=e.x(t);return s.join("")})}},45326:function(t,n,e){"use strict";e.d(n,{Z:function(){return h}});var r=e(4447),i=e(6354),o=e(51606),u=e(56246),a=e(68063),c=e(58296),f=e(16773),s=e(22954),l=e(45401);function h(t,n){var e,h=typeof n;return null==n||"boolean"===h?(0,s.Z)(n):("number"===h?a.Z:"string"===h?(e=(0,r.ZP)(n))?(n=e,i.ZP):f.Z:n instanceof r.ZP?i.ZP:n instanceof Date?u.Z:(0,l.v)(n)?l.Z:Array.isArray(n)?o.M:"function"!==typeof n.valueOf&&"function"!==typeof n.toString||isNaN(n)?c.Z:a.Z)(t,n)}},69032:function(t,n,e){"use strict";function r(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function i(t,n){switch(arguments.length){case 0:break;case 1:"function"===typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"===typeof n?this.interpolator(n):this.range(n)}return this}e.r(n),e.d(n,{scaleBand:function(){return c},scaleDiverging:function(){return vn},scaleDivergingLog:function(){return yn},scaleDivergingPow:function(){return bn},scaleDivergingSqrt:function(){return _n},scaleDivergingSymlog:function(){return mn},scaleIdentity:function(){return H},scaleImplicit:function(){return u},scaleLinear:function(){return L},scaleLog:function(){return tt},scaleOrdinal:function(){return a},scalePoint:function(){return s},scalePow:function(){return ft},scaleQuantile:function(){return wt},scaleQuantize:function(){return xt},scaleRadial:function(){return ht},scaleSequential:function(){return cn},scaleSequentialLog:function(){return fn},scaleSequentialPow:function(){return ln},scaleSequentialQuantile:function(){return dn},scaleSequentialSqrt:function(){return hn},scaleSequentialSymlog:function(){return sn},scaleSqrt:function(){return st},scaleSymlog:function(){return it},scaleThreshold:function(){return Mt},scaleTime:function(){return rn},scaleUtc:function(){return on},tickFormat:function(){return $}});var o=e(909);const u=Symbol("implicit");function a(){var t=new o.L,n=[],e=[],i=u;function c(r){let o=t.get(r);if(void 0===o){if(i!==u)return i;t.set(r,o=n.push(r)-1)}return e[o%e.length]}return c.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new o.L;for(const r of e)t.has(r)||t.set(r,n.push(r)-1);return c},c.range=function(t){return arguments.length?(e=Array.from(t),c):e.slice()},c.unknown=function(t){return arguments.length?(i=t,c):i},c.copy=function(){return a(n,e).unknown(i)},r.apply(c,arguments),c}function c(){var t,n,e=a().unknown(void 0),i=e.domain,o=e.range,u=0,f=1,s=!1,l=0,h=0,d=.5;function p(){var e=i().length,r=f<u,a=r?f:u,c=r?u:f;t=(c-a)/Math.max(1,e-l+2*h),s&&(t=Math.floor(t)),a+=(c-a-t*(e-l))*d,n=t*(1-l),s&&(a=Math.round(a),n=Math.round(n));var p=function(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o}(e).map((function(n){return a+t*n}));return o(r?p.reverse():p)}return delete e.unknown,e.domain=function(t){return arguments.length?(i(t),p()):i()},e.range=function(t){return arguments.length?([u,f]=t,u=+u,f=+f,p()):[u,f]},e.rangeRound=function(t){return[u,f]=t,u=+u,f=+f,s=!0,p()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(s=!!t,p()):s},e.padding=function(t){return arguments.length?(l=Math.min(1,h=+t),p()):l},e.paddingInner=function(t){return arguments.length?(l=Math.min(1,t),p()):l},e.paddingOuter=function(t){return arguments.length?(h=+t,p()):h},e.align=function(t){return arguments.length?(d=Math.max(0,Math.min(1,t)),p()):d},e.copy=function(){return c(i(),[u,f]).round(s).paddingInner(l).paddingOuter(h).align(d)},r.apply(p(),arguments)}function f(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return f(n())},t}function s(){return f(c.apply(null,arguments).paddingInner(1))}var l=Math.sqrt(50),h=Math.sqrt(10),d=Math.sqrt(2);function p(t,n,e){var r,i,o,u,a=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(u=g(t,n,e))||!isFinite(u))return[];if(u>0){let e=Math.round(t/u),r=Math.round(n/u);for(e*u<t&&++e,r*u>n&&--r,o=new Array(i=r-e+1);++a<i;)o[a]=(e+a)*u}else{u=-u;let e=Math.round(t*u),r=Math.round(n*u);for(e/u<t&&++e,r/u>n&&--r,o=new Array(i=r-e+1);++a<i;)o[a]=(e+a)/u}return r&&o.reverse(),o}function g(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=l?10:o>=h?5:o>=d?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=l?10:o>=h?5:o>=d?2:1)}function v(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=l?i*=10:o>=h?i*=5:o>=d&&(i*=2),n<t?-i:i}function y(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function m(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function b(t){let n,e,r;function i(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{const n=i+o>>>1;e(t[n],r)<0?i=n+1:o=n}while(i<o)}return i}return 2!==t.length?(n=y,e=(n,e)=>y(t(n),e),r=(n,e)=>t(n)-e):(n=t===y||t===m?t:_,e=t,r=t),{left:i,center:function(t,n,e=0,o=t.length){const u=i(t,n,e,o-1);return u>e&&r(t[u-1],n)>-r(t[u],n)?u-1:u},right:function(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{const n=i+o>>>1;e(t[n],r)<=0?i=n+1:o=n}while(i<o)}return i}}}function _(){return 0}function w(t){return null===t?NaN:+t}const x=b(y),M=x.right;x.left,b(w).center;var T=M,S=e(45326),A=e(68063),k=e(64635);function N(t){return+t}var E=[0,1];function C(t){return t}function P(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:(e=isNaN(n)?NaN:.5,function(){return e});var e}function Z(t,n,e){var r=t[0],i=t[1],o=n[0],u=n[1];return i<r?(r=P(i,r),o=e(u,o)):(r=P(r,i),o=e(o,u)),function(t){return o(r(t))}}function D(t,n,e){var r=Math.min(t.length,n.length)-1,i=new Array(r),o=new Array(r),u=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++u<r;)i[u]=P(t[u],t[u+1]),o[u]=e(n[u],n[u+1]);return function(n){var e=T(t,n,1,r)-1;return o[e](i[e](n))}}function U(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function z(){var t,n,e,r,i,o,u=E,a=E,c=S.Z,f=C;function s(){var t=Math.min(u.length,a.length);return f!==C&&(f=function(t,n){var e;return t>n&&(e=t,t=n,n=e),function(e){return Math.max(t,Math.min(n,e))}}(u[0],u[t-1])),r=t>2?D:Z,i=o=null,l}function l(n){return null==n||isNaN(n=+n)?e:(i||(i=r(u.map(t),a,c)))(t(f(n)))}return l.invert=function(e){return f(n((o||(o=r(a,u.map(t),A.Z)))(e)))},l.domain=function(t){return arguments.length?(u=Array.from(t,N),s()):u.slice()},l.range=function(t){return arguments.length?(a=Array.from(t),s()):a.slice()},l.rangeRound=function(t){return a=Array.from(t),c=k.Z,s()},l.clamp=function(t){return arguments.length?(f=!!t||C,s()):f!==C},l.interpolate=function(t){return arguments.length?(c=t,s()):c},l.unknown=function(t){return arguments.length?(e=t,l):e},function(e,r){return t=e,n=r,s()}}function Y(){return z()(C,C)}var q=e(42035),F=e(87017),R=e(65386),O=e(63482),B=e(96909);function $(t,n,e,r){var i,o=v(t,n,e);switch((r=(0,q.Z)(null==r?",f":r)).type){case"s":var u=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(i=(0,F.Z)(o,u))||(r.precision=i),(0,R.jH)(r,u);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=(0,O.Z)(o,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=(0,B.Z)(o))||(r.precision=i-2*("%"===r.type))}return(0,R.WU)(r)}function I(t){var n=t.domain;return t.ticks=function(t){var e=n();return p(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return $(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,i,o=n(),u=0,a=o.length-1,c=o[u],f=o[a],s=10;for(f<c&&(i=c,c=f,f=i,i=u,u=a,a=i);s-- >0;){if((i=g(c,f,e))===r)return o[u]=c,o[a]=f,n(o);if(i>0)c=Math.floor(c/i)*i,f=Math.ceil(f/i)*i;else{if(!(i<0))break;c=Math.ceil(c*i)/i,f=Math.floor(f*i)/i}r=i}return t},t}function L(){var t=Y();return t.copy=function(){return U(t,L())},r.apply(t,arguments),I(t)}function H(t){var n;function e(t){return null==t||isNaN(t=+t)?n:t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=Array.from(n,N),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return H(t).unknown(n)},t=arguments.length?Array.from(t,N):[0,1],I(e)}function j(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],u=t[i];return u<o&&(e=r,r=i,i=e,e=o,o=u,u=e),t[r]=n.floor(o),t[i]=n.ceil(u),t}function W(t){return Math.log(t)}function X(t){return Math.exp(t)}function G(t){return-Math.log(-t)}function V(t){return-Math.exp(-t)}function Q(t){return isFinite(t)?+("1e"+t):t<0?0:t}function K(t){return(n,e)=>-t(-n,e)}function J(t){const n=t(W,X),e=n.domain;let r,i,o=10;function u(){return r=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)}(o),i=function(t){return 10===t?Q:t===Math.E?Math.exp:n=>Math.pow(t,n)}(o),e()[0]<0?(r=K(r),i=K(i),t(G,V)):t(W,X),n}return n.base=function(t){return arguments.length?(o=+t,u()):o},n.domain=function(t){return arguments.length?(e(t),u()):e()},n.ticks=t=>{const n=e();let u=n[0],a=n[n.length-1];const c=a<u;c&&([u,a]=[a,u]);let f,s,l=r(u),h=r(a);const d=null==t?10:+t;let g=[];if(!(o%1)&&h-l<d){if(l=Math.floor(l),h=Math.ceil(h),u>0){for(;l<=h;++l)for(f=1;f<o;++f)if(s=l<0?f/i(-l):f*i(l),!(s<u)){if(s>a)break;g.push(s)}}else for(;l<=h;++l)for(f=o-1;f>=1;--f)if(s=l>0?f/i(-l):f*i(l),!(s<u)){if(s>a)break;g.push(s)}2*g.length<d&&(g=p(u,a,d))}else g=p(l,h,Math.min(h-l,d)).map(i);return c?g.reverse():g},n.tickFormat=(t,e)=>{if(null==t&&(t=10),null==e&&(e=10===o?"s":","),"function"!==typeof e&&(o%1||null!=(e=(0,q.Z)(e)).precision||(e.trim=!0),e=(0,R.WU)(e)),t===1/0)return e;const u=Math.max(1,o*t/n.ticks().length);return t=>{let n=t/i(Math.round(r(t)));return n*o<o-.5&&(n*=o),n<=u?e(t):""}},n.nice=()=>e(j(e(),{floor:t=>i(Math.floor(r(t))),ceil:t=>i(Math.ceil(r(t)))})),n}function tt(){const t=J(z()).domain([1,10]);return t.copy=()=>U(t,tt()).base(t.base()),r.apply(t,arguments),t}function nt(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function et(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function rt(t){var n=1,e=t(nt(n),et(n));return e.constant=function(e){return arguments.length?t(nt(n=+e),et(n)):n},I(e)}function it(){var t=rt(z());return t.copy=function(){return U(t,it()).constant(t.constant())},r.apply(t,arguments)}function ot(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function ut(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function at(t){return t<0?-t*t:t*t}function ct(t){var n=t(C,C),e=1;return n.exponent=function(n){return arguments.length?1===(e=+n)?t(C,C):.5===e?t(ut,at):t(ot(e),ot(1/e)):e},I(n)}function ft(){var t=ct(z());return t.copy=function(){return U(t,ft()).exponent(t.exponent())},r.apply(t,arguments),t}function st(){return ft.apply(null,arguments).exponent(.5)}function lt(t){return Math.sign(t)*t*t}function ht(){var t,n=Y(),e=[0,1],i=!1;function o(e){var r=function(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}(n(e));return isNaN(r)?t:i?Math.round(r):r}return o.invert=function(t){return n.invert(lt(t))},o.domain=function(t){return arguments.length?(n.domain(t),o):n.domain()},o.range=function(t){return arguments.length?(n.range((e=Array.from(t,N)).map(lt)),o):e.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(i=!!t,o):i},o.clamp=function(t){return arguments.length?(n.clamp(t),o):n.clamp()},o.unknown=function(n){return arguments.length?(t=n,o):t},o.copy=function(){return ht(n.domain(),e).round(i).clamp(n.clamp()).unknown(t)},r.apply(o,arguments),I(o)}function dt(t,n){let e;if(void 0===n)for(const r of t)null!=r&&(e<r||void 0===e&&r>=r)&&(e=r);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e<i||void 0===e&&i>=i)&&(e=i)}return e}function pt(t,n){let e;if(void 0===n)for(const r of t)null!=r&&(e>r||void 0===e&&r>=r)&&(e=r);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e>i||void 0===e&&i>=i)&&(e=i)}return e}function gt(t=y){if(t===y)return vt;if("function"!==typeof t)throw new TypeError("compare is not a function");return(n,e)=>{const r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}function vt(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}function yt(t,n,e=0,r=t.length-1,i){for(i=void 0===i?vt:gt(i);r>e;){if(r-e>600){const o=r-e+1,u=n-e+1,a=Math.log(o),c=.5*Math.exp(2*a/3),f=.5*Math.sqrt(a*c*(o-c)/o)*(u-o/2<0?-1:1);yt(t,n,Math.max(e,Math.floor(n-u*c/o+f)),Math.min(r,Math.floor(n+(o-u)*c/o+f)),i)}const o=t[n];let u=e,a=r;for(mt(t,e,n),i(t[r],o)>0&&mt(t,e,r);u<a;){for(mt(t,u,a),++u,--a;i(t[u],o)<0;)++u;for(;i(t[a],o)>0;)--a}0===i(t[e],o)?mt(t,e,a):(++a,mt(t,a,r)),a<=n&&(e=a+1),n<=a&&(r=a-1)}return t}function mt(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function bt(t,n,e){if(t=Float64Array.from(function*(t,n){if(void 0===n)for(let e of t)null!=e&&(e=+e)>=e&&(yield e);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(r=+r)>=r&&(yield r)}}(t,e)),r=t.length){if((n=+n)<=0||r<2)return pt(t);if(n>=1)return dt(t);var r,i=(r-1)*n,o=Math.floor(i),u=dt(yt(t,o).subarray(0,o+1));return u+(pt(t.subarray(o+1))-u)*(i-o)}}function _t(t,n,e=w){if(r=t.length){if((n=+n)<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),u=+e(t[o],o,t);return u+(+e(t[o+1],o+1,t)-u)*(i-o)}}function wt(){var t,n=[],e=[],i=[];function o(){var t=0,r=Math.max(1,e.length);for(i=new Array(r-1);++t<r;)i[t-1]=_t(n,t/r);return u}function u(n){return null==n||isNaN(n=+n)?t:e[T(i,n)]}return u.invertExtent=function(t){var r=e.indexOf(t);return r<0?[NaN,NaN]:[r>0?i[r-1]:n[0],r<i.length?i[r]:n[n.length-1]]},u.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(y),o()},u.range=function(t){return arguments.length?(e=Array.from(t),o()):e.slice()},u.unknown=function(n){return arguments.length?(t=n,u):t},u.quantiles=function(){return i.slice()},u.copy=function(){return wt().domain(n).range(e).unknown(t)},r.apply(u,arguments)}function xt(){var t,n=0,e=1,i=1,o=[.5],u=[0,1];function a(n){return null!=n&&n<=n?u[T(o,n,0,i)]:t}function c(){var t=-1;for(o=new Array(i);++t<i;)o[t]=((t+1)*e-(t-i)*n)/(i+1);return a}return a.domain=function(t){return arguments.length?([n,e]=t,n=+n,e=+e,c()):[n,e]},a.range=function(t){return arguments.length?(i=(u=Array.from(t)).length-1,c()):u.slice()},a.invertExtent=function(t){var r=u.indexOf(t);return r<0?[NaN,NaN]:r<1?[n,o[0]]:r>=i?[o[i-1],e]:[o[r-1],o[r]]},a.unknown=function(n){return arguments.length?(t=n,a):a},a.thresholds=function(){return o.slice()},a.copy=function(){return xt().domain([n,e]).range(u).unknown(t)},r.apply(I(a),arguments)}function Mt(){var t,n=[.5],e=[0,1],i=1;function o(r){return null!=r&&r<=r?e[T(n,r,0,i)]:t}return o.domain=function(t){return arguments.length?(n=Array.from(t),i=Math.min(n.length,e.length-1),o):n.slice()},o.range=function(t){return arguments.length?(e=Array.from(t),i=Math.min(n.length,e.length-1),o):e.slice()},o.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},o.unknown=function(n){return arguments.length?(t=n,o):t},o.copy=function(){return Mt().domain(n).range(e).unknown(t)},r.apply(o,arguments)}var Tt=e(11262),St=e(52576),At=(0,St.Z)((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));At.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?(0,St.Z)((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):At:null};var kt=At,Nt=(At.range,(0,St.Z)((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*Tt.Ym)}),(function(t,n){return(n-t)/Tt.Ym}),(function(t){return t.getUTCSeconds()}))),Et=Nt,Ct=(Nt.range,(0,St.Z)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Tt.Ym)}),(function(t,n){t.setTime(+t+n*Tt.yB)}),(function(t,n){return(n-t)/Tt.yB}),(function(t){return t.getMinutes()}))),Pt=Ct,Zt=(Ct.range,(0,St.Z)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Tt.Ym-t.getMinutes()*Tt.yB)}),(function(t,n){t.setTime(+t+n*Tt.Y2)}),(function(t,n){return(n-t)/Tt.Y2}),(function(t){return t.getHours()}))),Dt=Zt,Ut=(Zt.range,e(96199)),zt=e(85235),Yt=(0,St.Z)((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()})),qt=Yt,Ft=(Yt.range,e(38887)),Rt=(0,St.Z)((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*Tt.yB)}),(function(t,n){return(n-t)/Tt.yB}),(function(t){return t.getUTCMinutes()})),Ot=Rt,Bt=(Rt.range,(0,St.Z)((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*Tt.Y2)}),(function(t,n){return(n-t)/Tt.Y2}),(function(t){return t.getUTCHours()}))),$t=Bt,It=(Bt.range,e(74834)),Lt=e(81416),Ht=(0,St.Z)((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCMonth(t.getUTCMonth()+n)}),(function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()})),jt=Ht,Wt=(Ht.range,e(69935));function Xt(t,n,e,r,i,o){const u=[[Et,1,Tt.Ym],[Et,5,5*Tt.Ym],[Et,15,15*Tt.Ym],[Et,30,30*Tt.Ym],[o,1,Tt.yB],[o,5,5*Tt.yB],[o,15,15*Tt.yB],[o,30,30*Tt.yB],[i,1,Tt.Y2],[i,3,3*Tt.Y2],[i,6,6*Tt.Y2],[i,12,12*Tt.Y2],[r,1,Tt.UD],[r,2,2*Tt.UD],[e,1,Tt.iM],[n,1,Tt.jz],[n,3,3*Tt.jz],[t,1,Tt.qz]];function a(n,e,r){const i=Math.abs(e-n)/r,o=b((([,,t])=>t)).right(u,i);if(o===u.length)return t.every(v(n/Tt.qz,e/Tt.qz,r));if(0===o)return kt.every(Math.max(v(n,e,r),1));const[a,c]=u[i/u[o-1][2]<u[o][2]/i?o-1:o];return a.every(c)}return[function(t,n,e){const r=n<t;r&&([t,n]=[n,t]);const i=e&&"function"===typeof e.range?e:a(t,n,e),o=i?i.range(t,+n+1):[];return r?o.reverse():o},a]}const[Gt,Vt]=Xt(Wt.Z,jt,Lt.Ox,It.Z,$t,Ot),[Qt,Kt]=Xt(Ft.Z,qt,zt.OM,Ut.Z,Dt,Pt);var Jt=e(82138);function tn(t){return new Date(t)}function nn(t){return t instanceof Date?+t:+new Date(+t)}function en(t,n,e,r,i,o,u,a,c,f){var s=Y(),l=s.invert,h=s.domain,d=f(".%L"),p=f(":%S"),g=f("%I:%M"),v=f("%I %p"),y=f("%a %d"),m=f("%b %d"),b=f("%B"),_=f("%Y");function w(t){return(c(t)<t?d:a(t)<t?p:u(t)<t?g:o(t)<t?v:r(t)<t?i(t)<t?y:m:e(t)<t?b:_)(t)}return s.invert=function(t){return new Date(l(t))},s.domain=function(t){return arguments.length?h(Array.from(t,nn)):h().map(tn)},s.ticks=function(n){var e=h();return t(e[0],e[e.length-1],null==n?10:n)},s.tickFormat=function(t,n){return null==n?w:f(n)},s.nice=function(t){var e=h();return t&&"function"===typeof t.range||(t=n(e[0],e[e.length-1],null==t?10:t)),t?h(j(e,t)):s},s.copy=function(){return U(s,en(t,n,e,r,i,o,u,a,c,f))},s}function rn(){return r.apply(en(Qt,Kt,Ft.Z,qt,zt.OM,Ut.Z,Dt,Pt,Et,Jt.i$).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function on(){return r.apply(en(Gt,Vt,Wt.Z,jt,Lt.Ox,It.Z,$t,Ot,Et,Jt.g0).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function un(){var t,n,e,r,i,o=0,u=1,a=C,c=!1;function f(n){return null==n||isNaN(n=+n)?i:a(0===e?.5:(n=(r(n)-t)*e,c?Math.max(0,Math.min(1,n)):n))}function s(t){return function(n){var e,r;return arguments.length?([e,r]=n,a=t(e,r),f):[a(0),a(1)]}}return f.domain=function(i){return arguments.length?([o,u]=i,t=r(o=+o),n=r(u=+u),e=t===n?0:1/(n-t),f):[o,u]},f.clamp=function(t){return arguments.length?(c=!!t,f):c},f.interpolator=function(t){return arguments.length?(a=t,f):a},f.range=s(S.Z),f.rangeRound=s(k.Z),f.unknown=function(t){return arguments.length?(i=t,f):i},function(i){return r=i,t=i(o),n=i(u),e=t===n?0:1/(n-t),f}}function an(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function cn(){var t=I(un()(C));return t.copy=function(){return an(t,cn())},i.apply(t,arguments)}function fn(){var t=J(un()).domain([1,10]);return t.copy=function(){return an(t,fn()).base(t.base())},i.apply(t,arguments)}function sn(){var t=rt(un());return t.copy=function(){return an(t,sn()).constant(t.constant())},i.apply(t,arguments)}function ln(){var t=ct(un());return t.copy=function(){return an(t,ln()).exponent(t.exponent())},i.apply(t,arguments)}function hn(){return ln.apply(null,arguments).exponent(.5)}function dn(){var t=[],n=C;function e(e){if(null!=e&&!isNaN(e=+e))return n((T(t,e,1)-1)/(t.length-1))}return e.domain=function(n){if(!arguments.length)return t.slice();t=[];for(let e of n)null==e||isNaN(e=+e)||t.push(e);return t.sort(y),e},e.interpolator=function(t){return arguments.length?(n=t,e):n},e.range=function(){return t.map(((e,r)=>n(r/(t.length-1))))},e.quantiles=function(n){return Array.from({length:n+1},((e,r)=>bt(t,r/n)))},e.copy=function(){return dn(n).domain(t)},i.apply(e,arguments)}var pn=e(19640);function gn(){var t,n,e,r,i,o,u,a=0,c=.5,f=1,s=1,l=C,h=!1;function d(t){return isNaN(t=+t)?u:(t=.5+((t=+o(t))-n)*(s*t<s*n?r:i),l(h?Math.max(0,Math.min(1,t)):t))}function p(t){return function(n){var e,r,i;return arguments.length?([e,r,i]=n,l=(0,pn.Z)(t,[e,r,i]),d):[l(0),l(.5),l(1)]}}return d.domain=function(u){return arguments.length?([a,c,f]=u,t=o(a=+a),n=o(c=+c),e=o(f=+f),r=t===n?0:.5/(n-t),i=n===e?0:.5/(e-n),s=n<t?-1:1,d):[a,c,f]},d.clamp=function(t){return arguments.length?(h=!!t,d):h},d.interpolator=function(t){return arguments.length?(l=t,d):l},d.range=p(S.Z),d.rangeRound=p(k.Z),d.unknown=function(t){return arguments.length?(u=t,d):u},function(u){return o=u,t=u(a),n=u(c),e=u(f),r=t===n?0:.5/(n-t),i=n===e?0:.5/(e-n),s=n<t?-1:1,d}}function vn(){var t=I(gn()(C));return t.copy=function(){return an(t,vn())},i.apply(t,arguments)}function yn(){var t=J(gn()).domain([.1,1,10]);return t.copy=function(){return an(t,yn()).base(t.base())},i.apply(t,arguments)}function mn(){var t=rt(gn());return t.copy=function(){return an(t,mn()).constant(t.constant())},i.apply(t,arguments)}function bn(){var t=ct(gn());return t.copy=function(){return an(t,bn()).exponent(t.exponent())},i.apply(t,arguments)}function _n(){return bn.apply(null,arguments).exponent(.5)}},82138:function(t,n,e){"use strict";e.d(n,{Z1:function(){return o},ZP:function(){return f},g0:function(){return u},i$:function(){return i},wp:function(){return a}});var r,i,o,u,a,c=e(47238);function f(t){return r=(0,c.Z)(t),i=r.format,o=r.parse,u=r.utcFormat,a=r.utcParse,r}f({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},47238:function(t,n,e){"use strict";e.d(n,{Z:function(){return h}});var r=e(81416),i=e(74834),o=e(85235),u=e(96199),a=e(38887),c=e(69935);function f(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function s(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function l(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}function h(t){var n=t.dateTime,e=t.date,a=t.time,c=t.periods,h=t.days,p=t.shortDays,g=t.months,v=t.shortMonths,y=b(c),m=_(c),K=b(h),mt=_(h),Ct=b(p),Pt=_(p),Zt=b(g),Dt=_(g),Ut=b(v),zt=_(v),Yt={a:function(t){return p[t.getDay()]},A:function(t){return h[t.getDay()]},b:function(t){return v[t.getMonth()]},B:function(t){return g[t.getMonth()]},c:null,d:B,e:B,f:j,g:rt,G:ot,H:$,I:I,j:L,L:H,m:W,M:X,p:function(t){return c[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Nt,s:Et,S:G,u:V,U:Q,V:J,w:tt,W:nt,x:null,X:null,y:et,Y:it,Z:ut,"%":kt},qt={a:function(t){return p[t.getUTCDay()]},A:function(t){return h[t.getUTCDay()]},b:function(t){return v[t.getUTCMonth()]},B:function(t){return g[t.getUTCMonth()]},c:null,d:at,e:at,f:ht,g:Mt,G:St,H:ct,I:ft,j:st,L:lt,m:dt,M:pt,p:function(t){return c[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Nt,s:Et,S:gt,u:vt,U:yt,V:bt,w:_t,W:wt,x:null,X:null,y:xt,Y:Tt,Z:At,"%":kt},Ft={a:function(t,n,e){var r=Ct.exec(n.slice(e));return r?(t.w=Pt.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=K.exec(n.slice(e));return r?(t.w=mt.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(t,n,e){var r=Ut.exec(n.slice(e));return r?(t.m=zt.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(t,n,e){var r=Zt.exec(n.slice(e));return r?(t.m=Dt.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(t,e,r){return Bt(t,n,e,r)},d:P,e:P,f:q,g:k,G:A,H:D,I:D,j:Z,L:Y,m:C,M:U,p:function(t,n,e){var r=y.exec(n.slice(e));return r?(t.p=m.get(r[0].toLowerCase()),e+r[0].length):-1},q:E,Q:R,s:O,S:z,u:x,U:M,V:T,w:w,W:S,x:function(t,n,r){return Bt(t,e,n,r)},X:function(t,n,e){return Bt(t,a,n,e)},y:k,Y:A,Z:N,"%":F};function Rt(t,n){return function(e){var r,i,o,u=[],a=-1,c=0,f=t.length;for(e instanceof Date||(e=new Date(+e));++a<f;)37===t.charCodeAt(a)&&(u.push(t.slice(c,a)),null!=(i=d[r=t.charAt(++a)])?r=t.charAt(++a):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),u.push(r),c=a+1);return u.push(t.slice(c,a)),u.join("")}}function Ot(t,n){return function(e){var a,c,h=l(1900,void 0,1);if(Bt(h,t,e+="",0)!=e.length)return null;if("Q"in h)return new Date(h.Q);if("s"in h)return new Date(1e3*h.s+("L"in h?h.L:0));if(n&&!("Z"in h)&&(h.Z=0),"p"in h&&(h.H=h.H%12+12*h.p),void 0===h.m&&(h.m="q"in h?h.q:0),"V"in h){if(h.V<1||h.V>53)return null;"w"in h||(h.w=1),"Z"in h?(c=(a=s(l(h.y,0,1))).getUTCDay(),a=c>4||0===c?r.l6.ceil(a):(0,r.l6)(a),a=i.Z.offset(a,7*(h.V-1)),h.y=a.getUTCFullYear(),h.m=a.getUTCMonth(),h.d=a.getUTCDate()+(h.w+6)%7):(c=(a=f(l(h.y,0,1))).getDay(),a=c>4||0===c?o.wA.ceil(a):(0,o.wA)(a),a=u.Z.offset(a,7*(h.V-1)),h.y=a.getFullYear(),h.m=a.getMonth(),h.d=a.getDate()+(h.w+6)%7)}else("W"in h||"U"in h)&&("w"in h||(h.w="u"in h?h.u%7:"W"in h?1:0),c="Z"in h?s(l(h.y,0,1)).getUTCDay():f(l(h.y,0,1)).getDay(),h.m=0,h.d="W"in h?(h.w+6)%7+7*h.W-(c+5)%7:h.w+7*h.U-(c+6)%7);return"Z"in h?(h.H+=h.Z/100|0,h.M+=h.Z%100,s(h)):f(h)}}function Bt(t,n,e,r){for(var i,o,u=0,a=n.length,c=e.length;u<a;){if(r>=c)return-1;if(37===(i=n.charCodeAt(u++))){if(i=n.charAt(u++),!(o=Ft[i in d?n.charAt(u++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return Yt.x=Rt(e,Yt),Yt.X=Rt(a,Yt),Yt.c=Rt(n,Yt),qt.x=Rt(e,qt),qt.X=Rt(a,qt),qt.c=Rt(n,qt),{format:function(t){var n=Rt(t+="",Yt);return n.toString=function(){return t},n},parse:function(t){var n=Ot(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=Rt(t+="",qt);return n.toString=function(){return t},n},utcParse:function(t){var n=Ot(t+="",!0);return n.toString=function(){return t},n}}}var d={"-":"",_:" ",0:"0"},p=/^\s*\d+/,g=/^%/,v=/[\\^$*+?|[\]().{}]/g;function y(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<e?new Array(e-o+1).join(n)+i:i)}function m(t){return t.replace(v,"\\$&")}function b(t){return new RegExp("^(?:"+t.map(m).join("|")+")","i")}function _(t){return new Map(t.map(((t,n)=>[t.toLowerCase(),n])))}function w(t,n,e){var r=p.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function x(t,n,e){var r=p.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function M(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function T(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function S(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function A(t,n,e){var r=p.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function k(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function N(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function E(t,n,e){var r=p.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function C(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function P(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Z(t,n,e){var r=p.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function D(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function U(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function z(t,n,e){var r=p.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function Y(t,n,e){var r=p.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function q(t,n,e){var r=p.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function F(t,n,e){var r=g.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function R(t,n,e){var r=p.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function O(t,n,e){var r=p.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function B(t,n){return y(t.getDate(),n,2)}function $(t,n){return y(t.getHours(),n,2)}function I(t,n){return y(t.getHours()%12||12,n,2)}function L(t,n){return y(1+u.Z.count((0,a.Z)(t),t),n,3)}function H(t,n){return y(t.getMilliseconds(),n,3)}function j(t,n){return H(t,n)+"000"}function W(t,n){return y(t.getMonth()+1,n,2)}function X(t,n){return y(t.getMinutes(),n,2)}function G(t,n){return y(t.getSeconds(),n,2)}function V(t){var n=t.getDay();return 0===n?7:n}function Q(t,n){return y(o.OM.count((0,a.Z)(t)-1,t),n,2)}function K(t){var n=t.getDay();return n>=4||0===n?(0,o.bL)(t):o.bL.ceil(t)}function J(t,n){return t=K(t),y(o.bL.count((0,a.Z)(t),t)+(4===(0,a.Z)(t).getDay()),n,2)}function tt(t){return t.getDay()}function nt(t,n){return y(o.wA.count((0,a.Z)(t)-1,t),n,2)}function et(t,n){return y(t.getFullYear()%100,n,2)}function rt(t,n){return y((t=K(t)).getFullYear()%100,n,2)}function it(t,n){return y(t.getFullYear()%1e4,n,4)}function ot(t,n){var e=t.getDay();return y((t=e>=4||0===e?(0,o.bL)(t):o.bL.ceil(t)).getFullYear()%1e4,n,4)}function ut(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+y(n/60|0,"0",2)+y(n%60,"0",2)}function at(t,n){return y(t.getUTCDate(),n,2)}function ct(t,n){return y(t.getUTCHours(),n,2)}function ft(t,n){return y(t.getUTCHours()%12||12,n,2)}function st(t,n){return y(1+i.Z.count((0,c.Z)(t),t),n,3)}function lt(t,n){return y(t.getUTCMilliseconds(),n,3)}function ht(t,n){return lt(t,n)+"000"}function dt(t,n){return y(t.getUTCMonth()+1,n,2)}function pt(t,n){return y(t.getUTCMinutes(),n,2)}function gt(t,n){return y(t.getUTCSeconds(),n,2)}function vt(t){var n=t.getUTCDay();return 0===n?7:n}function yt(t,n){return y(r.Ox.count((0,c.Z)(t)-1,t),n,2)}function mt(t){var n=t.getUTCDay();return n>=4||0===n?(0,r.hB)(t):r.hB.ceil(t)}function bt(t,n){return t=mt(t),y(r.hB.count((0,c.Z)(t),t)+(4===(0,c.Z)(t).getUTCDay()),n,2)}function _t(t){return t.getUTCDay()}function wt(t,n){return y(r.l6.count((0,c.Z)(t)-1,t),n,2)}function xt(t,n){return y(t.getUTCFullYear()%100,n,2)}function Mt(t,n){return y((t=mt(t)).getUTCFullYear()%100,n,2)}function Tt(t,n){return y(t.getUTCFullYear()%1e4,n,4)}function St(t,n){var e=t.getUTCDay();return y((t=e>=4||0===e?(0,r.hB)(t):r.hB.ceil(t)).getUTCFullYear()%1e4,n,4)}function At(){return"+0000"}function kt(){return"%"}function Nt(t){return+t}function Et(t){return Math.floor(+t/1e3)}},96199:function(t,n,e){"use strict";var r=e(52576),i=e(11262),o=(0,r.Z)((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*i.yB)/i.UD),(t=>t.getDate()-1));n.Z=o;o.range},11262:function(t,n,e){"use strict";e.d(n,{UD:function(){return u},Y2:function(){return o},Ym:function(){return r},iM:function(){return a},jz:function(){return c},qz:function(){return f},yB:function(){return i}});const r=1e3,i=60*r,o=60*i,u=24*o,a=7*u,c=30*u,f=365*u},52576:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=new Date,i=new Date;function o(t,n,e,u){function a(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return a.floor=function(n){return t(n=new Date(+n)),n},a.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},a.round=function(t){var n=a(t),e=a.ceil(t);return t-n<e-t?n:e},a.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},a.range=function(e,r,i){var o,u=[];if(e=a.ceil(e),i=null==i?1:Math.floor(i),!(e<r)||!(i>0))return u;do{u.push(o=new Date(+e)),n(e,i),t(e)}while(o<e&&e<r);return u},a.filter=function(e){return o((function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}))},e&&(a.count=function(n,o){return r.setTime(+n),i.setTime(+o),t(r),t(i),Math.floor(e(r,i))},a.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?a.filter(u?function(n){return u(n)%t===0}:function(n){return a.count(0,n)%t===0}):a:null}),a}},74834:function(t,n,e){"use strict";var r=e(52576),i=e(11262),o=(0,r.Z)((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/i.UD}),(function(t){return t.getUTCDate()-1}));n.Z=o;o.range},81416:function(t,n,e){"use strict";e.d(n,{Ox:function(){return u},hB:function(){return s},l6:function(){return a}});var r=e(52576),i=e(11262);function o(t){return(0,r.Z)((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/i.iM}))}var u=o(0),a=o(1),c=o(2),f=o(3),s=o(4),l=o(5),h=o(6);u.range,a.range,c.range,f.range,s.range,l.range,h.range},69935:function(t,n,e){"use strict";var r=e(52576),i=(0,r.Z)((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?(0,r.Z)((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null},n.Z=i;i.range},85235:function(t,n,e){"use strict";e.d(n,{OM:function(){return u},bL:function(){return s},wA:function(){return a}});var r=e(52576),i=e(11262);function o(t){return(0,r.Z)((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*i.yB)/i.iM}))}var u=o(0),a=o(1),c=o(2),f=o(3),s=o(4),l=o(5),h=o(6);u.range,a.range,c.range,f.range,s.range,l.range,h.range},38887:function(t,n,e){"use strict";var r=e(52576),i=(0,r.Z)((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?(0,r.Z)((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null},n.Z=i;i.range},36358:function(t,n,e){"use strict";function r(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function i(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function o(t){let n,e,o;function a(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{const n=i+o>>>1;e(t[n],r)<0?i=n+1:o=n}while(i<o)}return i}return 2!==t.length?(n=r,e=(n,e)=>r(t(n),e),o=(n,e)=>t(n)-e):(n=t===r||t===i?t:u,e=t,o=t),{left:a,center:function(t,n,e=0,r=t.length){const i=a(t,n,e,r-1);return i>e&&o(t[i-1],n)>-o(t[i],n)?i-1:i},right:function(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{const n=i+o>>>1;e(t[n],r)<=0?i=n+1:o=n}while(i<o)}return i}}}function u(){return 0}function a(t){return null===t?NaN:+t}function*c(t,n){if(void 0===n)for(let e of t)null!=e&&(e=+e)>=e&&(yield e);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(r=+r)>=r&&(yield r)}}e.r(n),e.d(n,{Adder:function(){return C},Delaunay:function(){return Ju},FormatSpecifier:function(){return vf.v},InternMap:function(){return D.L},InternSet:function(){return D.H},Node:function(){return Dp},Path:function(){return co},Voronoi:function(){return Wu},ZoomTransform:function(){return Mx},active:function(){return di},arc:function(){return zm},area:function(){return Im},areaRadial:function(){return Km},ascending:function(){return r},autoType:function(){return Da},axisBottom:function(){return vn},axisLeft:function(){return yn},axisRight:function(){return gn},axisTop:function(){return pn},bin:function(){return ft},bisect:function(){return d},bisectCenter:function(){return h},bisectLeft:function(){return l},bisectRight:function(){return s},bisector:function(){return o},blob:function(){return xc},blur:function(){return p},blur2:function(){return g},blurImage:function(){return v},brush:function(){return $i},brushSelection:function(){return Ri},brushX:function(){return Oi},brushY:function(){return Bi},buffer:function(){return Tc},chord:function(){return Ji},chordDirected:function(){return no},chordTranspose:function(){return to},cluster:function(){return Ap},color:function(){return Fr.ZP},contourDensity:function(){return Zu},contours:function(){return mu},count:function(){return w},create:function(){return fm},creator:function(){return Me},cross:function(){return S},csv:function(){return Ec},csvFormat:function(){return _a},csvFormatBody:function(){return wa},csvFormatRow:function(){return Ma},csvFormatRows:function(){return xa},csvFormatValue:function(){return Ta},csvParse:function(){return ma},csvParseRows:function(){return ba},cubehelix:function(){return nu},cumsum:function(){return A},curveBasis:function(){return $b},curveBasisClosed:function(){return Lb},curveBasisOpen:function(){return jb},curveBumpX:function(){return eb},curveBumpY:function(){return rb},curveBundle:function(){return Xb},curveCardinal:function(){return Qb},curveCardinalClosed:function(){return Jb},curveCardinalOpen:function(){return n_},curveCatmullRom:function(){return i_},curveCatmullRomClosed:function(){return u_},curveCatmullRomOpen:function(){return c_},curveLinear:function(){return Rm},curveLinearClosed:function(){return s_},curveMonotoneX:function(){return m_},curveMonotoneY:function(){return b_},curveNatural:function(){return x_},curveStep:function(){return T_},curveStepAfter:function(){return A_},curveStepBefore:function(){return S_},descending:function(){return i},deviation:function(){return N},difference:function(){return Wt},disjoint:function(){return Xt},dispatch:function(){return Mn},drag:function(){return ua},dragDisable:function(){return $e},dragEnable:function(){return Ie},dsv:function(){return Nc},dsvFormat:function(){return va},easeBack:function(){return vc},easeBackIn:function(){return pc},easeBackInOut:function(){return vc},easeBackOut:function(){return gc},easeBounce:function(){return lc},easeBounceIn:function(){return sc},easeBounceInOut:function(){return hc},easeBounceOut:function(){return lc},easeCircle:function(){return Ja},easeCircleIn:function(){return Qa},easeCircleInOut:function(){return Ja},easeCircleOut:function(){return Ka},easeCubic:function(){return fi},easeCubicIn:function(){return ai},easeCubicInOut:function(){return fi},easeCubicOut:function(){return ci},easeElastic:function(){return bc},easeElasticIn:function(){return mc},easeElasticInOut:function(){return _c},easeElasticOut:function(){return bc},easeExp:function(){return Va},easeExpIn:function(){return Xa},easeExpInOut:function(){return Va},easeExpOut:function(){return Ga},easeLinear:function(){return za},easePoly:function(){return Ba},easePolyIn:function(){return Ra},easePolyInOut:function(){return Ba},easePolyOut:function(){return Oa},easeQuad:function(){return Fa},easeQuadIn:function(){return Ya},easeQuadInOut:function(){return Fa},easeQuadOut:function(){return qa},easeSin:function(){return ja},easeSinIn:function(){return La},easeSinInOut:function(){return ja},easeSinOut:function(){return Ha},every:function(){return Bt},extent:function(){return E},fcumsum:function(){return Z},filter:function(){return It},flatGroup:function(){return F},flatRollup:function(){return R},forceCenter:function(){return Fc},forceCollide:function(){return Qc},forceLink:function(){return tf},forceManyBody:function(){return sf},forceRadial:function(){return lf},forceSimulation:function(){return ff},forceX:function(){return hf},forceY:function(){return df},format:function(){return pf.WU},formatDefaultLocale:function(){return pf.ZP},formatLocale:function(){return gf.Z},formatPrefix:function(){return pf.jH},formatSpecifier:function(){return vf.Z},fsum:function(){return P},geoAlbers:function(){return Bd},geoAlbersUsa:function(){return $d},geoArea:function(){return ws},geoAzimuthalEqualArea:function(){return jd},geoAzimuthalEqualAreaRaw:function(){return Hd},geoAzimuthalEquidistant:function(){return Xd},geoAzimuthalEquidistantRaw:function(){return Wd},geoBounds:function(){return el},geoCentroid:function(){return pl},geoCircle:function(){return Sl},geoClipAntimeridian:function(){return ql},geoClipCircle:function(){return Fl},geoClipExtent:function(){return jl},geoClipRectangle:function(){return Hl},geoConicConformal:function(){return tp},geoConicConformalRaw:function(){return Jd},geoConicEqualArea:function(){return Od},geoConicEqualAreaRaw:function(){return Rd},geoConicEquidistant:function(){return ip},geoConicEquidistantRaw:function(){return rp},geoContains:function(){return fh},geoDistance:function(){return th},geoEqualEarth:function(){return lp},geoEqualEarthRaw:function(){return sp},geoEquirectangular:function(){return ep},geoEquirectangularRaw:function(){return np},geoGnomonic:function(){return dp},geoGnomonicRaw:function(){return hp},geoGraticule:function(){return dh},geoGraticule10:function(){return ph},geoIdentity:function(){return pp},geoInterpolate:function(){return gh},geoLength:function(){return Ql},geoMercator:function(){return Vd},geoMercatorRaw:function(){return Gd},geoNaturalEarth1:function(){return vp},geoNaturalEarth1Raw:function(){return gp},geoOrthographic:function(){return mp},geoOrthographicRaw:function(){return yp},geoPath:function(){return xd},geoProjection:function(){return Yd},geoProjectionMutator:function(){return qd},geoRotation:function(){return xl},geoStereographic:function(){return _p},geoStereographicRaw:function(){return bp},geoStream:function(){return Qf},geoTransform:function(){return Md},geoTransverseMercator:function(){return xp},geoTransverseMercatorRaw:function(){return wp},gray:function(){return zo},greatest:function(){return vt},greatestIndex:function(){return Dt},group:function(){return z},groupSort:function(){return V},groups:function(){return Y},hcl:function(){return Lo},hierarchy:function(){return Np},histogram:function(){return ft},hsl:function(){return Fr.Ym},html:function(){return Yc},image:function(){return Pc},index:function(){return $},indexes:function(){return I},interpolate:function(){return Le.Z},interpolateArray:function(){return Ug.Z},interpolateBasis:function(){return zg.Z},interpolateBasisClosed:function(){return Yg.Z},interpolateBlues:function(){return Yy},interpolateBrBG:function(){return Xv},interpolateBuGn:function(){return hy},interpolateBuPu:function(){return py},interpolateCividis:function(){return Wy},interpolateCool:function(){return Vy},interpolateCubehelix:function(){return tv},interpolateCubehelixDefault:function(){return Xy},interpolateCubehelixLong:function(){return nv},interpolateDate:function(){return qg.Z},interpolateDiscrete:function(){return Fg},interpolateGnBu:function(){return vy},interpolateGreens:function(){return Fy},interpolateGreys:function(){return Oy},interpolateHcl:function(){return Qg},interpolateHclLong:function(){return Kg},interpolateHsl:function(){return Wg},interpolateHslLong:function(){return Xg},interpolateHue:function(){return Og},interpolateInferno:function(){return am},interpolateLab:function(){return Gg},interpolateMagma:function(){return um},interpolateNumber:function(){return Nr.Z},interpolateNumberArray:function(){return Bg.Z},interpolateObject:function(){return $g.Z},interpolateOrRd:function(){return my},interpolateOranges:function(){return jy},interpolatePRGn:function(){return Vv},interpolatePiYG:function(){return Kv},interpolatePlasma:function(){return cm},interpolatePuBu:function(){return xy},interpolatePuBuGn:function(){return _y},interpolatePuOr:function(){return ty},interpolatePuRd:function(){return Ty},interpolatePurples:function(){return $y},interpolateRainbow:function(){return Ky},interpolateRdBu:function(){return ey},interpolateRdGy:function(){return iy},interpolateRdPu:function(){return Ay},interpolateRdYlBu:function(){return uy},interpolateRdYlGn:function(){return cy},interpolateReds:function(){return Ly},interpolateRgb:function(){return Rr.ZP},interpolateRgbBasis:function(){return Rr.hD},interpolateRgbBasisClosed:function(){return Rr.YD},interpolateRound:function(){return Ig.Z},interpolateSinebow:function(){return em},interpolateSpectral:function(){return sy},interpolateString:function(){return Or.Z},interpolateTransformCss:function(){return Dr},interpolateTransformSvg:function(){return Ur},interpolateTurbo:function(){return rm},interpolateViridis:function(){return om},interpolateWarm:function(){return Gy},interpolateYlGn:function(){return Cy},interpolateYlGnBu:function(){return Ny},interpolateYlOrBr:function(){return Zy},interpolateYlOrRd:function(){return Uy},interpolateZoom:function(){return Hg},interrupt:function(){return Ar},intersection:function(){return Gt},interval:function(){return _x},isoFormat:function(){return yx},isoParse:function(){return bx},json:function(){return Dc},lab:function(){return Yo},lch:function(){return Io},least:function(){return Pt},leastIndex:function(){return Zt},line:function(){return $m},lineRadial:function(){return Qm},link:function(){return ab},linkHorizontal:function(){return cb},linkRadial:function(){return sb},linkVertical:function(){return fb},local:function(){return lm},map:function(){return Lt},matcher:function(){return En},max:function(){return st},maxIndex:function(){return lt},mean:function(){return xt},median:function(){return Mt},medianIndex:function(){return Tt},merge:function(){return St},min:function(){return ht},minIndex:function(){return dt},mode:function(){return At},namespace:function(){return Ln},namespaces:function(){return In},nice:function(){return at},now:function(){return ir},pack:function(){return ig},packEnclose:function(){return $p},packSiblings:function(){return eg},pairs:function(){return kt},partition:function(){return sg},path:function(){return fo},pathRound:function(){return so},permute:function(){return j},pie:function(){return jm},piecewise:function(){return ev.Z},pointRadial:function(){return Jm},pointer:function(){return je},pointers:function(){return dm},polygonArea:function(){return iv},polygonCentroid:function(){return ov},polygonContains:function(){return sv},polygonHull:function(){return fv},polygonLength:function(){return lv},precisionFixed:function(){return yf.Z},precisionPrefix:function(){return mf.Z},precisionRound:function(){return bf.Z},quadtree:function(){return Ic},quantile:function(){return yt},quantileIndex:function(){return bt},quantileSorted:function(){return mt},quantize:function(){return rv},quickselect:function(){return pt},radialArea:function(){return Km},radialLine:function(){return Qm},randomBates:function(){return mv},randomBernoulli:function(){return wv},randomBeta:function(){return Tv},randomBinomial:function(){return Sv},randomCauchy:function(){return kv},randomExponential:function(){return bv},randomGamma:function(){return Mv},randomGeometric:function(){return xv},randomInt:function(){return pv},randomIrwinHall:function(){return yv},randomLcg:function(){return Dv},randomLogNormal:function(){return vv},randomLogistic:function(){return Nv},randomNormal:function(){return gv},randomPareto:function(){return _v},randomPoisson:function(){return Ev},randomUniform:function(){return dv},randomWeibull:function(){return Av},range:function(){return Et},rank:function(){return Ct},reduce:function(){return Ht},reverse:function(){return jt},rgb:function(){return Fr.B8},ribbon:function(){return xo},ribbonArrow:function(){return Mo},rollup:function(){return O},rollups:function(){return B},scaleBand:function(){return Uv.scaleBand},scaleDiverging:function(){return Uv.scaleDiverging},scaleDivergingLog:function(){return Uv.scaleDivergingLog},scaleDivergingPow:function(){return Uv.scaleDivergingPow},scaleDivergingSqrt:function(){return Uv.scaleDivergingSqrt},scaleDivergingSymlog:function(){return Uv.scaleDivergingSymlog},scaleIdentity:function(){return Uv.scaleIdentity},scaleImplicit:function(){return Uv.scaleImplicit},scaleLinear:function(){return Uv.scaleLinear},scaleLog:function(){return Uv.scaleLog},scaleOrdinal:function(){return Uv.scaleOrdinal},scalePoint:function(){return Uv.scalePoint},scalePow:function(){return Uv.scalePow},scaleQuantile:function(){return Uv.scaleQuantile},scaleQuantize:function(){return Uv.scaleQuantize},scaleRadial:function(){return Uv.scaleRadial},scaleSequential:function(){return Uv.scaleSequential},scaleSequentialLog:function(){return Uv.scaleSequentialLog},scaleSequentialPow:function(){return Uv.scaleSequentialPow},scaleSequentialQuantile:function(){return Uv.scaleSequentialQuantile},scaleSequentialSqrt:function(){return Uv.scaleSequentialSqrt},scaleSequentialSymlog:function(){return Uv.scaleSequentialSymlog},scaleSqrt:function(){return Uv.scaleSqrt},scaleSymlog:function(){return Uv.scaleSymlog},scaleThreshold:function(){return Uv.scaleThreshold},scaleTime:function(){return Uv.scaleTime},scaleUtc:function(){return Uv.scaleUtc},scan:function(){return Ut},schemeAccent:function(){return qv},schemeBlues:function(){return zy},schemeBrBG:function(){return Wv},schemeBuGn:function(){return ly},schemeBuPu:function(){return dy},schemeCategory10:function(){return Yv},schemeDark2:function(){return Fv},schemeGnBu:function(){return gy},schemeGreens:function(){return qy},schemeGreys:function(){return Ry},schemeOrRd:function(){return yy},schemeOranges:function(){return Hy},schemePRGn:function(){return Gv},schemePaired:function(){return Rv},schemePastel1:function(){return Ov},schemePastel2:function(){return Bv},schemePiYG:function(){return Qv},schemePuBu:function(){return wy},schemePuBuGn:function(){return by},schemePuOr:function(){return Jv},schemePuRd:function(){return My},schemePurples:function(){return By},schemeRdBu:function(){return ny},schemeRdGy:function(){return ry},schemeRdPu:function(){return Sy},schemeRdYlBu:function(){return oy},schemeRdYlGn:function(){return ay},schemeReds:function(){return Iy},schemeSet1:function(){return $v},schemeSet2:function(){return Iv},schemeSet3:function(){return Lv},schemeSpectral:function(){return fy},schemeTableau10:function(){return Hv},schemeYlGn:function(){return Ey},schemeYlGnBu:function(){return ky},schemeYlOrBr:function(){return Py},schemeYlOrRd:function(){return Dy},select:function(){return qe},selectAll:function(){return pm},selection:function(){return Ye},selector:function(){return Sn},selectorAll:function(){return Nn},shuffle:function(){return zt},shuffler:function(){return Yt},some:function(){return $t},sort:function(){return W},stack:function(){return P_},stackOffsetDiverging:function(){return D_},stackOffsetExpand:function(){return Z_},stackOffsetNone:function(){return k_},stackOffsetSilhouette:function(){return U_},stackOffsetWiggle:function(){return z_},stackOrderAppearance:function(){return Y_},stackOrderAscending:function(){return F_},stackOrderDescending:function(){return O_},stackOrderInsideOut:function(){return B_},stackOrderNone:function(){return N_},stackOrderReverse:function(){return $_},stratify:function(){return vg},style:function(){return ne},subset:function(){return Jt},sum:function(){return qt},superset:function(){return Qt},svg:function(){return qc},symbol:function(){return Fb},symbolAsterisk:function(){return hb},symbolCircle:function(){return db},symbolCross:function(){return pb},symbolDiamond:function(){return yb},symbolDiamond2:function(){return mb},symbolPlus:function(){return bb},symbolSquare:function(){return _b},symbolSquare2:function(){return wb},symbolStar:function(){return Sb},symbolTimes:function(){return zb},symbolTriangle:function(){return kb},symbolTriangle2:function(){return Eb},symbolWye:function(){return Ub},symbolX:function(){return zb},symbols:function(){return Yb},symbolsFill:function(){return Yb},symbolsStroke:function(){return qb},text:function(){return Ac},thresholdFreedmanDiaconis:function(){return _t},thresholdScott:function(){return wt},thresholdSturges:function(){return ct},tickFormat:function(){return Uv.tickFormat},tickIncrement:function(){return ot},tickStep:function(){return ut},ticks:function(){return it},timeDay:function(){return lw},timeDays:function(){return hw},timeFormat:function(){return dx.i$},timeFormatDefaultLocale:function(){return dx.ZP},timeFormatLocale:function(){return px.Z},timeFriday:function(){return Mw},timeFridays:function(){return Cw},timeHour:function(){return aw},timeHours:function(){return cw},timeInterval:function(){return H_},timeMillisecond:function(){return j_},timeMilliseconds:function(){return W_},timeMinute:function(){return rw},timeMinutes:function(){return iw},timeMonday:function(){return bw},timeMondays:function(){return Aw},timeMonth:function(){return Ww},timeMonths:function(){return Xw},timeParse:function(){return dx.Z1},timeSaturday:function(){return Tw},timeSaturdays:function(){return Pw},timeSecond:function(){return nw},timeSeconds:function(){return ew},timeSunday:function(){return mw},timeSundays:function(){return Sw},timeThursday:function(){return xw},timeThursdays:function(){return Ew},timeTickInterval:function(){return hx},timeTicks:function(){return lx},timeTuesday:function(){return _w},timeTuesdays:function(){return kw},timeWednesday:function(){return ww},timeWednesdays:function(){return Nw},timeWeek:function(){return mw},timeWeeks:function(){return Sw},timeYear:function(){return Qw},timeYears:function(){return Kw},timeout:function(){return hr},timer:function(){return ar},timerFlush:function(){return cr},transition:function(){return ii},transpose:function(){return Ft},tree:function(){return Sg},treemap:function(){return Cg},treemapBinary:function(){return Pg},treemapDice:function(){return fg},treemapResquarify:function(){return Dg},treemapSlice:function(){return Ag},treemapSliceDice:function(){return Zg},treemapSquarify:function(){return Eg},tsv:function(){return Cc},tsvFormat:function(){return Na},tsvFormatBody:function(){return Ea},tsvFormatRow:function(){return Pa},tsvFormatRows:function(){return Ca},tsvFormatValue:function(){return Za},tsvParse:function(){return Aa},tsvParseRows:function(){return ka},union:function(){return tn},unixDay:function(){return gw},unixDays:function(){return vw},utcDay:function(){return dw},utcDays:function(){return pw},utcFormat:function(){return dx.g0},utcFriday:function(){return Fw},utcFridays:function(){return Hw},utcHour:function(){return fw},utcHours:function(){return sw},utcMillisecond:function(){return j_},utcMilliseconds:function(){return W_},utcMinute:function(){return ow},utcMinutes:function(){return uw},utcMonday:function(){return Uw},utcMondays:function(){return Bw},utcMonth:function(){return Gw},utcMonths:function(){return Vw},utcParse:function(){return dx.wp},utcSaturday:function(){return Rw},utcSaturdays:function(){return jw},utcSecond:function(){return nw},utcSeconds:function(){return ew},utcSunday:function(){return Dw},utcSundays:function(){return Ow},utcThursday:function(){return qw},utcThursdays:function(){return Lw},utcTickInterval:function(){return sx},utcTicks:function(){return fx},utcTuesday:function(){return zw},utcTuesdays:function(){return $w},utcWednesday:function(){return Yw},utcWednesdays:function(){return Iw},utcWeek:function(){return Dw},utcWeeks:function(){return Ow},utcYear:function(){return Jw},utcYears:function(){return tx},variance:function(){return k},window:function(){return Qn},xml:function(){return zc},zip:function(){return Ot},zoom:function(){return Ux},zoomIdentity:function(){return Tx},zoomTransform:function(){return Sx}});const f=o(r),s=f.right,l=f.left,h=o(a).center;var d=s;function p(t,n){if(!((n=+n)>=0))throw new RangeError("invalid r");let e=t.length;if(!((e=Math.floor(e))>=0))throw new RangeError("invalid length");if(!e||!n)return t;const r=_(n),i=t.slice();return r(t,i,0,e,1),r(i,t,0,e,1),r(t,i,0,e,1),t}const g=y(_),v=y((function(t){const n=_(t);return(t,e,r,i,o)=>{n(t,e,(r<<=2)+0,(i<<=2)+0,o<<=2),n(t,e,r+1,i+1,o),n(t,e,r+2,i+2,o),n(t,e,r+3,i+3,o)}}));function y(t){return function(n,e,r=e){if(!((e=+e)>=0))throw new RangeError("invalid rx");if(!((r=+r)>=0))throw new RangeError("invalid ry");let{data:i,width:o,height:u}=n;if(!((o=Math.floor(o))>=0))throw new RangeError("invalid width");if(!((u=Math.floor(void 0!==u?u:i.length/o))>=0))throw new RangeError("invalid height");if(!o||!u||!e&&!r)return n;const a=e&&t(e),c=r&&t(r),f=i.slice();return a&&c?(m(a,f,i,o,u),m(a,i,f,o,u),m(a,f,i,o,u),b(c,i,f,o,u),b(c,f,i,o,u),b(c,i,f,o,u)):a?(m(a,i,f,o,u),m(a,f,i,o,u),m(a,i,f,o,u)):c&&(b(c,i,f,o,u),b(c,f,i,o,u),b(c,i,f,o,u)),n}}function m(t,n,e,r,i){for(let o=0,u=r*i;o<u;)t(n,e,o,o+=r,1)}function b(t,n,e,r,i){for(let o=0,u=r*i;o<r;++o)t(n,e,o,o+u,r)}function _(t){const n=Math.floor(t);if(n===t)return function(t){const n=2*t+1;return(e,r,i,o,u)=>{if(!((o-=u)>=i))return;let a=t*r[i];const c=u*t;for(let t=i,n=i+c;t<n;t+=u)a+=r[Math.min(o,t)];for(let t=i,f=o;t<=f;t+=u)a+=r[Math.min(o,t+c)],e[t]=a/n,a-=r[Math.max(i,t-c)]}}(t);const e=t-n,r=2*t+1;return(t,i,o,u,a)=>{if(!((u-=a)>=o))return;let c=n*i[o];const f=a*n,s=f+a;for(let n=o,e=o+f;n<e;n+=a)c+=i[Math.min(u,n)];for(let n=o,l=u;n<=l;n+=a)c+=i[Math.min(u,n+f)],t[n]=(c+e*(i[Math.max(o,n-s)]+i[Math.min(u,n+s)]))/r,c-=i[Math.max(o,n-f)]}}function w(t,n){let e=0;if(void 0===n)for(let r of t)null!=r&&(r=+r)>=r&&++e;else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(i=+i)>=i&&++e}return e}function x(t){return 0|t.length}function M(t){return!(t>0)}function T(t){return"object"!==typeof t||"length"in t?t:Array.from(t)}function S(...t){const n="function"===typeof t[t.length-1]&&function(t){return n=>t(...n)}(t.pop()),e=(t=t.map(T)).map(x),r=t.length-1,i=new Array(r+1).fill(0),o=[];if(r<0||e.some(M))return o;for(;;){o.push(i.map(((n,e)=>t[e][n])));let u=r;for(;++i[u]===e[u];){if(0===u)return n?o.map(n):o;i[u--]=0}}}function A(t,n){var e=0,r=0;return Float64Array.from(t,void 0===n?t=>e+=+t||0:i=>e+=+n(i,r++,t)||0)}function k(t,n){let e,r=0,i=0,o=0;if(void 0===n)for(let u of t)null!=u&&(u=+u)>=u&&(e=u-i,i+=e/++r,o+=e*(u-i));else{let u=-1;for(let a of t)null!=(a=n(a,++u,t))&&(a=+a)>=a&&(e=a-i,i+=e/++r,o+=e*(a-i))}if(r>1)return o/(r-1)}function N(t,n){const e=k(t,n);return e?Math.sqrt(e):e}function E(t,n){let e,r;if(void 0===n)for(const i of t)null!=i&&(void 0===e?i>=i&&(e=r=i):(e>i&&(e=i),r<i&&(r=i)));else{let i=-1;for(let o of t)null!=(o=n(o,++i,t))&&(void 0===e?o>=o&&(e=r=o):(e>o&&(e=o),r<o&&(r=o)))}return[e,r]}class C{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){const n=this._partials;let e=0;for(let r=0;r<this._n&&r<32;r++){const i=n[r],o=t+i,u=Math.abs(t)<Math.abs(i)?t-(o-i):i-(o-t);u&&(n[e++]=u),t=o}return n[e]=t,this._n=e+1,this}valueOf(){const t=this._partials;let n,e,r,i=this._n,o=0;if(i>0){for(o=t[--i];i>0&&(n=o,e=t[--i],o=n+e,r=e-(o-n),!r););i>0&&(r<0&&t[i-1]<0||r>0&&t[i-1]>0)&&(e=2*r,n=o+e,e==n-o&&(o=n))}return o}}function P(t,n){const e=new C;if(void 0===n)for(let r of t)(r=+r)&&e.add(r);else{let r=-1;for(let i of t)(i=+n(i,++r,t))&&e.add(i)}return+e}function Z(t,n){const e=new C;let r=-1;return Float64Array.from(t,void 0===n?t=>e.add(+t||0):i=>e.add(+n(i,++r,t)||0))}var D=e(909);function U(t){return t}function z(t,...n){return H(t,U,U,n)}function Y(t,...n){return H(t,Array.from,U,n)}function q(t,n){for(let e=1,r=n.length;e<r;++e)t=t.flatMap((t=>t.pop().map((([n,e])=>[...t,n,e]))));return t}function F(t,...n){return q(Y(t,...n),n)}function R(t,n,...e){return q(B(t,n,...e),e)}function O(t,n,...e){return H(t,U,n,e)}function B(t,n,...e){return H(t,Array.from,n,e)}function $(t,...n){return H(t,U,L,n)}function I(t,...n){return H(t,Array.from,L,n)}function L(t){if(1!==t.length)throw new Error("duplicate key");return t[0]}function H(t,n,e,r){return function t(i,o){if(o>=r.length)return e(i);const u=new D.L,a=r[o++];let c=-1;for(const n of i){const t=a(n,++c,i),e=u.get(t);e?e.push(n):u.set(t,[n])}for(const[n,e]of u)u.set(n,t(e,o));return n(u)}(t,0)}function j(t,n){return Array.from(n,(n=>t[n]))}function W(t,...n){if("function"!==typeof t[Symbol.iterator])throw new TypeError("values is not iterable");t=Array.from(t);let[e]=n;if(e&&2!==e.length||n.length>1){const r=Uint32Array.from(t,((t,n)=>n));return n.length>1?(n=n.map((n=>t.map(n))),r.sort(((t,e)=>{for(const r of n){const n=G(r[t],r[e]);if(n)return n}}))):(e=t.map(e),r.sort(((t,n)=>G(e[t],e[n])))),j(t,r)}return t.sort(X(e))}function X(t=r){if(t===r)return G;if("function"!==typeof t)throw new TypeError("compare is not a function");return(n,e)=>{const r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}function G(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}function V(t,n,e){return(2!==n.length?W(O(t,n,e),(([t,n],[e,i])=>r(n,i)||r(t,e))):W(z(t,e),(([t,e],[i,o])=>n(e,o)||r(t,i)))).map((([t])=>t))}var Q=Array.prototype,K=Q.slice;Q.map;function J(t){return()=>t}const tt=Math.sqrt(50),nt=Math.sqrt(10),et=Math.sqrt(2);function rt(t,n,e){const r=(n-t)/Math.max(0,e),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),u=o>=tt?10:o>=nt?5:o>=et?2:1;let a,c,f;return i<0?(f=Math.pow(10,-i)/u,a=Math.round(t*f),c=Math.round(n*f),a/f<t&&++a,c/f>n&&--c,f=-f):(f=Math.pow(10,i)*u,a=Math.round(t/f),c=Math.round(n/f),a*f<t&&++a,c*f>n&&--c),c<a&&.5<=e&&e<2?rt(t,n,2*e):[a,c,f]}function it(t,n,e){if(!((e=+e)>0))return[];if((t=+t)===(n=+n))return[t];const r=n<t,[i,o,u]=r?rt(n,t,e):rt(t,n,e);if(!(o>=i))return[];const a=o-i+1,c=new Array(a);if(r)if(u<0)for(let f=0;f<a;++f)c[f]=(o-f)/-u;else for(let f=0;f<a;++f)c[f]=(o-f)*u;else if(u<0)for(let f=0;f<a;++f)c[f]=(i+f)/-u;else for(let f=0;f<a;++f)c[f]=(i+f)*u;return c}function ot(t,n,e){return rt(t=+t,n=+n,e=+e)[2]}function ut(t,n,e){e=+e;const r=(n=+n)<(t=+t),i=r?ot(n,t,e):ot(t,n,e);return(r?-1:1)*(i<0?1/-i:i)}function at(t,n,e){let r;for(;;){const i=ot(t,n,e);if(i===r||0===i||!isFinite(i))return[t,n];i>0?(t=Math.floor(t/i)*i,n=Math.ceil(n/i)*i):i<0&&(t=Math.ceil(t*i)/i,n=Math.floor(n*i)/i),r=i}}function ct(t){return Math.max(1,Math.ceil(Math.log(w(t))/Math.LN2)+1)}function ft(){var t=U,n=E,e=ct;function r(r){Array.isArray(r)||(r=Array.from(r));var i,o,u,a=r.length,c=new Array(a);for(i=0;i<a;++i)c[i]=t(r[i],i,r);var f=n(c),s=f[0],l=f[1],h=e(c,s,l);if(!Array.isArray(h)){const t=l,e=+h;if(n===E&&([s,l]=at(s,l,e)),(h=it(s,l,e))[0]<=s&&(u=ot(s,l,e)),h[h.length-1]>=l)if(t>=l&&n===E){const t=ot(s,l,e);isFinite(t)&&(t>0?l=(Math.floor(l/t)+1)*t:t<0&&(l=(Math.ceil(l*-t)+1)/-t))}else h.pop()}for(var p=h.length,g=0,v=p;h[g]<=s;)++g;for(;h[v-1]>l;)--v;(g||v<p)&&(h=h.slice(g,v),p=v-g);var y,m=new Array(p+1);for(i=0;i<=p;++i)(y=m[i]=[]).x0=i>0?h[i-1]:s,y.x1=i<p?h[i]:l;if(isFinite(u)){if(u>0)for(i=0;i<a;++i)null!=(o=c[i])&&s<=o&&o<=l&&m[Math.min(p,Math.floor((o-s)/u))].push(r[i]);else if(u<0)for(i=0;i<a;++i)if(null!=(o=c[i])&&s<=o&&o<=l){const t=Math.floor((s-o)*u);m[Math.min(p,t+(h[t]<=o))].push(r[i])}}else for(i=0;i<a;++i)null!=(o=c[i])&&s<=o&&o<=l&&m[d(h,o,0,p)].push(r[i]);return m}return r.value=function(n){return arguments.length?(t="function"===typeof n?n:J(n),r):t},r.domain=function(t){return arguments.length?(n="function"===typeof t?t:J([t[0],t[1]]),r):n},r.thresholds=function(t){return arguments.length?(e="function"===typeof t?t:J(Array.isArray(t)?K.call(t):t),r):e},r}function st(t,n){let e;if(void 0===n)for(const r of t)null!=r&&(e<r||void 0===e&&r>=r)&&(e=r);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e<i||void 0===e&&i>=i)&&(e=i)}return e}function lt(t,n){let e,r=-1,i=-1;if(void 0===n)for(const o of t)++i,null!=o&&(e<o||void 0===e&&o>=o)&&(e=o,r=i);else for(let o of t)null!=(o=n(o,++i,t))&&(e<o||void 0===e&&o>=o)&&(e=o,r=i);return r}function ht(t,n){let e;if(void 0===n)for(const r of t)null!=r&&(e>r||void 0===e&&r>=r)&&(e=r);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e>i||void 0===e&&i>=i)&&(e=i)}return e}function dt(t,n){let e,r=-1,i=-1;if(void 0===n)for(const o of t)++i,null!=o&&(e>o||void 0===e&&o>=o)&&(e=o,r=i);else for(let o of t)null!=(o=n(o,++i,t))&&(e>o||void 0===e&&o>=o)&&(e=o,r=i);return r}function pt(t,n,e=0,r=1/0,i){if(n=Math.floor(n),e=Math.floor(Math.max(0,e)),r=Math.floor(Math.min(t.length-1,r)),!(e<=n&&n<=r))return t;for(i=void 0===i?G:X(i);r>e;){if(r-e>600){const o=r-e+1,u=n-e+1,a=Math.log(o),c=.5*Math.exp(2*a/3),f=.5*Math.sqrt(a*c*(o-c)/o)*(u-o/2<0?-1:1);pt(t,n,Math.max(e,Math.floor(n-u*c/o+f)),Math.min(r,Math.floor(n+(o-u)*c/o+f)),i)}const o=t[n];let u=e,a=r;for(gt(t,e,n),i(t[r],o)>0&&gt(t,e,r);u<a;){for(gt(t,u,a),++u,--a;i(t[u],o)<0;)++u;for(;i(t[a],o)>0;)--a}0===i(t[e],o)?gt(t,e,a):(++a,gt(t,a,r)),a<=n&&(e=a+1),n<=a&&(r=a-1)}return t}function gt(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function vt(t,n=r){let e,i=!1;if(1===n.length){let o;for(const u of t){const t=n(u);(i?r(t,o)>0:0===r(t,t))&&(e=u,o=t,i=!0)}}else for(const r of t)(i?n(r,e)>0:0===n(r,r))&&(e=r,i=!0);return e}function yt(t,n,e){if((r=(t=Float64Array.from(c(t,e))).length)&&!isNaN(n=+n)){if(n<=0||r<2)return ht(t);if(n>=1)return st(t);var r,i=(r-1)*n,o=Math.floor(i),u=st(pt(t,o).subarray(0,o+1));return u+(ht(t.subarray(o+1))-u)*(i-o)}}function mt(t,n,e=a){if((r=t.length)&&!isNaN(n=+n)){if(n<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),u=+e(t[o],o,t);return u+(+e(t[o+1],o+1,t)-u)*(i-o)}}function bt(t,n,e){if((r=(t=Float64Array.from(c(t,e))).length)&&!isNaN(n=+n)){if(n<=0||r<2)return dt(t);if(n>=1)return lt(t);var r,i=Math.floor((r-1)*n),o=pt(Uint32Array.from(t,((t,n)=>n)),i,0,r-1,((n,e)=>G(t[n],t[e])));return vt(o.subarray(0,i+1),(n=>t[n]))}}function _t(t,n,e){const r=w(t),i=yt(t,.75)-yt(t,.25);return r&&i?Math.ceil((e-n)/(2*i*Math.pow(r,-1/3))):1}function wt(t,n,e){const r=w(t),i=N(t);return r&&i?Math.ceil((e-n)*Math.cbrt(r)/(3.49*i)):1}function xt(t,n){let e=0,r=0;if(void 0===n)for(let i of t)null!=i&&(i=+i)>=i&&(++e,r+=i);else{let i=-1;for(let o of t)null!=(o=n(o,++i,t))&&(o=+o)>=o&&(++e,r+=o)}if(e)return r/e}function Mt(t,n){return yt(t,.5,n)}function Tt(t,n){return bt(t,.5,n)}function St(t){return Array.from(function*(t){for(const n of t)yield*n}(t))}function At(t,n){const e=new D.L;if(void 0===n)for(let o of t)null!=o&&o>=o&&e.set(o,(e.get(o)||0)+1);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&i>=i&&e.set(i,(e.get(i)||0)+1)}let r,i=0;for(const[o,u]of e)u>i&&(i=u,r=o);return r}function kt(t,n=Nt){const e=[];let r,i=!1;for(const o of t)i&&e.push(n(r,o)),r=o,i=!0;return e}function Nt(t,n){return[t,n]}function Et(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o}function Ct(t,n=r){if("function"!==typeof t[Symbol.iterator])throw new TypeError("values is not iterable");let e=Array.from(t);const i=new Float64Array(e.length);2!==n.length&&(e=e.map(n),n=r);const o=(t,r)=>n(e[t],e[r]);let u,a;return(t=Uint32Array.from(e,((t,n)=>n))).sort(n===r?(t,n)=>G(e[t],e[n]):X(o)),t.forEach(((t,n)=>{const e=o(t,void 0===u?t:u);e>=0?((void 0===u||e>0)&&(u=t,a=n),i[t]=a):i[t]=NaN})),i}function Pt(t,n=r){let e,i=!1;if(1===n.length){let o;for(const u of t){const t=n(u);(i?r(t,o)<0:0===r(t,t))&&(e=u,o=t,i=!0)}}else for(const r of t)(i?n(r,e)<0:0===n(r,r))&&(e=r,i=!0);return e}function Zt(t,n=r){if(1===n.length)return dt(t,n);let e,i=-1,o=-1;for(const r of t)++o,(i<0?0===n(r,r):n(r,e)<0)&&(e=r,i=o);return i}function Dt(t,n=r){if(1===n.length)return lt(t,n);let e,i=-1,o=-1;for(const r of t)++o,(i<0?0===n(r,r):n(r,e)>0)&&(e=r,i=o);return i}function Ut(t,n){const e=Zt(t,n);return e<0?void 0:e}var zt=Yt(Math.random);function Yt(t){return function(n,e=0,r=n.length){let i=r-(e=+e);for(;i;){const r=t()*i--|0,o=n[i+e];n[i+e]=n[r+e],n[r+e]=o}return n}}function qt(t,n){let e=0;if(void 0===n)for(let r of t)(r=+r)&&(e+=r);else{let r=-1;for(let i of t)(i=+n(i,++r,t))&&(e+=i)}return e}function Ft(t){if(!(i=t.length))return[];for(var n=-1,e=ht(t,Rt),r=new Array(e);++n<e;)for(var i,o=-1,u=r[n]=new Array(i);++o<i;)u[o]=t[o][n];return r}function Rt(t){return t.length}function Ot(){return Ft(arguments)}function Bt(t,n){if("function"!==typeof n)throw new TypeError("test is not a function");let e=-1;for(const r of t)if(!n(r,++e,t))return!1;return!0}function $t(t,n){if("function"!==typeof n)throw new TypeError("test is not a function");let e=-1;for(const r of t)if(n(r,++e,t))return!0;return!1}function It(t,n){if("function"!==typeof n)throw new TypeError("test is not a function");const e=[];let r=-1;for(const i of t)n(i,++r,t)&&e.push(i);return e}function Lt(t,n){if("function"!==typeof t[Symbol.iterator])throw new TypeError("values is not iterable");if("function"!==typeof n)throw new TypeError("mapper is not a function");return Array.from(t,((e,r)=>n(e,r,t)))}function Ht(t,n,e){if("function"!==typeof n)throw new TypeError("reducer is not a function");const r=t[Symbol.iterator]();let i,o,u=-1;if(arguments.length<3){if(({done:i,value:e}=r.next()),i)return;++u}for(;({done:i,value:o}=r.next()),!i;)e=n(e,o,++u,t);return e}function jt(t){if("function"!==typeof t[Symbol.iterator])throw new TypeError("values is not iterable");return Array.from(t).reverse()}function Wt(t,...n){t=new D.H(t);for(const e of n)for(const n of e)t.delete(n);return t}function Xt(t,n){const e=n[Symbol.iterator](),r=new D.H;for(const i of t){if(r.has(i))return!1;let t,n;for(;({value:t,done:n}=e.next())&&!n;){if(Object.is(i,t))return!1;r.add(t)}}return!0}function Gt(t,...n){t=new D.H(t),n=n.map(Vt);t:for(const e of t)for(const r of n)if(!r.has(e)){t.delete(e);continue t}return t}function Vt(t){return t instanceof D.H?t:new D.H(t)}function Qt(t,n){const e=t[Symbol.iterator](),r=new Set;for(const i of n){const t=Kt(i);if(r.has(t))continue;let n,o;for(;({value:n,done:o}=e.next());){if(o)return!1;const e=Kt(n);if(r.add(e),Object.is(t,e))break}}return!0}function Kt(t){return null!==t&&"object"===typeof t?t.valueOf():t}function Jt(t,n){return Qt(n,t)}function tn(...t){const n=new D.H;for(const e of t)for(const t of e)n.add(t);return n}function nn(t){return t}var en=1,rn=2,on=3,un=4,an=1e-6;function cn(t){return"translate("+t+",0)"}function fn(t){return"translate(0,"+t+")"}function sn(t){return n=>+t(n)}function ln(t,n){return n=Math.max(0,t.bandwidth()-2*n)/2,t.round()&&(n=Math.round(n)),e=>+t(e)+n}function hn(){return!this.__axis}function dn(t,n){var e=[],r=null,i=null,o=6,u=6,a=3,c="undefined"!==typeof window&&window.devicePixelRatio>1?0:.5,f=t===en||t===un?-1:1,s=t===un||t===rn?"x":"y",l=t===en||t===on?cn:fn;function h(h){var d=null==r?n.ticks?n.ticks.apply(n,e):n.domain():r,p=null==i?n.tickFormat?n.tickFormat.apply(n,e):nn:i,g=Math.max(o,0)+a,v=n.range(),y=+v[0]+c,m=+v[v.length-1]+c,b=(n.bandwidth?ln:sn)(n.copy(),c),_=h.selection?h.selection():h,w=_.selectAll(".domain").data([null]),x=_.selectAll(".tick").data(d,n).order(),M=x.exit(),T=x.enter().append("g").attr("class","tick"),S=x.select("line"),A=x.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),x=x.merge(T),S=S.merge(T.append("line").attr("stroke","currentColor").attr(s+"2",f*o)),A=A.merge(T.append("text").attr("fill","currentColor").attr(s,f*g).attr("dy",t===en?"0em":t===on?"0.71em":"0.32em")),h!==_&&(w=w.transition(h),x=x.transition(h),S=S.transition(h),A=A.transition(h),M=M.transition(h).attr("opacity",an).attr("transform",(function(t){return isFinite(t=b(t))?l(t+c):this.getAttribute("transform")})),T.attr("opacity",an).attr("transform",(function(t){var n=this.parentNode.__axis;return l((n&&isFinite(n=n(t))?n:b(t))+c)}))),M.remove(),w.attr("d",t===un||t===rn?u?"M"+f*u+","+y+"H"+c+"V"+m+"H"+f*u:"M"+c+","+y+"V"+m:u?"M"+y+","+f*u+"V"+c+"H"+m+"V"+f*u:"M"+y+","+c+"H"+m),x.attr("opacity",1).attr("transform",(function(t){return l(b(t)+c)})),S.attr(s+"2",f*o),A.attr(s,f*g).text(p),_.filter(hn).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===rn?"start":t===un?"end":"middle"),_.each((function(){this.__axis=b}))}return h.scale=function(t){return arguments.length?(n=t,h):n},h.ticks=function(){return e=Array.from(arguments),h},h.tickArguments=function(t){return arguments.length?(e=null==t?[]:Array.from(t),h):e.slice()},h.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),h):r&&r.slice()},h.tickFormat=function(t){return arguments.length?(i=t,h):i},h.tickSize=function(t){return arguments.length?(o=u=+t,h):o},h.tickSizeInner=function(t){return arguments.length?(o=+t,h):o},h.tickSizeOuter=function(t){return arguments.length?(u=+t,h):u},h.tickPadding=function(t){return arguments.length?(a=+t,h):a},h.offset=function(t){return arguments.length?(c=+t,h):c},h}function pn(t){return dn(en,t)}function gn(t){return dn(rn,t)}function vn(t){return dn(on,t)}function yn(t){return dn(un,t)}var mn={value:()=>{}};function bn(){for(var t,n=0,e=arguments.length,r={};n<e;++n){if(!(t=arguments[n]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new _n(r)}function _n(t){this._=t}function wn(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}function xn(t,n,e){for(var r=0,i=t.length;r<i;++r)if(t[r].name===n){t[r]=mn,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}_n.prototype=bn.prototype={constructor:_n,on:function(t,n){var e,r,i=this._,o=(r=i,(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&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))),u=-1,a=o.length;if(!(arguments.length<2)){if(null!=n&&"function"!==typeof n)throw new Error("invalid callback: "+n);for(;++u<a;)if(e=(t=o[u]).type)i[e]=xn(i[e],t.name,n);else if(null==n)for(e in i)i[e]=xn(i[e],t.name,null);return this}for(;++u<a;)if((e=(t=o[u]).type)&&(e=wn(i[e],t.name)))return e},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new _n(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,r,i=new Array(e),o=0;o<e;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,e=(r=this._[t]).length;o<e;++o)r[o].value.apply(n,i)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(n,e)}};var Mn=bn;function Tn(){}function Sn(t){return null==t?Tn:function(){return this.querySelector(t)}}function An(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function kn(){return[]}function Nn(t){return null==t?kn:function(){return this.querySelectorAll(t)}}function En(t){return function(){return this.matches(t)}}function Cn(t){return function(n){return n.matches(t)}}var Pn=Array.prototype.find;function Zn(){return this.firstElementChild}var Dn=Array.prototype.filter;function Un(){return Array.from(this.children)}function zn(t){return new Array(t.length)}function Yn(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function qn(t,n,e,r,i,o){for(var u,a=0,c=n.length,f=o.length;a<f;++a)(u=n[a])?(u.__data__=o[a],r[a]=u):e[a]=new Yn(t,o[a]);for(;a<c;++a)(u=n[a])&&(i[a]=u)}function Fn(t,n,e,r,i,o,u){var a,c,f,s=new Map,l=n.length,h=o.length,d=new Array(l);for(a=0;a<l;++a)(c=n[a])&&(d[a]=f=u.call(c,c.__data__,a,n)+"",s.has(f)?i[a]=c:s.set(f,c));for(a=0;a<h;++a)f=u.call(t,o[a],a,o)+"",(c=s.get(f))?(r[a]=c,c.__data__=o[a],s.delete(f)):e[a]=new Yn(t,o[a]);for(a=0;a<l;++a)(c=n[a])&&s.get(d[a])===c&&(i[a]=c)}function Rn(t){return t.__data__}function On(t){return"object"===typeof t&&"length"in t?t:Array.from(t)}function Bn(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}Yn.prototype={constructor:Yn,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var $n="http://www.w3.org/1999/xhtml",In={svg:"http://www.w3.org/2000/svg",xhtml:$n,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Ln(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),In.hasOwnProperty(n)?{space:In[n],local:t}:t}function Hn(t){return function(){this.removeAttribute(t)}}function jn(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Wn(t,n){return function(){this.setAttribute(t,n)}}function Xn(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function Gn(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function Vn(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function Qn(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Kn(t){return function(){this.style.removeProperty(t)}}function Jn(t,n,e){return function(){this.style.setProperty(t,n,e)}}function te(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function ne(t,n){return t.style.getPropertyValue(n)||Qn(t).getComputedStyle(t,null).getPropertyValue(n)}function ee(t){return function(){delete this[t]}}function re(t,n){return function(){this[t]=n}}function ie(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function oe(t){return t.trim().split(/^|\s+/)}function ue(t){return t.classList||new ae(t)}function ae(t){this._node=t,this._names=oe(t.getAttribute("class")||"")}function ce(t,n){for(var e=ue(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function fe(t,n){for(var e=ue(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function se(t){return function(){ce(this,t)}}function le(t){return function(){fe(this,t)}}function he(t,n){return function(){(n.apply(this,arguments)?ce:fe)(this,t)}}function de(){this.textContent=""}function pe(t){return function(){this.textContent=t}}function ge(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function ve(){this.innerHTML=""}function ye(t){return function(){this.innerHTML=t}}function me(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function be(){this.nextSibling&&this.parentNode.appendChild(this)}function _e(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function we(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===$n&&n.documentElement.namespaceURI===$n?n.createElement(t):n.createElementNS(e,t)}}function xe(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Me(t){var n=Ln(t);return(n.local?xe:we)(n)}function Te(){return null}function Se(){var t=this.parentNode;t&&t.removeChild(this)}function Ae(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function ke(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function Ne(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r<o;++r)e=n[r],t.type&&e.type!==t.type||e.name!==t.name?n[++i]=e:this.removeEventListener(e.type,e.listener,e.options);++i?n.length=i:delete this.__on}}}function Ee(t,n,e){return function(){var r,i=this.__on,o=function(t){return function(n){t.call(this,n,this.__data__)}}(n);if(i)for(var u=0,a=i.length;u<a;++u)if((r=i[u]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=e),void(r.value=n);this.addEventListener(t.type,o,e),r={type:t.type,name:t.name,value:n,listener:o,options:e},i?i.push(r):this.__on=[r]}}function Ce(t,n,e){var r=Qn(t),i=r.CustomEvent;"function"===typeof i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dispatchEvent(i)}function Pe(t,n){return function(){return Ce(this,t,n)}}function Ze(t,n){return function(){return Ce(this,t,n.apply(this,arguments))}}ae.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var De=[null];function Ue(t,n){this._groups=t,this._parents=n}function ze(){return new Ue([[document.documentElement]],De)}Ue.prototype=ze.prototype={constructor:Ue,select:function(t){"function"!==typeof t&&(t=Sn(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u,a=n[i],c=a.length,f=r[i]=new Array(c),s=0;s<c;++s)(o=a[s])&&(u=t.call(o,o.__data__,s,a))&&("__data__"in o&&(u.__data__=o.__data__),f[s]=u);return new Ue(r,this._parents)},selectAll:function(t){t="function"===typeof t?function(t){return function(){return An(t.apply(this,arguments))}}(t):Nn(t);for(var n=this._groups,e=n.length,r=[],i=[],o=0;o<e;++o)for(var u,a=n[o],c=a.length,f=0;f<c;++f)(u=a[f])&&(r.push(t.call(u,u.__data__,f,a)),i.push(u));return new Ue(r,i)},selectChild:function(t){return this.select(null==t?Zn:function(t){return function(){return Pn.call(this.children,t)}}("function"===typeof t?t:Cn(t)))},selectChildren:function(t){return this.selectAll(null==t?Un:function(t){return function(){return Dn.call(this.children,t)}}("function"===typeof t?t:Cn(t)))},filter:function(t){"function"!==typeof t&&(t=En(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u=n[i],a=u.length,c=r[i]=[],f=0;f<a;++f)(o=u[f])&&t.call(o,o.__data__,f,u)&&c.push(o);return new Ue(r,this._parents)},data:function(t,n){if(!arguments.length)return Array.from(this,Rn);var e=n?Fn:qn,r=this._parents,i=this._groups;"function"!==typeof t&&(t=function(t){return function(){return t}}(t));for(var o=i.length,u=new Array(o),a=new Array(o),c=new Array(o),f=0;f<o;++f){var s=r[f],l=i[f],h=l.length,d=On(t.call(s,s&&s.__data__,f,r)),p=d.length,g=a[f]=new Array(p),v=u[f]=new Array(p);e(s,l,g,v,c[f]=new Array(h),d,n);for(var y,m,b=0,_=0;b<p;++b)if(y=g[b]){for(b>=_&&(_=b+1);!(m=v[_])&&++_<p;);y._next=m||null}}return(u=new Ue(u,r))._enter=a,u._exit=c,u},enter:function(){return new Ue(this._enter||this._groups.map(zn),this._parents)},exit:function(){return new Ue(this._exit||this._groups.map(zn),this._parents)},join:function(t,n,e){var r=this.enter(),i=this,o=this.exit();return"function"===typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=n&&(i=n(i))&&(i=i.selection()),null==e?o.remove():e(o),r&&i?r.merge(i).order():i},merge:function(t){for(var n=t.selection?t.selection():t,e=this._groups,r=n._groups,i=e.length,o=r.length,u=Math.min(i,o),a=new Array(i),c=0;c<u;++c)for(var f,s=e[c],l=r[c],h=s.length,d=a[c]=new Array(h),p=0;p<h;++p)(f=s[p]||l[p])&&(d[p]=f);for(;c<i;++c)a[c]=e[c];return new Ue(a,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,u=i[o];--o>=0;)(r=i[o])&&(u&&4^r.compareDocumentPosition(u)&&u.parentNode.insertBefore(r,u),u=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=Bn);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o<r;++o){for(var u,a=e[o],c=a.length,f=i[o]=new Array(c),s=0;s<c;++s)(u=a[s])&&(f[s]=u);f.sort(n)}return new Ue(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var u=r[i];if(u)return u}return null},size:function(){let t=0;for(const n of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],u=0,a=o.length;u<a;++u)(i=o[u])&&t.call(i,i.__data__,u,o);return this},attr:function(t,n){var e=Ln(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?jn:Hn:"function"===typeof n?e.local?Vn:Gn:e.local?Xn:Wn)(e,n))},style:function(t,n,e){return arguments.length>1?this.each((null==n?Kn:"function"===typeof n?te:Jn)(t,n,null==e?"":e)):ne(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?ee:"function"===typeof n?ie:re)(t,n)):this.node()[t]},classed:function(t,n){var e=oe(t+"");if(arguments.length<2){for(var r=ue(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"===typeof n?he:n?se:le)(e,n))},text:function(t){return arguments.length?this.each(null==t?de:("function"===typeof t?ge:pe)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?ve:("function"===typeof t?me:ye)(t)):this.node().innerHTML},raise:function(){return this.each(be)},lower:function(){return this.each(_e)},append:function(t){var n="function"===typeof t?t:Me(t);return this.select((function(){return this.appendChild(n.apply(this,arguments))}))},insert:function(t,n){var e="function"===typeof t?t:Me(t),r=null==n?Te:"function"===typeof n?n:Sn(n);return this.select((function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(Se)},clone:function(t){return this.select(t?ke:Ae)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,n,e){var r,i,o=function(t){return t.trim().split(/^|\s+/).map((function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}))}(t+""),u=o.length;if(!(arguments.length<2)){for(a=n?Ee:Ne,r=0;r<u;++r)this.each(a(o[r],n,e));return this}var a=this.node().__on;if(a)for(var c,f=0,s=a.length;f<s;++f)for(r=0,c=a[f];r<u;++r)if((i=o[r]).type===c.type&&i.name===c.name)return c.value},dispatch:function(t,n){return this.each(("function"===typeof n?Ze:Pe)(t,n))},[Symbol.iterator]:function*(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r,i=t[n],o=0,u=i.length;o<u;++o)(r=i[o])&&(yield r)}};var Ye=ze;function qe(t){return"string"===typeof t?new Ue([[document.querySelector(t)]],[document.documentElement]):new Ue([[t]],De)}const Fe={passive:!1},Re={capture:!0,passive:!1};function Oe(t){t.stopImmediatePropagation()}function Be(t){t.preventDefault(),t.stopImmediatePropagation()}function $e(t){var n=t.document.documentElement,e=qe(t).on("dragstart.drag",Be,Re);"onselectstart"in n?e.on("selectstart.drag",Be,Re):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}function Ie(t,n){var e=t.document.documentElement,r=qe(t).on("dragstart.drag",null);n&&(r.on("click.drag",Be,Re),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in e?r.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)}var Le=e(45326);function He(t){let n;for(;n=t.sourceEvent;)t=n;return t}function je(t,n){if(t=He(t),void 0===n&&(n=t.currentTarget),n){var e=n.ownerSVGElement||n;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(n.getScreenCTM().inverse())).x,r.y]}if(n.getBoundingClientRect){var i=n.getBoundingClientRect();return[t.clientX-i.left-n.clientLeft,t.clientY-i.top-n.clientTop]}}return[t.pageX,t.pageY]}var We,Xe,Ge=0,Ve=0,Qe=0,Ke=1e3,Je=0,tr=0,nr=0,er="object"===typeof performance&&performance.now?performance:Date,rr="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function ir(){return tr||(rr(or),tr=er.now()+nr)}function or(){tr=0}function ur(){this._call=this._time=this._next=null}function ar(t,n,e){var r=new ur;return r.restart(t,n,e),r}function cr(){ir(),++Ge;for(var t,n=We;n;)(t=tr-n._time)>=0&&n._call.call(void 0,t),n=n._next;--Ge}function fr(){tr=(Je=er.now())+nr,Ge=Ve=0;try{cr()}finally{Ge=0,function(){var t,n,e=We,r=1/0;for(;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:We=n);Xe=t,lr(r)}(),tr=0}}function sr(){var t=er.now(),n=t-Je;n>Ke&&(nr-=n,Je=t)}function lr(t){Ge||(Ve&&(Ve=clearTimeout(Ve)),t-tr>24?(t<1/0&&(Ve=setTimeout(fr,t-er.now()-nr)),Qe&&(Qe=clearInterval(Qe))):(Qe||(Je=er.now(),Qe=setInterval(sr,Ke)),Ge=1,rr(fr)))}function hr(t,n,e){var r=new ur;return n=null==n?0:+n,r.restart((e=>{r.stop(),t(e+n)}),n,e),r}ur.prototype=ar.prototype={constructor:ur,restart:function(t,n,e){if("function"!==typeof t)throw new TypeError("callback is not a function");e=(null==e?ir():+e)+(null==n?0:+n),this._next||Xe===this||(Xe?Xe._next=this:We=this,Xe=this),this._call=t,this._time=e,lr()},stop:function(){this._call&&(this._call=null,this._time=1/0,lr())}};var dr=Mn("start","end","cancel","interrupt"),pr=[],gr=0,vr=1,yr=2,mr=3,br=4,_r=5,wr=6;function xr(t,n,e,r,i,o){var u=t.__transition;if(u){if(e in u)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(t){e.state=vr,e.timer.restart(u,e.delay,e.time),e.delay<=t&&u(t-e.delay)}function u(o){var f,s,l,h;if(e.state!==vr)return c();for(f in i)if((h=i[f]).name===e.name){if(h.state===mr)return hr(u);h.state===br?(h.state=wr,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[f]):+f<n&&(h.state=wr,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[f])}if(hr((function(){e.state===mr&&(e.state=br,e.timer.restart(a,e.delay,e.time),a(o))})),e.state=yr,e.on.call("start",t,t.__data__,e.index,e.group),e.state===yr){for(e.state=mr,r=new Array(l=e.tween.length),f=0,s=-1;f<l;++f)(h=e.tween[f].value.call(t,t.__data__,e.index,e.group))&&(r[++s]=h);r.length=s+1}}function a(n){for(var i=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(c),e.state=_r,1),o=-1,u=r.length;++o<u;)r[o].call(t,i);e.state===_r&&(e.on.call("end",t,t.__data__,e.index,e.group),c())}function c(){for(var r in e.state=wr,e.timer.stop(),delete i[n],i)return;delete t.__transition}i[n]=e,e.timer=ar(o,0,e.time)}(t,e,{name:n,index:r,group:i,on:dr,tween:pr,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:gr})}function Mr(t,n){var e=Sr(t,n);if(e.state>gr)throw new Error("too late; already scheduled");return e}function Tr(t,n){var e=Sr(t,n);if(e.state>mr)throw new Error("too late; already running");return e}function Sr(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function Ar(t,n){var e,r,i,o=t.__transition,u=!0;if(o){for(i in n=null==n?null:n+"",o)(e=o[i]).name===n?(r=e.state>yr&&e.state<_r,e.state=wr,e.timer.stop(),e.on.call(r?"interrupt":"cancel",t,t.__data__,e.index,e.group),delete o[i]):u=!1;u&&delete t.__transition}}var kr,Nr=e(68063),Er=180/Math.PI,Cr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Pr(t,n,e,r,i,o){var u,a,c;return(u=Math.sqrt(t*t+n*n))&&(t/=u,n/=u),(c=t*e+n*r)&&(e-=t*c,r-=n*c),(a=Math.sqrt(e*e+r*r))&&(e/=a,r/=a,c/=a),t*r<n*e&&(t=-t,n=-n,c=-c,u=-u),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*Er,skewX:Math.atan(c)*Er,scaleX:u,scaleY:a}}function Zr(t,n,e,r){function i(t){return t.length?t.pop()+" ":""}return function(o,u){var a=[],c=[];return o=t(o),u=t(u),function(t,r,i,o,u,a){if(t!==i||r!==o){var c=u.push("translate(",null,n,null,e);a.push({i:c-4,x:(0,Nr.Z)(t,i)},{i:c-2,x:(0,Nr.Z)(r,o)})}else(i||o)&&u.push("translate("+i+n+o+e)}(o.translateX,o.translateY,u.translateX,u.translateY,a,c),function(t,n,e,o){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:(0,Nr.Z)(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}(o.rotate,u.rotate,a,c),function(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:(0,Nr.Z)(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}(o.skewX,u.skewX,a,c),function(t,n,e,r,o,u){if(t!==e||n!==r){var a=o.push(i(o)+"scale(",null,",",null,")");u.push({i:a-4,x:(0,Nr.Z)(t,e)},{i:a-2,x:(0,Nr.Z)(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,u.scaleX,u.scaleY,a,c),o=u=null,function(t){for(var n,e=-1,r=c.length;++e<r;)a[(n=c[e]).i]=n.x(t);return a.join("")}}}var Dr=Zr((function(t){const n=new("function"===typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return n.isIdentity?Cr:Pr(n.a,n.b,n.c,n.d,n.e,n.f)}),"px, ","px)","deg)"),Ur=Zr((function(t){return null==t?Cr:(kr||(kr=document.createElementNS("http://www.w3.org/2000/svg","g")),kr.setAttribute("transform",t),(t=kr.transform.baseVal.consolidate())?Pr((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):Cr)}),", ",")",")");function zr(t,n){var e,r;return function(){var i=Tr(this,t),o=i.tween;if(o!==e)for(var u=0,a=(r=e=o).length;u<a;++u)if(r[u].name===n){(r=r.slice()).splice(u,1);break}i.tween=r}}function Yr(t,n,e){var r,i;if("function"!==typeof e)throw new Error;return function(){var o=Tr(this,t),u=o.tween;if(u!==r){i=(r=u).slice();for(var a={name:n,value:e},c=0,f=i.length;c<f;++c)if(i[c].name===n){i[c]=a;break}c===f&&i.push(a)}o.tween=i}}function qr(t,n,e){var r=t._id;return t.each((function(){var t=Tr(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)})),function(t){return Sr(t,r).value[n]}}var Fr=e(4447),Rr=e(6354),Or=e(16773);function Br(t,n){var e;return("number"===typeof n?Nr.Z:n instanceof Fr.ZP?Rr.ZP:(e=(0,Fr.ZP)(n))?(n=e,Rr.ZP):Or.Z)(t,n)}function $r(t){return function(){this.removeAttribute(t)}}function Ir(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Lr(t,n,e){var r,i,o=e+"";return function(){var u=this.getAttribute(t);return u===o?null:u===r?i:i=n(r=u,e)}}function Hr(t,n,e){var r,i,o=e+"";return function(){var u=this.getAttributeNS(t.space,t.local);return u===o?null:u===r?i:i=n(r=u,e)}}function jr(t,n,e){var r,i,o;return function(){var u,a,c=e(this);if(null!=c)return(u=this.getAttribute(t))===(a=c+"")?null:u===r&&a===i?o:(i=a,o=n(r=u,c));this.removeAttribute(t)}}function Wr(t,n,e){var r,i,o;return function(){var u,a,c=e(this);if(null!=c)return(u=this.getAttributeNS(t.space,t.local))===(a=c+"")?null:u===r&&a===i?o:(i=a,o=n(r=u,c));this.removeAttributeNS(t.space,t.local)}}function Xr(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(t,n){return function(e){this.setAttributeNS(t.space,t.local,n.call(this,e))}}(t,i)),e}return i._value=n,i}function Gr(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(t,n){return function(e){this.setAttribute(t,n.call(this,e))}}(t,i)),e}return i._value=n,i}function Vr(t,n){return function(){Mr(this,t).delay=+n.apply(this,arguments)}}function Qr(t,n){return n=+n,function(){Mr(this,t).delay=n}}function Kr(t,n){return function(){Tr(this,t).duration=+n.apply(this,arguments)}}function Jr(t,n){return n=+n,function(){Tr(this,t).duration=n}}var ti=Ye.prototype.constructor;function ni(t){return function(){this.style.removeProperty(t)}}var ei=0;function ri(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function ii(t){return Ye().transition(t)}function oi(){return++ei}var ui=Ye.prototype;function ai(t){return t*t*t}function ci(t){return--t*t*t+1}function fi(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}ri.prototype=ii.prototype={constructor:ri,select:function(t){var n=this._name,e=this._id;"function"!==typeof t&&(t=Sn(t));for(var r=this._groups,i=r.length,o=new Array(i),u=0;u<i;++u)for(var a,c,f=r[u],s=f.length,l=o[u]=new Array(s),h=0;h<s;++h)(a=f[h])&&(c=t.call(a,a.__data__,h,f))&&("__data__"in a&&(c.__data__=a.__data__),l[h]=c,xr(l[h],n,e,h,l,Sr(a,e)));return new ri(o,this._parents,n,e)},selectAll:function(t){var n=this._name,e=this._id;"function"!==typeof t&&(t=Nn(t));for(var r=this._groups,i=r.length,o=[],u=[],a=0;a<i;++a)for(var c,f=r[a],s=f.length,l=0;l<s;++l)if(c=f[l]){for(var h,d=t.call(c,c.__data__,l,f),p=Sr(c,e),g=0,v=d.length;g<v;++g)(h=d[g])&&xr(h,n,e,g,d,p);o.push(d),u.push(c)}return new ri(o,u,n,e)},selectChild:ui.selectChild,selectChildren:ui.selectChildren,filter:function(t){"function"!==typeof t&&(t=En(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u=n[i],a=u.length,c=r[i]=[],f=0;f<a;++f)(o=u[f])&&t.call(o,o.__data__,f,u)&&c.push(o);return new ri(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),u=new Array(r),a=0;a<o;++a)for(var c,f=n[a],s=e[a],l=f.length,h=u[a]=new Array(l),d=0;d<l;++d)(c=f[d]||s[d])&&(h[d]=c);for(;a<r;++a)u[a]=n[a];return new ri(u,this._parents,this._name,this._id)},selection:function(){return new ti(this._groups,this._parents)},transition:function(){for(var t=this._name,n=this._id,e=oi(),r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],c=a.length,f=0;f<c;++f)if(u=a[f]){var s=Sr(u,n);xr(u,t,e,f,a,{time:s.time+s.delay+s.duration,delay:0,duration:s.duration,ease:s.ease})}return new ri(r,this._parents,t,e)},call:ui.call,nodes:ui.nodes,node:ui.node,size:ui.size,empty:ui.empty,each:ui.each,on:function(t,n){var e=this._id;return arguments.length<2?Sr(this.node(),e).on.on(t):this.each(function(t,n,e){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t}))}(n)?Mr:Tr;return function(){var u=o(this,t),a=u.on;a!==r&&(i=(r=a).copy()).on(n,e),u.on=i}}(e,t,n))},attr:function(t,n){var e=Ln(t),r="transform"===e?Ur:Br;return this.attrTween(t,"function"===typeof n?(e.local?Wr:jr)(e,r,qr(this,"attr."+t,n)):null==n?(e.local?Ir:$r)(e):(e.local?Hr:Lr)(e,r,n))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!==typeof n)throw new Error;var r=Ln(t);return this.tween(e,(r.local?Xr:Gr)(r,n))},style:function(t,n,e){var r="transform"===(t+="")?Dr:Br;return null==n?this.styleTween(t,function(t,n){var e,r,i;return function(){var o=ne(this,t),u=(this.style.removeProperty(t),ne(this,t));return o===u?null:o===e&&u===r?i:i=n(e=o,r=u)}}(t,r)).on("end.style."+t,ni(t)):"function"===typeof n?this.styleTween(t,function(t,n,e){var r,i,o;return function(){var u=ne(this,t),a=e(this),c=a+"";return null==a&&(this.style.removeProperty(t),c=a=ne(this,t)),u===c?null:u===r&&c===i?o:(i=c,o=n(r=u,a))}}(t,r,qr(this,"style."+t,n))).each(function(t,n){var e,r,i,o,u="style."+n,a="end."+u;return function(){var c=Tr(this,t),f=c.on,s=null==c.value[u]?o||(o=ni(n)):void 0;f===e&&i===s||(r=(e=f).copy()).on(a,i=s),c.on=r}}(this._id,t)):this.styleTween(t,function(t,n,e){var r,i,o=e+"";return function(){var u=ne(this,t);return u===o?null:u===r?i:i=n(r=u,e)}}(t,r,n),e).on("end.style."+t,null)},styleTween:function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!==typeof n)throw new Error;return this.tween(r,function(t,n,e){var r,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,n,e){return function(r){this.style.setProperty(t,n.call(this,r),e)}}(t,o,e)),r}return o._value=n,o}(t,n,null==e?"":e))},text:function(t){return this.tween("text","function"===typeof t?function(t){return function(){var n=t(this);this.textContent=null==n?"":n}}(qr(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!==typeof t)throw new Error;return this.tween(n,function(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&function(t){return function(n){this.textContent=t.call(this,n)}}(r)),n}return r._value=t,r}(t))},remove:function(){return this.on("end.remove",function(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}(this._id))},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=Sr(this.node(),e).tween,o=0,u=i.length;o<u;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==n?zr:Yr)(e,t,n))},delay:function(t){var n=this._id;return arguments.length?this.each(("function"===typeof t?Vr:Qr)(n,t)):Sr(this.node(),n).delay},duration:function(t){var n=this._id;return arguments.length?this.each(("function"===typeof t?Kr:Jr)(n,t)):Sr(this.node(),n).duration},ease:function(t){var n=this._id;return arguments.length?this.each(function(t,n){if("function"!==typeof n)throw new Error;return function(){Tr(this,t).ease=n}}(n,t)):Sr(this.node(),n).ease},easeVarying:function(t){if("function"!==typeof t)throw new Error;return this.each(function(t,n){return function(){var e=n.apply(this,arguments);if("function"!==typeof e)throw new Error;Tr(this,t).ease=e}}(this._id,t))},end:function(){var t,n,e=this,r=e._id,i=e.size();return new Promise((function(o,u){var a={value:u},c={value:function(){0===--i&&o()}};e.each((function(){var e=Tr(this,r),i=e.on;i!==t&&((n=(t=i).copy())._.cancel.push(a),n._.interrupt.push(a),n._.end.push(c)),e.on=n})),0===i&&o()}))},[Symbol.iterator]:ui[Symbol.iterator]};var si={time:null,delay:0,duration:250,ease:fi};function li(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))throw new Error(`transition ${n} not found`);return e}Ye.prototype.interrupt=function(t){return this.each((function(){Ar(this,t)}))},Ye.prototype.transition=function(t){var n,e;t instanceof ri?(n=t._id,t=t._name):(n=oi(),(e=si).time=ir(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],c=a.length,f=0;f<c;++f)(u=a[f])&&xr(u,t,n,f,a,e||li(u,n));return new ri(r,this._parents,t,n)};var hi=[null];function di(t,n){var e,r,i=t.__transition;if(i)for(r in n=null==n?null:n+"",i)if((e=i[r]).state>vr&&e.name===n)return new ri([[t]],hi,n,+r);return null}var pi=t=>()=>t;function gi(t,{sourceEvent:n,target:e,selection:r,mode:i,dispatch:o}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},selection:{value:r,enumerable:!0,configurable:!0},mode:{value:i,enumerable:!0,configurable:!0},_:{value:o}})}function vi(t){t.preventDefault(),t.stopImmediatePropagation()}var yi={name:"drag"},mi={name:"space"},bi={name:"handle"},_i={name:"center"};const{abs:wi,max:xi,min:Mi}=Math;function Ti(t){return[+t[0],+t[1]]}function Si(t){return[Ti(t[0]),Ti(t[1])]}var Ai={name:"x",handles:["w","e"].map(Ui),input:function(t,n){return null==t?null:[[+t[0],n[0][1]],[+t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},ki={name:"y",handles:["n","s"].map(Ui),input:function(t,n){return null==t?null:[[n[0][0],+t[0]],[n[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},Ni={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(Ui),input:function(t){return null==t?null:Si(t)},output:function(t){return t}},Ei={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Ci={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Pi={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Zi={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Di={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Ui(t){return{type:t}}function zi(t){return!t.ctrlKey&&!t.button}function Yi(){var t=this.ownerSVGElement||this;return 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]]}function qi(){return navigator.maxTouchPoints||"ontouchstart"in this}function Fi(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Ri(t){var n=t.__brush;return n?n.dim.output(n.selection):null}function Oi(){return Ii(Ai)}function Bi(){return Ii(ki)}function $i(){return Ii(Ni)}function Ii(t){var n,e=Yi,r=zi,i=qi,o=!0,u=Mn("start","brush","end"),a=6;function c(n){var e=n.property("__brush",g).selectAll(".overlay").data([Ui("overlay")]);e.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",Ei.overlay).merge(e).each((function(){var t=Fi(this).extent;qe(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),n.selectAll(".selection").data([Ui("selection")]).enter().append("rect").attr("class","selection").attr("cursor",Ei.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=n.selectAll(".handle").data(t.handles,(function(t){return t.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return Ei[t.type]})),n.each(f).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",h).filter(i).on("touchstart.brush",h).on("touchmove.brush",d).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function f(){var t=qe(this),n=Fi(this).selection;n?(t.selectAll(".selection").style("display",null).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?n[1][0]-a/2:n[0][0]-a/2})).attr("y",(function(t){return"s"===t.type[0]?n[1][1]-a/2:n[0][1]-a/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?n[1][0]-n[0][0]+a:a})).attr("height",(function(t){return"e"===t.type||"w"===t.type?n[1][1]-n[0][1]+a:a}))):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function s(t,n,e){var r=t.__brush.emitter;return!r||e&&r.clean?new l(t,n,e):r}function l(t,n,e){this.that=t,this.args=n,this.state=t.__brush,this.active=0,this.clean=e}function h(e){if((!n||e.touches)&&r.apply(this,arguments)){var i,u,a,c,l,h,d,p,g,v,y,m=this,b=e.target.__data__.type,_="selection"===(o&&e.metaKey?b="overlay":b)?yi:o&&e.altKey?_i:bi,w=t===ki?null:Zi[b],x=t===Ai?null:Di[b],M=Fi(m),T=M.extent,S=M.selection,A=T[0][0],k=T[0][1],N=T[1][0],E=T[1][1],C=0,P=0,Z=w&&x&&o&&e.shiftKey,D=Array.from(e.touches||[e],(t=>{const n=t.identifier;return(t=je(t,m)).point0=t.slice(),t.identifier=n,t}));Ar(m);var U=s(m,arguments,!0).beforestart();if("overlay"===b){S&&(g=!0);const n=[D[0],D[1]||D[0]];M.selection=S=[[i=t===ki?A:Mi(n[0][0],n[1][0]),a=t===Ai?k:Mi(n[0][1],n[1][1])],[l=t===ki?N:xi(n[0][0],n[1][0]),d=t===Ai?E:xi(n[0][1],n[1][1])]],D.length>1&&R(e)}else i=S[0][0],a=S[0][1],l=S[1][0],d=S[1][1];u=i,c=a,h=l,p=d;var z=qe(m).attr("pointer-events","none"),Y=z.selectAll(".overlay").attr("cursor",Ei[b]);if(e.touches)U.moved=F,U.ended=O;else{var q=qe(e.view).on("mousemove.brush",F,!0).on("mouseup.brush",O,!0);o&&q.on("keydown.brush",(function(t){switch(t.keyCode){case 16:Z=w&&x;break;case 18:_===bi&&(w&&(l=h-C*w,i=u+C*w),x&&(d=p-P*x,a=c+P*x),_=_i,R(t));break;case 32:_!==bi&&_!==_i||(w<0?l=h-C:w>0&&(i=u-C),x<0?d=p-P:x>0&&(a=c-P),_=mi,Y.attr("cursor",Ei.selection),R(t));break;default:return}vi(t)}),!0).on("keyup.brush",(function(t){switch(t.keyCode){case 16:Z&&(v=y=Z=!1,R(t));break;case 18:_===_i&&(w<0?l=h:w>0&&(i=u),x<0?d=p:x>0&&(a=c),_=bi,R(t));break;case 32:_===mi&&(t.altKey?(w&&(l=h-C*w,i=u+C*w),x&&(d=p-P*x,a=c+P*x),_=_i):(w<0?l=h:w>0&&(i=u),x<0?d=p:x>0&&(a=c),_=bi),Y.attr("cursor",Ei[b]),R(t));break;default:return}vi(t)}),!0),$e(e.view)}f.call(m),U.start(e,_.name)}function F(t){for(const n of t.changedTouches||[t])for(const t of D)t.identifier===n.identifier&&(t.cur=je(n,m));if(Z&&!v&&!y&&1===D.length){const t=D[0];wi(t.cur[0]-t[0])>wi(t.cur[1]-t[1])?y=!0:v=!0}for(const n of D)n.cur&&(n[0]=n.cur[0],n[1]=n.cur[1]);g=!0,vi(t),R(t)}function R(t){const n=D[0],e=n.point0;var r;switch(C=n[0]-e[0],P=n[1]-e[1],_){case mi:case yi:w&&(C=xi(A-i,Mi(N-l,C)),u=i+C,h=l+C),x&&(P=xi(k-a,Mi(E-d,P)),c=a+P,p=d+P);break;case bi:D[1]?(w&&(u=xi(A,Mi(N,D[0][0])),h=xi(A,Mi(N,D[1][0])),w=1),x&&(c=xi(k,Mi(E,D[0][1])),p=xi(k,Mi(E,D[1][1])),x=1)):(w<0?(C=xi(A-i,Mi(N-i,C)),u=i+C,h=l):w>0&&(C=xi(A-l,Mi(N-l,C)),u=i,h=l+C),x<0?(P=xi(k-a,Mi(E-a,P)),c=a+P,p=d):x>0&&(P=xi(k-d,Mi(E-d,P)),c=a,p=d+P));break;case _i:w&&(u=xi(A,Mi(N,i-C*w)),h=xi(A,Mi(N,l+C*w))),x&&(c=xi(k,Mi(E,a-P*x)),p=xi(k,Mi(E,d+P*x)))}h<u&&(w*=-1,r=i,i=l,l=r,r=u,u=h,h=r,b in Ci&&Y.attr("cursor",Ei[b=Ci[b]])),p<c&&(x*=-1,r=a,a=d,d=r,r=c,c=p,p=r,b in Pi&&Y.attr("cursor",Ei[b=Pi[b]])),M.selection&&(S=M.selection),v&&(u=S[0][0],h=S[1][0]),y&&(c=S[0][1],p=S[1][1]),S[0][0]===u&&S[0][1]===c&&S[1][0]===h&&S[1][1]===p||(M.selection=[[u,c],[h,p]],f.call(m),U.brush(t,_.name))}function O(t){if(function(t){t.stopImmediatePropagation()}(t),t.touches){if(t.touches.length)return;n&&clearTimeout(n),n=setTimeout((function(){n=null}),500)}else Ie(t.view,g),q.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);z.attr("pointer-events","all"),Y.attr("cursor",Ei.overlay),M.selection&&(S=M.selection),function(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}(S)&&(M.selection=null,f.call(m)),U.end(t,_.name)}}function d(t){s(this,arguments).moved(t)}function p(t){s(this,arguments).ended(t)}function g(){var n=this.__brush||{selection:null};return n.extent=Si(e.apply(this,arguments)),n.dim=t,n}return c.move=function(n,e,r){n.tween?n.on("start.brush",(function(t){s(this,arguments).beforestart().start(t)})).on("interrupt.brush end.brush",(function(t){s(this,arguments).end(t)})).tween("brush",(function(){var n=this,r=n.__brush,i=s(n,arguments),o=r.selection,u=t.input("function"===typeof e?e.apply(this,arguments):e,r.extent),a=(0,Le.Z)(o,u);function c(t){r.selection=1===t&&null===u?null:a(t),f.call(n),i.brush()}return null!==o&&null!==u?c:c(1)})):n.each((function(){var n=this,i=arguments,o=n.__brush,u=t.input("function"===typeof e?e.apply(n,i):e,o.extent),a=s(n,i).beforestart();Ar(n),o.selection=null===u?null:u,f.call(n),a.start(r).brush(r).end(r)}))},c.clear=function(t,n){c.move(t,null,n)},l.prototype={beforestart:function(){return 1===++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(t,n){return this.starting?(this.starting=!1,this.emit("start",t,n)):this.emit("brush",t),this},brush:function(t,n){return this.emit("brush",t,n),this},end:function(t,n){return 0===--this.active&&(delete this.state.emitter,this.emit("end",t,n)),this},emit:function(n,e,r){var i=qe(this.that).datum();u.call(n,this.that,new gi(n,{sourceEvent:e,target:c,selection:t.output(this.state.selection),mode:r,dispatch:u}),i)}},c.extent=function(t){return arguments.length?(e="function"===typeof t?t:pi(Si(t)),c):e},c.filter=function(t){return arguments.length?(r="function"===typeof t?t:pi(!!t),c):r},c.touchable=function(t){return arguments.length?(i="function"===typeof t?t:pi(!!t),c):i},c.handleSize=function(t){return arguments.length?(a=+t,c):a},c.keyModifiers=function(t){return arguments.length?(o=!!t,c):o},c.on=function(){var t=u.on.apply(u,arguments);return t===u?c:t},c}var Li=Math.abs,Hi=Math.cos,ji=Math.sin,Wi=Math.PI,Xi=Wi/2,Gi=2*Wi,Vi=Math.max,Qi=1e-12;function Ki(t,n){return Array.from({length:n-t},((n,e)=>t+e))}function Ji(){return eo(!1,!1)}function to(){return eo(!1,!0)}function no(){return eo(!0,!1)}function eo(t,n){var e=0,r=null,i=null,o=null;function u(u){var a,c=u.length,f=new Array(c),s=Ki(0,c),l=new Array(c*c),h=new Array(c),d=0;u=Float64Array.from({length:c*c},n?(t,n)=>u[n%c][n/c|0]:(t,n)=>u[n/c|0][n%c]);for(let n=0;n<c;++n){let e=0;for(let r=0;r<c;++r)e+=u[n*c+r]+t*u[r*c+n];d+=f[n]=e}a=(d=Vi(0,Gi-e*c)/d)?e:Gi/c;{let n=0;r&&s.sort(((t,n)=>r(f[t],f[n])));for(const e of s){const r=n;if(t){const t=Ki(1+~c,c).filter((t=>t<0?u[~t*c+e]:u[e*c+t]));i&&t.sort(((t,n)=>i(t<0?-u[~t*c+e]:u[e*c+t],n<0?-u[~n*c+e]:u[e*c+n])));for(const r of t)if(r<0){(l[~r*c+e]||(l[~r*c+e]={source:null,target:null})).target={index:e,startAngle:n,endAngle:n+=u[~r*c+e]*d,value:u[~r*c+e]}}else{(l[e*c+r]||(l[e*c+r]={source:null,target:null})).source={index:e,startAngle:n,endAngle:n+=u[e*c+r]*d,value:u[e*c+r]}}h[e]={index:e,startAngle:r,endAngle:n,value:f[e]}}else{const t=Ki(0,c).filter((t=>u[e*c+t]||u[t*c+e]));i&&t.sort(((t,n)=>i(u[e*c+t],u[e*c+n])));for(const r of t){let t;if(e<r?(t=l[e*c+r]||(l[e*c+r]={source:null,target:null}),t.source={index:e,startAngle:n,endAngle:n+=u[e*c+r]*d,value:u[e*c+r]}):(t=l[r*c+e]||(l[r*c+e]={source:null,target:null}),t.target={index:e,startAngle:n,endAngle:n+=u[e*c+r]*d,value:u[e*c+r]},e===r&&(t.source=t.target)),t.source&&t.target&&t.source.value<t.target.value){const n=t.source;t.source=t.target,t.target=n}}h[e]={index:e,startAngle:r,endAngle:n,value:f[e]}}n+=a}}return(l=Object.values(l)).groups=h,o?l.sort(o):l}return u.padAngle=function(t){return arguments.length?(e=Vi(0,t),u):e},u.sortGroups=function(t){return arguments.length?(r=t,u):r},u.sortSubgroups=function(t){return arguments.length?(i=t,u):i},u.sortChords=function(t){return arguments.length?(null==t?o=null:(n=t,o=function(t,e){return n(t.source.value+t.target.value,e.source.value+e.target.value)})._=t,u):o&&o._;var n},u}const ro=Math.PI,io=2*ro,oo=1e-6,uo=io-oo;function ao(t){this._+=t[0];for(let n=1,e=t.length;n<e;++n)this._+=arguments[n]+t[n]}class co{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?ao:function(t){let n=Math.floor(t);if(!(n>=0))throw new Error(`invalid digits: ${t}`);if(n>15)return ao;const e=10**n;return function(t){this._+=t[0];for(let n=1,r=t.length;n<r;++n)this._+=Math.round(arguments[n]*e)/e+t[n]}}(t)}moveTo(t,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,n){this._append`L${this._x1=+t},${this._y1=+n}`}quadraticCurveTo(t,n,e,r){this._append`Q${+t},${+n},${this._x1=+e},${this._y1=+r}`}bezierCurveTo(t,n,e,r,i,o){this._append`C${+t},${+n},${+e},${+r},${this._x1=+i},${this._y1=+o}`}arcTo(t,n,e,r,i){if(t=+t,n=+n,e=+e,r=+r,(i=+i)<0)throw new Error(`negative radius: ${i}`);let o=this._x1,u=this._y1,a=e-t,c=r-n,f=o-t,s=u-n,l=f*f+s*s;if(null===this._x1)this._append`M${this._x1=t},${this._y1=n}`;else if(l>oo)if(Math.abs(s*a-c*f)>oo&&i){let h=e-o,d=r-u,p=a*a+c*c,g=h*h+d*d,v=Math.sqrt(p),y=Math.sqrt(l),m=i*Math.tan((ro-Math.acos((p+l-g)/(2*v*y)))/2),b=m/y,_=m/v;Math.abs(b-1)>oo&&this._append`L${t+b*f},${n+b*s}`,this._append`A${i},${i},0,0,${+(s*h>f*d)},${this._x1=t+_*a},${this._y1=n+_*c}`}else this._append`L${this._x1=t},${this._y1=n}`;else;}arc(t,n,e,r,i,o){if(t=+t,n=+n,o=!!o,(e=+e)<0)throw new Error(`negative radius: ${e}`);let u=e*Math.cos(r),a=e*Math.sin(r),c=t+u,f=n+a,s=1^o,l=o?r-i:i-r;null===this._x1?this._append`M${c},${f}`:(Math.abs(this._x1-c)>oo||Math.abs(this._y1-f)>oo)&&this._append`L${c},${f}`,e&&(l<0&&(l=l%io+io),l>uo?this._append`A${e},${e},0,1,${s},${t-u},${n-a}A${e},${e},0,1,${s},${this._x1=c},${this._y1=f}`:l>oo&&this._append`A${e},${e},0,${+(l>=ro)},${s},${this._x1=t+e*Math.cos(i)},${this._y1=n+e*Math.sin(i)}`)}rect(t,n,e,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${e=+e}v${+r}h${-e}Z`}toString(){return this._}}function fo(){return new co}function so(t=3){return new co(+t)}fo.prototype=co.prototype;var lo=Array.prototype.slice;function ho(t){return function(){return t}}function po(t){return t.source}function go(t){return t.target}function vo(t){return t.radius}function yo(t){return t.startAngle}function mo(t){return t.endAngle}function bo(){return 0}function _o(){return 10}function wo(t){var n=po,e=go,r=vo,i=vo,o=yo,u=mo,a=bo,c=null;function f(){var f,s=n.apply(this,arguments),l=e.apply(this,arguments),h=a.apply(this,arguments)/2,d=lo.call(arguments),p=+r.apply(this,(d[0]=s,d)),g=o.apply(this,d)-Xi,v=u.apply(this,d)-Xi,y=+i.apply(this,(d[0]=l,d)),m=o.apply(this,d)-Xi,b=u.apply(this,d)-Xi;if(c||(c=f=fo()),h>Qi&&(Li(v-g)>2*h+Qi?v>g?(g+=h,v-=h):(g-=h,v+=h):g=v=(g+v)/2,Li(b-m)>2*h+Qi?b>m?(m+=h,b-=h):(m-=h,b+=h):m=b=(m+b)/2),c.moveTo(p*Hi(g),p*ji(g)),c.arc(0,0,p,g,v),g!==m||v!==b)if(t){var _=y-+t.apply(this,arguments),w=(m+b)/2;c.quadraticCurveTo(0,0,_*Hi(m),_*ji(m)),c.lineTo(y*Hi(w),y*ji(w)),c.lineTo(_*Hi(b),_*ji(b))}else c.quadraticCurveTo(0,0,y*Hi(m),y*ji(m)),c.arc(0,0,y,m,b);if(c.quadraticCurveTo(0,0,p*Hi(g),p*ji(g)),c.closePath(),f)return c=null,f+""||null}return t&&(f.headRadius=function(n){return arguments.length?(t="function"===typeof n?n:ho(+n),f):t}),f.radius=function(t){return arguments.length?(r=i="function"===typeof t?t:ho(+t),f):r},f.sourceRadius=function(t){return arguments.length?(r="function"===typeof t?t:ho(+t),f):r},f.targetRadius=function(t){return arguments.length?(i="function"===typeof t?t:ho(+t),f):i},f.startAngle=function(t){return arguments.length?(o="function"===typeof t?t:ho(+t),f):o},f.endAngle=function(t){return arguments.length?(u="function"===typeof t?t:ho(+t),f):u},f.padAngle=function(t){return arguments.length?(a="function"===typeof t?t:ho(+t),f):a},f.source=function(t){return arguments.length?(n=t,f):n},f.target=function(t){return arguments.length?(e=t,f):e},f.context=function(t){return arguments.length?(c=null==t?null:t,f):c},f}function xo(){return wo()}function Mo(){return wo(_o)}var To=e(49531);const So=Math.PI/180,Ao=180/Math.PI,ko=.96422,No=1,Eo=.82521,Co=4/29,Po=6/29,Zo=3*Po*Po,Do=Po*Po*Po;function Uo(t){if(t instanceof qo)return new qo(t.l,t.a,t.b,t.opacity);if(t instanceof Ho)return jo(t);t instanceof Fr.Ss||(t=(0,Fr.SU)(t));var n,e,r=Bo(t.r),i=Bo(t.g),o=Bo(t.b),u=Fo((.2225045*r+.7168786*i+.0606169*o)/No);return r===i&&i===o?n=e=u:(n=Fo((.4360747*r+.3850649*i+.1430804*o)/ko),e=Fo((.0139322*r+.0971045*i+.7141733*o)/Eo)),new qo(116*u-16,500*(n-u),200*(u-e),t.opacity)}function zo(t,n){return new qo(t,0,0,null==n?1:n)}function Yo(t,n,e,r){return 1===arguments.length?Uo(t):new qo(t,n,e,null==r?1:r)}function qo(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function Fo(t){return t>Do?Math.pow(t,1/3):t/Zo+Co}function Ro(t){return t>Po?t*t*t:Zo*(t-Co)}function Oo(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Bo(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function $o(t){if(t instanceof Ho)return new Ho(t.h,t.c,t.l,t.opacity);if(t instanceof qo||(t=Uo(t)),0===t.a&&0===t.b)return new Ho(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var n=Math.atan2(t.b,t.a)*Ao;return new Ho(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Io(t,n,e,r){return 1===arguments.length?$o(t):new Ho(e,n,t,null==r?1:r)}function Lo(t,n,e,r){return 1===arguments.length?$o(t):new Ho(t,n,e,null==r?1:r)}function Ho(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}function jo(t){if(isNaN(t.h))return new qo(t.l,0,0,t.opacity);var n=t.h*So;return new qo(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}(0,To.Z)(qo,Yo,(0,To.l)(Fr.Il,{brighter(t){return new qo(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new qo(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return n=ko*Ro(n),t=No*Ro(t),e=Eo*Ro(e),new Fr.Ss(Oo(3.1338561*n-1.6168667*t-.4906146*e),Oo(-.9787684*n+1.9161415*t+.033454*e),Oo(.0719453*n-.2289914*t+1.4052427*e),this.opacity)}})),(0,To.Z)(Ho,Lo,(0,To.l)(Fr.Il,{brighter(t){return new Ho(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker(t){return new Ho(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb(){return jo(this).rgb()}}));var Wo=-.14861,Xo=1.78277,Go=-.29227,Vo=-.90649,Qo=1.97294,Ko=Qo*Vo,Jo=Qo*Xo,tu=Xo*Go-Vo*Wo;function nu(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof eu)return new eu(t.h,t.s,t.l,t.opacity);t instanceof Fr.Ss||(t=(0,Fr.SU)(t));var n=t.r/255,e=t.g/255,r=t.b/255,i=(tu*r+Ko*n-Jo*e)/(tu+Ko-Jo),o=r-i,u=(Qo*(e-i)-Go*o)/Vo,a=Math.sqrt(u*u+o*o)/(Qo*i*(1-i)),c=a?Math.atan2(u,o)*Ao-120:NaN;return new eu(c<0?c+360:c,a,i,t.opacity)}(t):new eu(t,n,e,null==r?1:r)}function eu(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function ru(t){return Math.max(1,Math.ceil(Math.log(function(t,n){let e=0;if(void 0===n)for(let r of t)null!=r&&(r=+r)>=r&&++e;else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(i=+i)>=i&&++e}return e}(t))/Math.LN2)+1)}(0,To.Z)(eu,nu,(0,To.l)(Fr.Il,{brighter(t){return t=null==t?Fr.J5:Math.pow(Fr.J5,t),new eu(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?Fr.xV:Math.pow(Fr.xV,t),new eu(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=isNaN(this.h)?0:(this.h+120)*So,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),i=Math.sin(t);return new Fr.Ss(255*(n+e*(Wo*r+Xo*i)),255*(n+e*(Go*r+Vo*i)),255*(n+e*(Qo*r)),this.opacity)}}));const iu=Math.sqrt(50),ou=Math.sqrt(10),uu=Math.sqrt(2);function au(t,n,e){const r=(n-t)/Math.max(0,e),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),u=o>=iu?10:o>=ou?5:o>=uu?2:1;let a,c,f;return i<0?(f=Math.pow(10,-i)/u,a=Math.round(t*f),c=Math.round(n*f),a/f<t&&++a,c/f>n&&--c,f=-f):(f=Math.pow(10,i)*u,a=Math.round(t/f),c=Math.round(n/f),a*f<t&&++a,c*f>n&&--c),c<a&&.5<=e&&e<2?au(t,n,2*e):[a,c,f]}function cu(t,n,e){if(!((e=+e)>0))return[];if((t=+t)===(n=+n))return[t];const r=n<t,[i,o,u]=r?au(n,t,e):au(t,n,e);if(!(o>=i))return[];const a=o-i+1,c=new Array(a);if(r)if(u<0)for(let f=0;f<a;++f)c[f]=(o-f)/-u;else for(let f=0;f<a;++f)c[f]=(o-f)*u;else if(u<0)for(let f=0;f<a;++f)c[f]=(i+f)/-u;else for(let f=0;f<a;++f)c[f]=(i+f)*u;return c}function fu(t,n,e){return au(t=+t,n=+n,e=+e)[2]}var su=Array.prototype.slice;function lu(t,n){return t-n}var hu=t=>()=>t;function du(t,n){for(var e,r=-1,i=n.length;++r<i;)if(e=pu(t,n[r]))return e;return 0}function pu(t,n){for(var e=n[0],r=n[1],i=-1,o=0,u=t.length,a=u-1;o<u;a=o++){var c=t[o],f=c[0],s=c[1],l=t[a],h=l[0],d=l[1];if(gu(c,l,n))return 0;s>r!==d>r&&e<(h-f)*(r-s)/(d-s)+f&&(i=-i)}return i}function gu(t,n,e){var r,i,o,u;return function(t,n,e){return(n[0]-t[0])*(e[1]-t[1])===(e[0]-t[0])*(n[1]-t[1])}(t,n,e)&&(i=t[r=+(t[0]===n[0])],o=e[r],u=n[r],i<=o&&o<=u||u<=o&&o<=i)}function vu(){}var yu=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function mu(){var t=1,n=1,e=ru,r=a;function i(t){var n=e(t);if(Array.isArray(n))n=n.slice().sort(lu);else{const e=function(t,n){let e,r;if(void 0===n)for(const i of t)null!=i&&(void 0===e?i>=i&&(e=r=i):(e>i&&(e=i),r<i&&(r=i)));else{let i=-1;for(let o of t)null!=(o=n(o,++i,t))&&(void 0===e?o>=o&&(e=r=o):(e>o&&(e=o),r<o&&(r=o)))}return[e,r]}(t,bu);for(n=cu(...function(t,n,e){let r;for(;;){const i=fu(t,n,e);if(i===r||0===i||!isFinite(i))return[t,n];i>0?(t=Math.floor(t/i)*i,n=Math.ceil(n/i)*i):i<0&&(t=Math.ceil(t*i)/i,n=Math.floor(n*i)/i),r=i}}(e[0],e[1],n),n);n[n.length-1]>=e[1];)n.pop();for(;n[1]<e[0];)n.shift()}return n.map((n=>o(t,n)))}function o(e,i){const o=null==i?NaN:+i;if(isNaN(o))throw new Error(`invalid value: ${i}`);var a=[],c=[];return function(e,r,i){var o,a,c,f,s,l,h=new Array,d=new Array;o=a=-1,f=_u(e[0],r),yu[f<<1].forEach(p);for(;++o<t-1;)c=f,f=_u(e[o+1],r),yu[c|f<<1].forEach(p);yu[f<<0].forEach(p);for(;++a<n-1;){for(o=-1,f=_u(e[a*t+t],r),s=_u(e[a*t],r),yu[f<<1|s<<2].forEach(p);++o<t-1;)c=f,f=_u(e[a*t+t+o+1],r),l=s,s=_u(e[a*t+o+1],r),yu[c|f<<1|s<<2|l<<3].forEach(p);yu[f|s<<3].forEach(p)}o=-1,s=e[a*t]>=r,yu[s<<2].forEach(p);for(;++o<t-1;)l=s,s=_u(e[a*t+o+1],r),yu[s<<2|l<<3].forEach(p);function p(t){var n,e,r=[t[0][0]+o,t[0][1]+a],c=[t[1][0]+o,t[1][1]+a],f=u(r),s=u(c);(n=d[f])?(e=h[s])?(delete d[n.end],delete h[e.start],n===e?(n.ring.push(c),i(n.ring)):h[n.start]=d[e.end]={start:n.start,end:e.end,ring:n.ring.concat(e.ring)}):(delete d[n.end],n.ring.push(c),d[n.end=s]=n):(n=h[s])?(e=d[f])?(delete h[n.start],delete d[e.end],n===e?(n.ring.push(c),i(n.ring)):h[e.start]=d[n.end]={start:e.start,end:n.end,ring:e.ring.concat(n.ring)}):(delete h[n.start],n.ring.unshift(r),h[n.start=f]=n):h[f]=d[s]={start:f,end:s,ring:[r,c]}}yu[s<<3].forEach(p)}(e,o,(function(t){r(t,e,o),function(t){for(var n=0,e=t.length,r=t[e-1][1]*t[0][0]-t[e-1][0]*t[0][1];++n<e;)r+=t[n-1][1]*t[n][0]-t[n-1][0]*t[n][1];return r}(t)>0?a.push([t]):c.push(t)})),c.forEach((function(t){for(var n,e=0,r=a.length;e<r;++e)if(-1!==du((n=a[e])[0],t))return void n.push(t)})),{type:"MultiPolygon",value:i,coordinates:a}}function u(n){return 2*n[0]+n[1]*(t+1)*4}function a(e,r,i){e.forEach((function(e){var o=e[0],u=e[1],a=0|o,c=0|u,f=wu(r[c*t+a]);o>0&&o<t&&a===o&&(e[0]=xu(o,wu(r[c*t+a-1]),f,i)),u>0&&u<n&&c===u&&(e[1]=xu(u,wu(r[(c-1)*t+a]),f,i))}))}return i.contour=o,i.size=function(e){if(!arguments.length)return[t,n];var r=Math.floor(e[0]),o=Math.floor(e[1]);if(!(r>=0&&o>=0))throw new Error("invalid size");return t=r,n=o,i},i.thresholds=function(t){return arguments.length?(e="function"===typeof t?t:Array.isArray(t)?hu(su.call(t)):hu(t),i):e},i.smooth=function(t){return arguments.length?(r=t?a:vu,i):r===a},i}function bu(t){return isFinite(t)?t:NaN}function _u(t,n){return null!=t&&+t>=n}function wu(t){return null==t||isNaN(t=+t)?-1/0:t}function xu(t,n,e,r){const i=r-n,o=e-n,u=isFinite(i)||isFinite(o)?i/o:Math.sign(i)/Math.sign(o);return isNaN(u)?t:t+u-.5}const Mu=Tu(ku);Tu((function(t){const n=ku(t);return(t,e,r,i,o)=>{n(t,e,(r<<=2)+0,(i<<=2)+0,o<<=2),n(t,e,r+1,i+1,o),n(t,e,r+2,i+2,o),n(t,e,r+3,i+3,o)}}));function Tu(t){return function(n,e,r=e){if(!((e=+e)>=0))throw new RangeError("invalid rx");if(!((r=+r)>=0))throw new RangeError("invalid ry");let{data:i,width:o,height:u}=n;if(!((o=Math.floor(o))>=0))throw new RangeError("invalid width");if(!((u=Math.floor(void 0!==u?u:i.length/o))>=0))throw new RangeError("invalid height");if(!o||!u||!e&&!r)return n;const a=e&&t(e),c=r&&t(r),f=i.slice();return a&&c?(Su(a,f,i,o,u),Su(a,i,f,o,u),Su(a,f,i,o,u),Au(c,i,f,o,u),Au(c,f,i,o,u),Au(c,i,f,o,u)):a?(Su(a,i,f,o,u),Su(a,f,i,o,u),Su(a,i,f,o,u)):c&&(Au(c,i,f,o,u),Au(c,f,i,o,u),Au(c,i,f,o,u)),n}}function Su(t,n,e,r,i){for(let o=0,u=r*i;o<u;)t(n,e,o,o+=r,1)}function Au(t,n,e,r,i){for(let o=0,u=r*i;o<r;++o)t(n,e,o,o+u,r)}function ku(t){const n=Math.floor(t);if(n===t)return function(t){const n=2*t+1;return(e,r,i,o,u)=>{if(!((o-=u)>=i))return;let a=t*r[i];const c=u*t;for(let t=i,n=i+c;t<n;t+=u)a+=r[Math.min(o,t)];for(let t=i,f=o;t<=f;t+=u)a+=r[Math.min(o,t+c)],e[t]=a/n,a-=r[Math.max(i,t-c)]}}(t);const e=t-n,r=2*t+1;return(t,i,o,u,a)=>{if(!((u-=a)>=o))return;let c=n*i[o];const f=a*n,s=f+a;for(let n=o,e=o+f;n<e;n+=a)c+=i[Math.min(u,n)];for(let n=o,l=u;n<=l;n+=a)c+=i[Math.min(u,n+f)],t[n]=(c+e*(i[Math.max(o,n-s)]+i[Math.min(u,n+s)]))/r,c-=i[Math.max(o,n-f)]}}function Nu(t,n){let e;if(void 0===n)for(const r of t)null!=r&&(e<r||void 0===e&&r>=r)&&(e=r);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e<i||void 0===e&&i>=i)&&(e=i)}return e}function Eu(t){return t[0]}function Cu(t){return t[1]}function Pu(){return 1}function Zu(){var t=Eu,n=Cu,e=Pu,r=960,i=500,o=20,u=2,a=3*o,c=r+2*a>>u,f=i+2*a>>u,s=hu(20);function l(r){var i=new Float32Array(c*f),s=Math.pow(2,-u),l=-1;for(const o of r){var h=(t(o,++l,r)+a)*s,d=(n(o,l,r)+a)*s,p=+e(o,l,r);if(p&&h>=0&&h<c&&d>=0&&d<f){var g=Math.floor(h),v=Math.floor(d),y=h-g-.5,m=d-v-.5;i[g+v*c]+=(1-y)*(1-m)*p,i[g+1+v*c]+=y*(1-m)*p,i[g+1+(v+1)*c]+=y*m*p,i[g+(v+1)*c]+=(1-y)*m*p}}return Mu({data:i,width:c,height:f},o*s),i}function h(t){var n=l(t),e=s(n),r=Math.pow(2,2*u);return Array.isArray(e)||(e=cu(Number.MIN_VALUE,Nu(n)/r,e)),mu().size([c,f]).thresholds(e.map((t=>t*r)))(n).map(((t,n)=>(t.value=+e[n],d(t))))}function d(t){return t.coordinates.forEach(p),t}function p(t){t.forEach(g)}function g(t){t.forEach(v)}function v(t){t[0]=t[0]*Math.pow(2,u)-a,t[1]=t[1]*Math.pow(2,u)-a}function y(){return c=r+2*(a=3*o)>>u,f=i+2*a>>u,h}return h.contours=function(t){var n=l(t),e=mu().size([c,f]),r=Math.pow(2,2*u),i=t=>{t=+t;var i=d(e.contour(n,t*r));return i.value=t,i};return Object.defineProperty(i,"max",{get:()=>Nu(n)/r}),i},h.x=function(n){return arguments.length?(t="function"===typeof n?n:hu(+n),h):t},h.y=function(t){return arguments.length?(n="function"===typeof t?t:hu(+t),h):n},h.weight=function(t){return arguments.length?(e="function"===typeof t?t:hu(+t),h):e},h.size=function(t){if(!arguments.length)return[r,i];var n=+t[0],e=+t[1];if(!(n>=0&&e>=0))throw new Error("invalid size");return r=n,i=e,y()},h.cellSize=function(t){if(!arguments.length)return 1<<u;if(!((t=+t)>=1))throw new Error("invalid cell size");return u=Math.floor(Math.log(t)/Math.LN2),y()},h.thresholds=function(t){return arguments.length?(s="function"===typeof t?t:Array.isArray(t)?hu(su.call(t)):hu(t),h):s},h.bandwidth=function(t){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return o=(Math.sqrt(4*t*t+1)-1)/2,y()},h}var Du=e(65378);const Uu=Math.pow(2,-52),zu=new Uint32Array(512);class Yu{static from(t,n=$u,e=Iu){const r=t.length,i=new Float64Array(2*r);for(let o=0;o<r;o++){const r=t[o];i[2*o]=n(r),i[2*o+1]=e(r)}return new Yu(i)}constructor(t){const n=t.length>>1;if(n>0&&"number"!==typeof t[0])throw new Error("Expected coords to contain numbers.");this.coords=t;const e=Math.max(2*n-5,0);this._triangles=new Uint32Array(3*e),this._halfedges=new Int32Array(3*e),this._hashSize=Math.ceil(Math.sqrt(n)),this._hullPrev=new Uint32Array(n),this._hullNext=new Uint32Array(n),this._hullTri=new Uint32Array(n),this._hullHash=new Int32Array(this._hashSize).fill(-1),this._ids=new Uint32Array(n),this._dists=new Float64Array(n),this.update()}update(){const{coords:t,_hullPrev:n,_hullNext:e,_hullTri:r,_hullHash:i}=this,o=t.length>>1;let u=1/0,a=1/0,c=-1/0,f=-1/0;for(let S=0;S<o;S++){const n=t[2*S],e=t[2*S+1];n<u&&(u=n),e<a&&(a=e),n>c&&(c=n),e>f&&(f=e),this._ids[S]=S}const s=(u+c)/2,l=(a+f)/2;let h,d,p,g=1/0;for(let S=0;S<o;S++){const n=qu(s,l,t[2*S],t[2*S+1]);n<g&&(h=S,g=n)}const v=t[2*h],y=t[2*h+1];g=1/0;for(let S=0;S<o;S++){if(S===h)continue;const n=qu(v,y,t[2*S],t[2*S+1]);n<g&&n>0&&(d=S,g=n)}let m=t[2*d],b=t[2*d+1],_=1/0;for(let S=0;S<o;S++){if(S===h||S===d)continue;const n=Ru(v,y,m,b,t[2*S],t[2*S+1]);n<_&&(p=S,_=n)}let w=t[2*p],x=t[2*p+1];if(_===1/0){for(let r=0;r<o;r++)this._dists[r]=t[2*r]-t[0]||t[2*r+1]-t[1];Ou(this._ids,this._dists,0,o-1);const n=new Uint32Array(o);let e=0;for(let t=0,r=-1/0;t<o;t++){const i=this._ids[t];this._dists[i]>r&&(n[e++]=i,r=this._dists[i])}return this.hull=n.subarray(0,e),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if((0,Du.IW)(v,y,m,b,w,x)<0){const t=d,n=m,e=b;d=p,m=w,b=x,p=t,w=n,x=e}const M=function(t,n,e,r,i,o){const u=e-t,a=r-n,c=i-t,f=o-n,s=u*u+a*a,l=c*c+f*f,h=.5/(u*f-a*c),d=t+(f*s-a*l)*h,p=n+(u*l-c*s)*h;return{x:d,y:p}}(v,y,m,b,w,x);this._cx=M.x,this._cy=M.y;for(let S=0;S<o;S++)this._dists[S]=qu(t[2*S],t[2*S+1],M.x,M.y);Ou(this._ids,this._dists,0,o-1),this._hullStart=h;let T=3;e[h]=n[p]=d,e[d]=n[h]=p,e[p]=n[d]=h,r[h]=0,r[d]=1,r[p]=2,i.fill(-1),i[this._hashKey(v,y)]=h,i[this._hashKey(m,b)]=d,i[this._hashKey(w,x)]=p,this.trianglesLen=0,this._addTriangle(h,d,p,-1,-1,-1);for(let S,A,k=0;k<this._ids.length;k++){const o=this._ids[k],u=t[2*o],a=t[2*o+1];if(k>0&&Math.abs(u-S)<=Uu&&Math.abs(a-A)<=Uu)continue;if(S=u,A=a,o===h||o===d||o===p)continue;let c=0;for(let t=0,n=this._hashKey(u,a);t<this._hashSize&&(c=i[(n+t)%this._hashSize],-1===c||c===e[c]);t++);c=n[c];let f,s=c;for(;f=e[s],(0,Du.IW)(u,a,t[2*s],t[2*s+1],t[2*f],t[2*f+1])>=0;)if(s=f,s===c){s=-1;break}if(-1===s)continue;let l=this._addTriangle(s,o,e[s],-1,-1,r[s]);r[o]=this._legalize(l+2),r[s]=l,T++;let g=e[s];for(;f=e[g],(0,Du.IW)(u,a,t[2*g],t[2*g+1],t[2*f],t[2*f+1])<0;)l=this._addTriangle(g,o,f,r[o],-1,r[g]),r[o]=this._legalize(l+2),e[g]=g,T--,g=f;if(s===c)for(;f=n[s],(0,Du.IW)(u,a,t[2*f],t[2*f+1],t[2*s],t[2*s+1])<0;)l=this._addTriangle(f,o,s,-1,r[s],r[f]),this._legalize(l+2),r[f]=l,e[s]=s,T--,s=f;this._hullStart=n[o]=s,e[s]=n[g]=o,e[o]=g,i[this._hashKey(u,a)]=o,i[this._hashKey(t[2*s],t[2*s+1])]=s}this.hull=new Uint32Array(T);for(let S=0,A=this._hullStart;S<T;S++)this.hull[S]=A,A=e[A];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}_hashKey(t,n){return Math.floor(function(t,n){const e=t/(Math.abs(t)+Math.abs(n));return(n>0?3-e:1+e)/4}(t-this._cx,n-this._cy)*this._hashSize)%this._hashSize}_legalize(t){const{_triangles:n,_halfedges:e,coords:r}=this;let i=0,o=0;for(;;){const u=e[t],a=t-t%3;if(o=a+(t+2)%3,-1===u){if(0===i)break;t=zu[--i];continue}const c=u-u%3,f=a+(t+1)%3,s=c+(u+2)%3,l=n[o],h=n[t],d=n[f],p=n[s];if(Fu(r[2*l],r[2*l+1],r[2*h],r[2*h+1],r[2*d],r[2*d+1],r[2*p],r[2*p+1])){n[t]=p,n[u]=l;const r=e[s];if(-1===r){let n=this._hullStart;do{if(this._hullTri[n]===s){this._hullTri[n]=t;break}n=this._hullPrev[n]}while(n!==this._hullStart)}this._link(t,r),this._link(u,e[o]),this._link(o,s);const a=c+(u+1)%3;i<zu.length&&(zu[i++]=a)}else{if(0===i)break;t=zu[--i]}}return o}_link(t,n){this._halfedges[t]=n,-1!==n&&(this._halfedges[n]=t)}_addTriangle(t,n,e,r,i,o){const u=this.trianglesLen;return this._triangles[u]=t,this._triangles[u+1]=n,this._triangles[u+2]=e,this._link(u,r),this._link(u+1,i),this._link(u+2,o),this.trianglesLen+=3,u}}function qu(t,n,e,r){const i=t-e,o=n-r;return i*i+o*o}function Fu(t,n,e,r,i,o,u,a){const c=t-u,f=n-a,s=e-u,l=r-a,h=i-u,d=o-a,p=s*s+l*l,g=h*h+d*d;return c*(l*g-p*d)-f*(s*g-p*h)+(c*c+f*f)*(s*d-l*h)<0}function Ru(t,n,e,r,i,o){const u=e-t,a=r-n,c=i-t,f=o-n,s=u*u+a*a,l=c*c+f*f,h=.5/(u*f-a*c),d=(f*s-a*l)*h,p=(u*l-c*s)*h;return d*d+p*p}function Ou(t,n,e,r){if(r-e<=20)for(let i=e+1;i<=r;i++){const r=t[i],o=n[r];let u=i-1;for(;u>=e&&n[t[u]]>o;)t[u+1]=t[u--];t[u+1]=r}else{let i=e+1,o=r;Bu(t,e+r>>1,i),n[t[e]]>n[t[r]]&&Bu(t,e,r),n[t[i]]>n[t[r]]&&Bu(t,i,r),n[t[e]]>n[t[i]]&&Bu(t,e,i);const u=t[i],a=n[u];for(;;){do{i++}while(n[t[i]]<a);do{o--}while(n[t[o]]>a);if(o<i)break;Bu(t,i,o)}t[e+1]=t[o],t[o]=u,r-i+1>=o-e?(Ou(t,n,i,r),Ou(t,n,e,o-1)):(Ou(t,n,e,o-1),Ou(t,n,i,r))}}function Bu(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function $u(t){return t[0]}function Iu(t){return t[1]}const Lu=1e-6;class Hu{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(t,n){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(t,n){this._+=`L${this._x1=+t},${this._y1=+n}`}arc(t,n,e){const r=(t=+t)+(e=+e),i=n=+n;if(e<0)throw new Error("negative radius");null===this._x1?this._+=`M${r},${i}`:(Math.abs(this._x1-r)>Lu||Math.abs(this._y1-i)>Lu)&&(this._+="L"+r+","+i),e&&(this._+=`A${e},${e},0,1,1,${t-e},${n}A${e},${e},0,1,1,${this._x1=r},${this._y1=i}`)}rect(t,n,e,r){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${+e}v${+r}h${-e}Z`}value(){return this._||null}}class ju{constructor(){this._=[]}moveTo(t,n){this._.push([t,n])}closePath(){this._.push(this._[0].slice())}lineTo(t,n){this._.push([t,n])}value(){return this._.length?this._:null}}class Wu{constructor(t,[n,e,r,i]=[0,0,960,500]){if(!((r=+r)>=(n=+n))||!((i=+i)>=(e=+e)))throw new Error("invalid bounds");this.delaunay=t,this._circumcenters=new Float64Array(2*t.points.length),this.vectors=new Float64Array(2*t.points.length),this.xmax=r,this.xmin=n,this.ymax=i,this.ymin=e,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:t,hull:n,triangles:e},vectors:r}=this,i=this.circumcenters=this._circumcenters.subarray(0,e.length/3*2);for(let h,d,p=0,g=0,v=e.length;p<v;p+=3,g+=2){const n=2*e[p],r=2*e[p+1],o=2*e[p+2],u=t[n],a=t[n+1],c=t[r],f=t[r+1],s=t[o],l=t[o+1],v=c-u,y=f-a,m=s-u,b=l-a,_=2*(v*b-y*m);if(Math.abs(_)<1e-9){let n=1e9;const r=2*e[0];n*=Math.sign((t[r]-u)*b-(t[r+1]-a)*m),h=(u+s)/2-n*b,d=(a+l)/2+n*m}else{const t=1/_,n=v*v+y*y,e=m*m+b*b;h=u+(b*n-y*e)*t,d=a+(v*e-m*n)*t}i[g]=h,i[g+1]=d}let o,u,a,c=n[n.length-1],f=4*c,s=t[2*c],l=t[2*c+1];r.fill(0);for(let h=0;h<n.length;++h)c=n[h],o=f,u=s,a=l,f=4*c,s=t[2*c],l=t[2*c+1],r[o+2]=r[f]=a-l,r[o+3]=r[f+1]=s-u}render(t){const n=null==t?t=new Hu:void 0,{delaunay:{halfedges:e,inedges:r,hull:i},circumcenters:o,vectors:u}=this;if(i.length<=1)return null;for(let f=0,s=e.length;f<s;++f){const n=e[f];if(n<f)continue;const r=2*Math.floor(f/3),i=2*Math.floor(n/3),u=o[r],a=o[r+1],c=o[i],s=o[i+1];this._renderSegment(u,a,c,s,t)}let a,c=i[i.length-1];for(let f=0;f<i.length;++f){a=c,c=i[f];const n=2*Math.floor(r[c]/3),e=o[n],s=o[n+1],l=4*a,h=this._project(e,s,u[l+2],u[l+3]);h&&this._renderSegment(e,s,h[0],h[1],t)}return n&&n.value()}renderBounds(t){const n=null==t?t=new Hu:void 0;return t.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),n&&n.value()}renderCell(t,n){const e=null==n?n=new Hu:void 0,r=this._clip(t);if(null===r||!r.length)return;n.moveTo(r[0],r[1]);let i=r.length;for(;r[0]===r[i-2]&&r[1]===r[i-1]&&i>1;)i-=2;for(let o=2;o<i;o+=2)r[o]===r[o-2]&&r[o+1]===r[o-1]||n.lineTo(r[o],r[o+1]);return n.closePath(),e&&e.value()}*cellPolygons(){const{delaunay:{points:t}}=this;for(let n=0,e=t.length/2;n<e;++n){const t=this.cellPolygon(n);t&&(t.index=n,yield t)}}cellPolygon(t){const n=new ju;return this.renderCell(t,n),n.value()}_renderSegment(t,n,e,r,i){let o;const u=this._regioncode(t,n),a=this._regioncode(e,r);0===u&&0===a?(i.moveTo(t,n),i.lineTo(e,r)):(o=this._clipSegment(t,n,e,r,u,a))&&(i.moveTo(o[0],o[1]),i.lineTo(o[2],o[3]))}contains(t,n,e){return(n=+n)===n&&(e=+e)===e&&this.delaunay._step(t,n,e)===t}*neighbors(t){const n=this._clip(t);if(n)for(const e of this.delaunay.neighbors(t)){const t=this._clip(e);if(t)t:for(let r=0,i=n.length;r<i;r+=2)for(let o=0,u=t.length;o<u;o+=2)if(n[r]===t[o]&&n[r+1]===t[o+1]&&n[(r+2)%i]===t[(o+u-2)%u]&&n[(r+3)%i]===t[(o+u-1)%u]){yield e;break t}}}_cell(t){const{circumcenters:n,delaunay:{inedges:e,halfedges:r,triangles:i}}=this,o=e[t];if(-1===o)return null;const u=[];let a=o;do{const e=Math.floor(a/3);if(u.push(n[2*e],n[2*e+1]),a=a%3===2?a-2:a+1,i[a]!==t)break;a=r[a]}while(a!==o&&-1!==a);return u}_clip(t){if(0===t&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];const n=this._cell(t);if(null===n)return null;const{vectors:e}=this,r=4*t;return this._simplify(e[r]||e[r+1]?this._clipInfinite(t,n,e[r],e[r+1],e[r+2],e[r+3]):this._clipFinite(t,n))}_clipFinite(t,n){const e=n.length;let r,i,o,u,a=null,c=n[e-2],f=n[e-1],s=this._regioncode(c,f),l=0;for(let h=0;h<e;h+=2)if(r=c,i=f,c=n[h],f=n[h+1],o=s,s=this._regioncode(c,f),0===o&&0===s)u=l,l=0,a?a.push(c,f):a=[c,f];else{let n,e,h,d,p;if(0===o){if(null===(n=this._clipSegment(r,i,c,f,o,s)))continue;[e,h,d,p]=n}else{if(null===(n=this._clipSegment(c,f,r,i,s,o)))continue;[d,p,e,h]=n,u=l,l=this._edgecode(e,h),u&&l&&this._edge(t,u,l,a,a.length),a?a.push(e,h):a=[e,h]}u=l,l=this._edgecode(d,p),u&&l&&this._edge(t,u,l,a,a.length),a?a.push(d,p):a=[d,p]}if(a)u=l,l=this._edgecode(a[0],a[1]),u&&l&&this._edge(t,u,l,a,a.length);else if(this.contains(t,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return a}_clipSegment(t,n,e,r,i,o){const u=i<o;for(u&&([t,n,e,r,i,o]=[e,r,t,n,o,i]);;){if(0===i&&0===o)return u?[e,r,t,n]:[t,n,e,r];if(i&o)return null;let a,c,f=i||o;8&f?(a=t+(e-t)*(this.ymax-n)/(r-n),c=this.ymax):4&f?(a=t+(e-t)*(this.ymin-n)/(r-n),c=this.ymin):2&f?(c=n+(r-n)*(this.xmax-t)/(e-t),a=this.xmax):(c=n+(r-n)*(this.xmin-t)/(e-t),a=this.xmin),i?(t=a,n=c,i=this._regioncode(t,n)):(e=a,r=c,o=this._regioncode(e,r))}}_clipInfinite(t,n,e,r,i,o){let u,a=Array.from(n);if((u=this._project(a[0],a[1],e,r))&&a.unshift(u[0],u[1]),(u=this._project(a[a.length-2],a[a.length-1],i,o))&&a.push(u[0],u[1]),a=this._clipFinite(t,a))for(let c,f=0,s=a.length,l=this._edgecode(a[s-2],a[s-1]);f<s;f+=2)c=l,l=this._edgecode(a[f],a[f+1]),c&&l&&(f=this._edge(t,c,l,a,f),s=a.length);else this.contains(t,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(a=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return a}_edge(t,n,e,r,i){for(;n!==e;){let e,o;switch(n){case 5:n=4;continue;case 4:n=6,e=this.xmax,o=this.ymin;break;case 6:n=2;continue;case 2:n=10,e=this.xmax,o=this.ymax;break;case 10:n=8;continue;case 8:n=9,e=this.xmin,o=this.ymax;break;case 9:n=1;continue;case 1:n=5,e=this.xmin,o=this.ymin}r[i]===e&&r[i+1]===o||!this.contains(t,e,o)||(r.splice(i,0,e,o),i+=2)}return i}_project(t,n,e,r){let i,o,u,a=1/0;if(r<0){if(n<=this.ymin)return null;(i=(this.ymin-n)/r)<a&&(u=this.ymin,o=t+(a=i)*e)}else if(r>0){if(n>=this.ymax)return null;(i=(this.ymax-n)/r)<a&&(u=this.ymax,o=t+(a=i)*e)}if(e>0){if(t>=this.xmax)return null;(i=(this.xmax-t)/e)<a&&(o=this.xmax,u=n+(a=i)*r)}else if(e<0){if(t<=this.xmin)return null;(i=(this.xmin-t)/e)<a&&(o=this.xmin,u=n+(a=i)*r)}return[o,u]}_edgecode(t,n){return(t===this.xmin?1:t===this.xmax?2:0)|(n===this.ymin?4:n===this.ymax?8:0)}_regioncode(t,n){return(t<this.xmin?1:t>this.xmax?2:0)|(n<this.ymin?4:n>this.ymax?8:0)}_simplify(t){if(t&&t.length>4){for(let n=0;n<t.length;n+=2){const e=(n+2)%t.length,r=(n+4)%t.length;(t[n]===t[e]&&t[e]===t[r]||t[n+1]===t[e+1]&&t[e+1]===t[r+1])&&(t.splice(e,2),n-=2)}t.length||(t=null)}return t}}const Xu=2*Math.PI,Gu=Math.pow;function Vu(t){return t[0]}function Qu(t){return t[1]}function Ku(t,n,e){return[t+Math.sin(t+n)*e,n+Math.cos(t-n)*e]}class Ju{static from(t,n=Vu,e=Qu,r){return new Ju("length"in t?function(t,n,e,r){const i=t.length,o=new Float64Array(2*i);for(let u=0;u<i;++u){const i=t[u];o[2*u]=n.call(r,i,u,t),o[2*u+1]=e.call(r,i,u,t)}return o}(t,n,e,r):Float64Array.from(function*(t,n,e,r){let i=0;for(const o of t)yield n.call(r,o,i,t),yield e.call(r,o,i,t),++i}(t,n,e,r)))}constructor(t){this._delaunator=new Yu(t),this.inedges=new Int32Array(t.length/2),this._hullIndex=new Int32Array(t.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const t=this._delaunator,n=this.points;if(t.hull&&t.hull.length>2&&function(t){const{triangles:n,coords:e}=t;for(let r=0;r<n.length;r+=3){const t=2*n[r],i=2*n[r+1],o=2*n[r+2];if((e[o]-e[t])*(e[i+1]-e[t+1])-(e[i]-e[t])*(e[o+1]-e[t+1])>1e-10)return!1}return!0}(t)){this.collinear=Int32Array.from({length:n.length/2},((t,n)=>n)).sort(((t,e)=>n[2*t]-n[2*e]||n[2*t+1]-n[2*e+1]));const t=this.collinear[0],e=this.collinear[this.collinear.length-1],r=[n[2*t],n[2*t+1],n[2*e],n[2*e+1]],i=1e-8*Math.hypot(r[3]-r[1],r[2]-r[0]);for(let o=0,u=n.length/2;o<u;++o){const t=Ku(n[2*o],n[2*o+1],i);n[2*o]=t[0],n[2*o+1]=t[1]}this._delaunator=new Yu(n)}else delete this.collinear;const e=this.halfedges=this._delaunator.halfedges,r=this.hull=this._delaunator.hull,i=this.triangles=this._delaunator.triangles,o=this.inedges.fill(-1),u=this._hullIndex.fill(-1);for(let a=0,c=e.length;a<c;++a){const t=i[a%3===2?a-2:a+1];-1!==e[a]&&-1!==o[t]||(o[t]=a)}for(let a=0,c=r.length;a<c;++a)u[r[a]]=a;r.length<=2&&r.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=r[0],o[r[0]]=1,2===r.length&&(o[r[1]]=0,this.triangles[1]=r[1],this.triangles[2]=r[1]))}voronoi(t){return new Wu(this,t)}*neighbors(t){const{inedges:n,hull:e,_hullIndex:r,halfedges:i,triangles:o,collinear:u}=this;if(u){const n=u.indexOf(t);return n>0&&(yield u[n-1]),void(n<u.length-1&&(yield u[n+1]))}const a=n[t];if(-1===a)return;let c=a,f=-1;do{if(yield f=o[c],c=c%3===2?c-2:c+1,o[c]!==t)return;if(c=i[c],-1===c){const n=e[(r[t]+1)%e.length];return void(n!==f&&(yield n))}}while(c!==a)}find(t,n,e=0){if((t=+t)!==t||(n=+n)!==n)return-1;const r=e;let i;for(;(i=this._step(e,t,n))>=0&&i!==e&&i!==r;)e=i;return i}_step(t,n,e){const{inedges:r,hull:i,_hullIndex:o,halfedges:u,triangles:a,points:c}=this;if(-1===r[t]||!c.length)return(t+1)%(c.length>>1);let f=t,s=Gu(n-c[2*t],2)+Gu(e-c[2*t+1],2);const l=r[t];let h=l;do{let r=a[h];const l=Gu(n-c[2*r],2)+Gu(e-c[2*r+1],2);if(l<s&&(s=l,f=r),h=h%3===2?h-2:h+1,a[h]!==t)break;if(h=u[h],-1===h){if(h=i[(o[t]+1)%i.length],h!==r&&Gu(n-c[2*h],2)+Gu(e-c[2*h+1],2)<s)return h;break}}while(h!==l);return f}render(t){const n=null==t?t=new Hu:void 0,{points:e,halfedges:r,triangles:i}=this;for(let o=0,u=r.length;o<u;++o){const n=r[o];if(n<o)continue;const u=2*i[o],a=2*i[n];t.moveTo(e[u],e[u+1]),t.lineTo(e[a],e[a+1])}return this.renderHull(t),n&&n.value()}renderPoints(t,n){void 0!==n||t&&"function"===typeof t.moveTo||(n=t,t=null),n=void 0==n?2:+n;const e=null==t?t=new Hu:void 0,{points:r}=this;for(let i=0,o=r.length;i<o;i+=2){const e=r[i],o=r[i+1];t.moveTo(e+n,o),t.arc(e,o,n,0,Xu)}return e&&e.value()}renderHull(t){const n=null==t?t=new Hu:void 0,{hull:e,points:r}=this,i=2*e[0],o=e.length;t.moveTo(r[i],r[i+1]);for(let u=1;u<o;++u){const n=2*e[u];t.lineTo(r[n],r[n+1])}return t.closePath(),n&&n.value()}hullPolygon(){const t=new ju;return this.renderHull(t),t.value()}renderTriangle(t,n){const e=null==n?n=new Hu:void 0,{points:r,triangles:i}=this,o=2*i[t*=3],u=2*i[t+1],a=2*i[t+2];return n.moveTo(r[o],r[o+1]),n.lineTo(r[u],r[u+1]),n.lineTo(r[a],r[a+1]),n.closePath(),e&&e.value()}*trianglePolygons(){const{triangles:t}=this;for(let n=0,e=t.length/3;n<e;++n)yield this.trianglePolygon(n)}trianglePolygon(t){const n=new ju;return this.renderTriangle(t,n),n.value()}}var ta=t=>()=>t;function na(t,{sourceEvent:n,subject:e,target:r,identifier:i,active:o,x:u,y:a,dx:c,dy:f,dispatch:s}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:e,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:u,enumerable:!0,configurable:!0},y:{value:a,enumerable:!0,configurable:!0},dx:{value:c,enumerable:!0,configurable:!0},dy:{value:f,enumerable:!0,configurable:!0},_:{value:s}})}function ea(t){return!t.ctrlKey&&!t.button}function ra(){return this.parentNode}function ia(t,n){return null==n?{x:t.x,y:t.y}:n}function oa(){return navigator.maxTouchPoints||"ontouchstart"in this}function ua(){var t,n,e,r,i=ea,o=ra,u=ia,a=oa,c={},f=Mn("start","drag","end"),s=0,l=0;function h(t){t.on("mousedown.drag",d).filter(a).on("touchstart.drag",v).on("touchmove.drag",y,Fe).on("touchend.drag touchcancel.drag",m).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(u,a){if(!r&&i.call(this,u,a)){var c=b(this,o.call(this,u,a),u,a,"mouse");c&&(qe(u.view).on("mousemove.drag",p,Re).on("mouseup.drag",g,Re),$e(u.view),Oe(u),e=!1,t=u.clientX,n=u.clientY,c("start",u))}}function p(r){if(Be(r),!e){var i=r.clientX-t,o=r.clientY-n;e=i*i+o*o>l}c.mouse("drag",r)}function g(t){qe(t.view).on("mousemove.drag mouseup.drag",null),Ie(t.view,e),Be(t),c.mouse("end",t)}function v(t,n){if(i.call(this,t,n)){var e,r,u=t.changedTouches,a=o.call(this,t,n),c=u.length;for(e=0;e<c;++e)(r=b(this,a,t,n,u[e].identifier,u[e]))&&(Oe(t),r("start",t,u[e]))}}function y(t){var n,e,r=t.changedTouches,i=r.length;for(n=0;n<i;++n)(e=c[r[n].identifier])&&(Be(t),e("drag",t,r[n]))}function m(t){var n,e,i=t.changedTouches,o=i.length;for(r&&clearTimeout(r),r=setTimeout((function(){r=null}),500),n=0;n<o;++n)(e=c[i[n].identifier])&&(Oe(t),e("end",t,i[n]))}function b(t,n,e,r,i,o){var a,l,d,p=f.copy(),g=je(o||e,n);if(null!=(d=u.call(t,new na("beforestart",{sourceEvent:e,target:h,identifier:i,active:s,x:g[0],y:g[1],dx:0,dy:0,dispatch:p}),r)))return a=d.x-g[0]||0,l=d.y-g[1]||0,function e(o,u,f){var v,y=g;switch(o){case"start":c[i]=e,v=s++;break;case"end":delete c[i],--s;case"drag":g=je(f||u,n),v=s}p.call(o,t,new na(o,{sourceEvent:u,subject:d,target:h,identifier:i,active:v,x:g[0]+a,y:g[1]+l,dx:g[0]-y[0],dy:g[1]-y[1],dispatch:p}),r)}}return h.filter=function(t){return arguments.length?(i="function"===typeof t?t:ta(!!t),h):i},h.container=function(t){return arguments.length?(o="function"===typeof t?t:ta(t),h):o},h.subject=function(t){return arguments.length?(u="function"===typeof t?t:ta(t),h):u},h.touchable=function(t){return arguments.length?(a="function"===typeof t?t:ta(!!t),h):a},h.on=function(){var t=f.on.apply(f,arguments);return t===f?h:t},h.clickDistance=function(t){return arguments.length?(l=(t=+t)*t,h):Math.sqrt(l)},h}na.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var aa={},ca={},fa=34,sa=10,la=13;function ha(t){return new Function("d","return {"+t.map((function(t,n){return JSON.stringify(t)+": d["+n+'] || ""'})).join(",")+"}")}function da(t){var n=Object.create(null),e=[];return t.forEach((function(t){for(var r in t)r in n||e.push(n[r]=r)})),e}function pa(t,n){var e=t+"",r=e.length;return r<n?new Array(n-r+1).join(0)+e:e}function ga(t){var n,e=t.getUTCHours(),r=t.getUTCMinutes(),i=t.getUTCSeconds(),o=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":((n=t.getUTCFullYear())<0?"-"+pa(-n,6):n>9999?"+"+pa(n,6):pa(n,4))+"-"+pa(t.getUTCMonth()+1,2)+"-"+pa(t.getUTCDate(),2)+(o?"T"+pa(e,2)+":"+pa(r,2)+":"+pa(i,2)+"."+pa(o,3)+"Z":i?"T"+pa(e,2)+":"+pa(r,2)+":"+pa(i,2)+"Z":r||e?"T"+pa(e,2)+":"+pa(r,2)+"Z":"")}function va(t){var n=new RegExp('["'+t+"\n\r]"),e=t.charCodeAt(0);function r(t,n){var r,i=[],o=t.length,u=0,a=0,c=o<=0,f=!1;function s(){if(c)return ca;if(f)return f=!1,aa;var n,r,i=u;if(t.charCodeAt(i)===fa){for(;u++<o&&t.charCodeAt(u)!==fa||t.charCodeAt(++u)===fa;);return(n=u)>=o?c=!0:(r=t.charCodeAt(u++))===sa?f=!0:r===la&&(f=!0,t.charCodeAt(u)===sa&&++u),t.slice(i+1,n-1).replace(/""/g,'"')}for(;u<o;){if((r=t.charCodeAt(n=u++))===sa)f=!0;else if(r===la)f=!0,t.charCodeAt(u)===sa&&++u;else if(r!==e)continue;return t.slice(i,n)}return c=!0,t.slice(i,o)}for(t.charCodeAt(o-1)===sa&&--o,t.charCodeAt(o-1)===la&&--o;(r=s())!==ca;){for(var l=[];r!==aa&&r!==ca;)l.push(r),r=s();n&&null==(l=n(l,a++))||i.push(l)}return i}function i(n,e){return n.map((function(n){return e.map((function(t){return u(n[t])})).join(t)}))}function o(n){return n.map(u).join(t)}function u(t){return null==t?"":t instanceof Date?ga(t):n.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,n){var e,i,o=r(t,(function(t,r){if(e)return e(t,r-1);i=t,e=n?function(t,n){var e=ha(t);return function(r,i){return n(e(r),i,t)}}(t,n):ha(t)}));return o.columns=i||[],o},parseRows:r,format:function(n,e){return null==e&&(e=da(n)),[e.map(u).join(t)].concat(i(n,e)).join("\n")},formatBody:function(t,n){return null==n&&(n=da(t)),i(t,n).join("\n")},formatRows:function(t){return t.map(o).join("\n")},formatRow:o,formatValue:u}}var ya=va(","),ma=ya.parse,ba=ya.parseRows,_a=ya.format,wa=ya.formatBody,xa=ya.formatRows,Ma=ya.formatRow,Ta=ya.formatValue,Sa=va("\t"),Aa=Sa.parse,ka=Sa.parseRows,Na=Sa.format,Ea=Sa.formatBody,Ca=Sa.formatRows,Pa=Sa.formatRow,Za=Sa.formatValue;function Da(t){for(var n in t){var e,r,i=t[n].trim();if(i)if("true"===i)i=!0;else if("false"===i)i=!1;else if("NaN"===i)i=NaN;else if(isNaN(e=+i)){if(!(r=i.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;Ua&&r[4]&&!r[7]&&(i=i.replace(/-/g,"/").replace(/T/," ")),i=new Date(i)}else i=e;else i=null;t[n]=i}return t}const Ua=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours(),za=t=>+t;function Ya(t){return t*t}function qa(t){return t*(2-t)}function Fa(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}var Ra=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),Oa=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),Ba=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),$a=Math.PI,Ia=$a/2;function La(t){return 1===+t?1:1-Math.cos(t*Ia)}function Ha(t){return Math.sin(t*Ia)}function ja(t){return(1-Math.cos($a*t))/2}function Wa(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function Xa(t){return Wa(1-+t)}function Ga(t){return 1-Wa(t)}function Va(t){return((t*=2)<=1?Wa(1-t):2-Wa(t-1))/2}function Qa(t){return 1-Math.sqrt(1-t*t)}function Ka(t){return Math.sqrt(1- --t*t)}function Ja(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var tc=4/11,nc=6/11,ec=8/11,rc=3/4,ic=9/11,oc=10/11,uc=15/16,ac=21/22,cc=63/64,fc=1/tc/tc;function sc(t){return 1-lc(1-t)}function lc(t){return(t=+t)<tc?fc*t*t:t<ec?fc*(t-=nc)*t+rc:t<oc?fc*(t-=ic)*t+uc:fc*(t-=ac)*t+cc}function hc(t){return((t*=2)<=1?1-lc(1-t):lc(t-1)+1)/2}var dc=1.70158,pc=function t(n){function e(t){return(t=+t)*t*(n*(t-1)+t)}return n=+n,e.overshoot=t,e}(dc),gc=function t(n){function e(t){return--t*t*((t+1)*n+t)+1}return n=+n,e.overshoot=t,e}(dc),vc=function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(dc),yc=2*Math.PI,mc=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=yc);function i(t){return n*Wa(- --t)*Math.sin((r-t)/e)}return i.amplitude=function(n){return t(n,e*yc)},i.period=function(e){return t(n,e)},i}(1,.3),bc=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=yc);function i(t){return 1-n*Wa(t=+t)*Math.sin((t+r)/e)}return i.amplitude=function(n){return t(n,e*yc)},i.period=function(e){return t(n,e)},i}(1,.3),_c=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=yc);function i(t){return((t=2*t-1)<0?n*Wa(-t)*Math.sin((r-t)/e):2-n*Wa(t)*Math.sin((r+t)/e))/2}return i.amplitude=function(n){return t(n,e*yc)},i.period=function(e){return t(n,e)},i}(1,.3);function wc(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.blob()}function xc(t,n){return fetch(t,n).then(wc)}function Mc(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.arrayBuffer()}function Tc(t,n){return fetch(t,n).then(Mc)}function Sc(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}function Ac(t,n){return fetch(t,n).then(Sc)}function kc(t){return function(n,e,r){return 2===arguments.length&&"function"===typeof e&&(r=e,e=void 0),Ac(n,e).then((function(n){return t(n,r)}))}}function Nc(t,n,e,r){3===arguments.length&&"function"===typeof e&&(r=e,e=void 0);var i=va(t);return Ac(n,e).then((function(t){return i.parse(t,r)}))}var Ec=kc(ma),Cc=kc(Aa);function Pc(t,n){return new Promise((function(e,r){var i=new Image;for(var o in n)i[o]=n[o];i.onerror=r,i.onload=function(){e(i)},i.src=t}))}function Zc(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);if(204!==t.status&&205!==t.status)return t.json()}function Dc(t,n){return fetch(t,n).then(Zc)}function Uc(t){return(n,e)=>Ac(n,e).then((n=>(new DOMParser).parseFromString(n,t)))}var zc=Uc("application/xml"),Yc=Uc("text/html"),qc=Uc("image/svg+xml");function Fc(t,n){var e,r=1;function i(){var i,o,u=e.length,a=0,c=0;for(i=0;i<u;++i)a+=(o=e[i]).x,c+=o.y;for(a=(a/u-t)*r,c=(c/u-n)*r,i=0;i<u;++i)(o=e[i]).x-=a,o.y-=c}return null==t&&(t=0),null==n&&(n=0),i.initialize=function(t){e=t},i.x=function(n){return arguments.length?(t=+n,i):t},i.y=function(t){return arguments.length?(n=+t,i):n},i.strength=function(t){return arguments.length?(r=+t,i):r},i}function Rc(t,n,e,r){if(isNaN(n)||isNaN(e))return t;var i,o,u,a,c,f,s,l,h,d=t._root,p={data:r},g=t._x0,v=t._y0,y=t._x1,m=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((f=n>=(o=(g+y)/2))?g=o:y=o,(s=e>=(u=(v+m)/2))?v=u:m=u,i=d,!(d=d[l=s<<1|f]))return i[l]=p,t;if(a=+t._x.call(null,d.data),c=+t._y.call(null,d.data),n===a&&e===c)return p.next=d,i?i[l]=p:t._root=p,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(o=(g+y)/2))?g=o:y=o,(s=e>=(u=(v+m)/2))?v=u:m=u}while((l=s<<1|f)===(h=(c>=u)<<1|a>=o));return i[h]=d,i[l]=p,t}function Oc(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i}function Bc(t){return t[0]}function $c(t){return t[1]}function Ic(t,n,e){var r=new Lc(null==n?Bc:n,null==e?$c:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function Lc(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function Hc(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}var jc=Ic.prototype=Lc.prototype;function Wc(t){return function(){return t}}function Xc(t){return 1e-6*(t()-.5)}function Gc(t){return t.x+t.vx}function Vc(t){return t.y+t.vy}function Qc(t){var n,e,r,i=1,o=1;function u(){for(var t,u,c,f,s,l,h,d=n.length,p=0;p<o;++p)for(u=Ic(n,Gc,Vc).visitAfter(a),t=0;t<d;++t)c=n[t],l=e[c.index],h=l*l,f=c.x+c.vx,s=c.y+c.vy,u.visit(g);function g(t,n,e,o,u){var a=t.data,d=t.r,p=l+d;if(!a)return n>f+p||o<f-p||e>s+p||u<s-p;if(a.index>c.index){var g=f-a.x-a.vx,v=s-a.y-a.vy,y=g*g+v*v;y<p*p&&(0===g&&(y+=(g=Xc(r))*g),0===v&&(y+=(v=Xc(r))*v),y=(p-(y=Math.sqrt(y)))/y*i,c.vx+=(g*=y)*(p=(d*=d)/(h+d)),c.vy+=(v*=y)*p,a.vx-=g*(p=1-p),a.vy-=v*p)}}}function a(t){if(t.data)return t.r=e[t.data.index];for(var n=t.r=0;n<4;++n)t[n]&&t[n].r>t.r&&(t.r=t[n].r)}function c(){if(n){var r,i,o=n.length;for(e=new Array(o),r=0;r<o;++r)i=n[r],e[i.index]=+t(i,r,n)}}return"function"!==typeof t&&(t=Wc(null==t?1:+t)),u.initialize=function(t,e){n=t,r=e,c()},u.iterations=function(t){return arguments.length?(o=+t,u):o},u.strength=function(t){return arguments.length?(i=+t,u):i},u.radius=function(n){return arguments.length?(t="function"===typeof n?n:Wc(+n),c(),u):t},u}function Kc(t){return t.index}function Jc(t,n){var e=t.get(n);if(!e)throw new Error("node not found: "+n);return e}function tf(t){var n,e,r,i,o,u,a=Kc,c=function(t){return 1/Math.min(i[t.source.index],i[t.target.index])},f=Wc(30),s=1;function l(r){for(var i=0,a=t.length;i<s;++i)for(var c,f,l,h,d,p,g,v=0;v<a;++v)f=(c=t[v]).source,h=(l=c.target).x+l.vx-f.x-f.vx||Xc(u),d=l.y+l.vy-f.y-f.vy||Xc(u),h*=p=((p=Math.sqrt(h*h+d*d))-e[v])/p*r*n[v],d*=p,l.vx-=h*(g=o[v]),l.vy-=d*g,f.vx+=h*(g=1-g),f.vy+=d*g}function h(){if(r){var u,c,f=r.length,s=t.length,l=new Map(r.map(((t,n)=>[a(t,n,r),t])));for(u=0,i=new Array(f);u<s;++u)(c=t[u]).index=u,"object"!==typeof c.source&&(c.source=Jc(l,c.source)),"object"!==typeof c.target&&(c.target=Jc(l,c.target)),i[c.source.index]=(i[c.source.index]||0)+1,i[c.target.index]=(i[c.target.index]||0)+1;for(u=0,o=new Array(s);u<s;++u)c=t[u],o[u]=i[c.source.index]/(i[c.source.index]+i[c.target.index]);n=new Array(s),d(),e=new Array(s),p()}}function d(){if(r)for(var e=0,i=t.length;e<i;++e)n[e]=+c(t[e],e,t)}function p(){if(r)for(var n=0,i=t.length;n<i;++n)e[n]=+f(t[n],n,t)}return null==t&&(t=[]),l.initialize=function(t,n){r=t,u=n,h()},l.links=function(n){return arguments.length?(t=n,h(),l):t},l.id=function(t){return arguments.length?(a=t,l):a},l.iterations=function(t){return arguments.length?(s=+t,l):s},l.strength=function(t){return arguments.length?(c="function"===typeof t?t:Wc(+t),d(),l):c},l.distance=function(t){return arguments.length?(f="function"===typeof t?t:Wc(+t),p(),l):f},l}jc.copy=function(){var t,n,e=new Lc(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=Hc(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=new Array(4)}):r.target[i]=Hc(n));return e},jc.add=function(t){const n=+this._x.call(null,t),e=+this._y.call(null,t);return Rc(this.cover(n,e),n,e,t)},jc.addAll=function(t){var n,e,r,i,o=t.length,u=new Array(o),a=new Array(o),c=1/0,f=1/0,s=-1/0,l=-1/0;for(e=0;e<o;++e)isNaN(r=+this._x.call(null,n=t[e]))||isNaN(i=+this._y.call(null,n))||(u[e]=r,a[e]=i,r<c&&(c=r),r>s&&(s=r),i<f&&(f=i),i>l&&(l=i));if(c>s||f>l)return this;for(this.cover(c,f).cover(s,l),e=0;e<o;++e)Rc(this,u[e],a[e],t[e]);return this},jc.cover=function(t,n){if(isNaN(t=+t)||isNaN(n=+n))return this;var e=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(e))i=(e=Math.floor(t))+1,o=(r=Math.floor(n))+1;else{for(var u,a,c=i-e||1,f=this._root;e>t||t>=i||r>n||n>=o;)switch(a=(n<r)<<1|t<e,(u=new Array(4))[a]=f,f=u,c*=2,a){case 0:i=e+c,o=r+c;break;case 1:e=i-c,o=r+c;break;case 2:i=e+c,r=o-c;break;case 3:e=i-c,r=o-c}this._root&&this._root.length&&(this._root=f)}return this._x0=e,this._y0=r,this._x1=i,this._y1=o,this},jc.data=function(){var t=[];return this.visit((function(n){if(!n.length)do{t.push(n.data)}while(n=n.next)})),t},jc.extent=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},jc.find=function(t,n,e){var r,i,o,u,a,c,f,s=this._x0,l=this._y0,h=this._x1,d=this._y1,p=[],g=this._root;for(g&&p.push(new Oc(g,s,l,h,d)),null==e?e=1/0:(s=t-e,l=n-e,h=t+e,d=n+e,e*=e);c=p.pop();)if(!(!(g=c.node)||(i=c.x0)>h||(o=c.y0)>d||(u=c.x1)<s||(a=c.y1)<l))if(g.length){var v=(i+u)/2,y=(o+a)/2;p.push(new Oc(g[3],v,y,u,a),new Oc(g[2],i,y,v,a),new Oc(g[1],v,o,u,y),new Oc(g[0],i,o,v,y)),(f=(n>=y)<<1|t>=v)&&(c=p[p.length-1],p[p.length-1]=p[p.length-1-f],p[p.length-1-f]=c)}else{var m=t-+this._x.call(null,g.data),b=n-+this._y.call(null,g.data),_=m*m+b*b;if(_<e){var w=Math.sqrt(e=_);s=t-w,l=n-w,h=t+w,d=n+w,r=g.data}}return r},jc.remove=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(u=+this._y.call(null,t)))return this;var n,e,r,i,o,u,a,c,f,s,l,h,d=this._root,p=this._x0,g=this._y0,v=this._x1,y=this._y1;if(!d)return this;if(d.length)for(;;){if((f=o>=(a=(p+v)/2))?p=a:v=a,(s=u>=(c=(g+y)/2))?g=c:y=c,n=d,!(d=d[l=s<<1|f]))return this;if(!d.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(e=n,h=l)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):n?(i?n[l]=i:delete n[l],(d=n[0]||n[1]||n[2]||n[3])&&d===(n[3]||n[2]||n[1]||n[0])&&!d.length&&(e?e[h]=d:this._root=d),this):(this._root=i,this)},jc.removeAll=function(t){for(var n=0,e=t.length;n<e;++n)this.remove(t[n]);return this},jc.root=function(){return this._root},jc.size=function(){var t=0;return this.visit((function(n){if(!n.length)do{++t}while(n=n.next)})),t},jc.visit=function(t){var n,e,r,i,o,u,a=[],c=this._root;for(c&&a.push(new Oc(c,this._x0,this._y0,this._x1,this._y1));n=a.pop();)if(!t(c=n.node,r=n.x0,i=n.y0,o=n.x1,u=n.y1)&&c.length){var f=(r+o)/2,s=(i+u)/2;(e=c[3])&&a.push(new Oc(e,f,s,o,u)),(e=c[2])&&a.push(new Oc(e,r,s,f,u)),(e=c[1])&&a.push(new Oc(e,f,i,o,s)),(e=c[0])&&a.push(new Oc(e,r,i,f,s))}return this},jc.visitAfter=function(t){var n,e=[],r=[];for(this._root&&e.push(new Oc(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var i=n.node;if(i.length){var o,u=n.x0,a=n.y0,c=n.x1,f=n.y1,s=(u+c)/2,l=(a+f)/2;(o=i[0])&&e.push(new Oc(o,u,a,s,l)),(o=i[1])&&e.push(new Oc(o,s,a,c,l)),(o=i[2])&&e.push(new Oc(o,u,l,s,f)),(o=i[3])&&e.push(new Oc(o,s,l,c,f))}r.push(n)}for(;n=r.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this},jc.x=function(t){return arguments.length?(this._x=t,this):this._x},jc.y=function(t){return arguments.length?(this._y=t,this):this._y};const nf=1664525,ef=1013904223,rf=4294967296;function of(t){return t.x}function uf(t){return t.y}var af=10,cf=Math.PI*(3-Math.sqrt(5));function ff(t){var n,e=1,r=.001,i=1-Math.pow(r,1/300),o=0,u=.6,a=new Map,c=ar(l),f=Mn("tick","end"),s=function(){let t=1;return()=>(t=(nf*t+ef)%rf)/rf}();function l(){h(),f.call("tick",n),e<r&&(c.stop(),f.call("end",n))}function h(r){var c,f,s=t.length;void 0===r&&(r=1);for(var l=0;l<r;++l)for(e+=(o-e)*i,a.forEach((function(t){t(e)})),c=0;c<s;++c)null==(f=t[c]).fx?f.x+=f.vx*=u:(f.x=f.fx,f.vx=0),null==f.fy?f.y+=f.vy*=u:(f.y=f.fy,f.vy=0);return n}function d(){for(var n,e=0,r=t.length;e<r;++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 i=af*Math.sqrt(.5+e),o=e*cf;n.x=i*Math.cos(o),n.y=i*Math.sin(o)}(isNaN(n.vx)||isNaN(n.vy))&&(n.vx=n.vy=0)}}function p(n){return n.initialize&&n.initialize(t,s),n}return null==t&&(t=[]),d(),n={tick:h,restart:function(){return c.restart(l),n},stop:function(){return c.stop(),n},nodes:function(e){return arguments.length?(t=e,d(),a.forEach(p),n):t},alpha:function(t){return arguments.length?(e=+t,n):e},alphaMin:function(t){return arguments.length?(r=+t,n):r},alphaDecay:function(t){return arguments.length?(i=+t,n):+i},alphaTarget:function(t){return arguments.length?(o=+t,n):o},velocityDecay:function(t){return arguments.length?(u=1-t,n):1-u},randomSource:function(t){return arguments.length?(s=t,a.forEach(p),n):s},force:function(t,e){return arguments.length>1?(null==e?a.delete(t):a.set(t,p(e)),n):a.get(t)},find:function(n,e,r){var i,o,u,a,c,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f<s;++f)(u=(i=n-(a=t[f]).x)*i+(o=e-a.y)*o)<r&&(c=a,r=u);return c},on:function(t,e){return arguments.length>1?(f.on(t,e),n):f.on(t)}}}function sf(){var t,n,e,r,i,o=Wc(-30),u=1,a=1/0,c=.81;function f(e){var i,o=t.length,u=Ic(t,of,uf).visitAfter(l);for(r=e,i=0;i<o;++i)n=t[i],u.visit(h)}function s(){if(t){var n,e,r=t.length;for(i=new Array(r),n=0;n<r;++n)e=t[n],i[e.index]=+o(e,n,t)}}function l(t){var n,e,r,o,u,a=0,c=0;if(t.length){for(r=o=u=0;u<4;++u)(n=t[u])&&(e=Math.abs(n.value))&&(a+=n.value,c+=e,r+=e*n.x,o+=e*n.y);t.x=r/c,t.y=o/c}else{(n=t).x=n.data.x,n.y=n.data.y;do{a+=i[n.data.index]}while(n=n.next)}t.value=a}function h(t,o,f,s){if(!t.value)return!0;var l=t.x-n.x,h=t.y-n.y,d=s-o,p=l*l+h*h;if(d*d/c<p)return p<a&&(0===l&&(p+=(l=Xc(e))*l),0===h&&(p+=(h=Xc(e))*h),p<u&&(p=Math.sqrt(u*p)),n.vx+=l*t.value*r/p,n.vy+=h*t.value*r/p),!0;if(!(t.length||p>=a)){(t.data!==n||t.next)&&(0===l&&(p+=(l=Xc(e))*l),0===h&&(p+=(h=Xc(e))*h),p<u&&(p=Math.sqrt(u*p)));do{t.data!==n&&(d=i[t.data.index]*r/p,n.vx+=l*d,n.vy+=h*d)}while(t=t.next)}}return f.initialize=function(n,r){t=n,e=r,s()},f.strength=function(t){return arguments.length?(o="function"===typeof t?t:Wc(+t),s(),f):o},f.distanceMin=function(t){return arguments.length?(u=t*t,f):Math.sqrt(u)},f.distanceMax=function(t){return arguments.length?(a=t*t,f):Math.sqrt(a)},f.theta=function(t){return arguments.length?(c=t*t,f):Math.sqrt(c)},f}function lf(t,n,e){var r,i,o,u=Wc(.1);function a(t){for(var u=0,a=r.length;u<a;++u){var c=r[u],f=c.x-n||1e-6,s=c.y-e||1e-6,l=Math.sqrt(f*f+s*s),h=(o[u]-l)*i[u]*t/l;c.vx+=f*h,c.vy+=s*h}}function c(){if(r){var n,e=r.length;for(i=new Array(e),o=new Array(e),n=0;n<e;++n)o[n]=+t(r[n],n,r),i[n]=isNaN(o[n])?0:+u(r[n],n,r)}}return"function"!==typeof t&&(t=Wc(+t)),null==n&&(n=0),null==e&&(e=0),a.initialize=function(t){r=t,c()},a.strength=function(t){return arguments.length?(u="function"===typeof t?t:Wc(+t),c(),a):u},a.radius=function(n){return arguments.length?(t="function"===typeof n?n:Wc(+n),c(),a):t},a.x=function(t){return arguments.length?(n=+t,a):n},a.y=function(t){return arguments.length?(e=+t,a):e},a}function hf(t){var n,e,r,i=Wc(.1);function o(t){for(var i,o=0,u=n.length;o<u;++o)(i=n[o]).vx+=(r[o]-i.x)*e[o]*t}function u(){if(n){var o,u=n.length;for(e=new Array(u),r=new Array(u),o=0;o<u;++o)e[o]=isNaN(r[o]=+t(n[o],o,n))?0:+i(n[o],o,n)}}return"function"!==typeof t&&(t=Wc(null==t?0:+t)),o.initialize=function(t){n=t,u()},o.strength=function(t){return arguments.length?(i="function"===typeof t?t:Wc(+t),u(),o):i},o.x=function(n){return arguments.length?(t="function"===typeof n?n:Wc(+n),u(),o):t},o}function df(t){var n,e,r,i=Wc(.1);function o(t){for(var i,o=0,u=n.length;o<u;++o)(i=n[o]).vy+=(r[o]-i.y)*e[o]*t}function u(){if(n){var o,u=n.length;for(e=new Array(u),r=new Array(u),o=0;o<u;++o)e[o]=isNaN(r[o]=+t(n[o],o,n))?0:+i(n[o],o,n)}}return"function"!==typeof t&&(t=Wc(null==t?0:+t)),o.initialize=function(t){n=t,u()},o.strength=function(t){return arguments.length?(i="function"===typeof t?t:Wc(+t),u(),o):i},o.y=function(n){return arguments.length?(t="function"===typeof n?n:Wc(+n),u(),o):t},o}var pf=e(65386),gf=e(80028),vf=e(42035),yf=e(96909),mf=e(87017),bf=e(63482);class _f{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){const n=this._partials;let e=0;for(let r=0;r<this._n&&r<32;r++){const i=n[r],o=t+i,u=Math.abs(t)<Math.abs(i)?t-(o-i):i-(o-t);u&&(n[e++]=u),t=o}return n[e]=t,this._n=e+1,this}valueOf(){const t=this._partials;let n,e,r,i=this._n,o=0;if(i>0){for(o=t[--i];i>0&&(n=o,e=t[--i],o=n+e,r=e-(o-n),!r););i>0&&(r<0&&t[i-1]<0||r>0&&t[i-1]>0)&&(e=2*r,n=o+e,e==n-o&&(o=n))}return o}}var wf=1e-6,xf=1e-12,Mf=Math.PI,Tf=Mf/2,Sf=Mf/4,Af=2*Mf,kf=180/Mf,Nf=Mf/180,Ef=Math.abs,Cf=Math.atan,Pf=Math.atan2,Zf=Math.cos,Df=Math.ceil,Uf=Math.exp,zf=(Math.floor,Math.hypot),Yf=Math.log,qf=Math.pow,Ff=Math.sin,Rf=Math.sign||function(t){return t>0?1:t<0?-1:0},Of=Math.sqrt,Bf=Math.tan;function $f(t){return t>1?0:t<-1?Mf:Math.acos(t)}function If(t){return t>1?Tf:t<-1?-Tf:Math.asin(t)}function Lf(t){return(t=Ff(t/2))*t}function Hf(){}function jf(t,n){t&&Xf.hasOwnProperty(t.type)&&Xf[t.type](t,n)}var Wf={Feature:function(t,n){jf(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)jf(e[r].geometry,n)}},Xf={Sphere:function(t,n){n.sphere()},Point:function(t,n){t=t.coordinates,n.point(t[0],t[1],t[2])},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)t=e[r],n.point(t[0],t[1],t[2])},LineString:function(t,n){Gf(t.coordinates,n,0)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)Gf(e[r],n,0)},Polygon:function(t,n){Vf(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)Vf(e[r],n)},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)jf(e[r],n)}};function Gf(t,n,e){var r,i=-1,o=t.length-e;for(n.lineStart();++i<o;)r=t[i],n.point(r[0],r[1],r[2]);n.lineEnd()}function Vf(t,n){var e=-1,r=t.length;for(n.polygonStart();++e<r;)Gf(t[e],n,1);n.polygonEnd()}function Qf(t,n){t&&Wf.hasOwnProperty(t.type)?Wf[t.type](t,n):jf(t,n)}var Kf,Jf,ts,ns,es,rs,is,os,us,as,cs,fs,ss,ls,hs,ds,ps=new _f,gs=new _f,vs={point:Hf,lineStart:Hf,lineEnd:Hf,polygonStart:function(){ps=new _f,vs.lineStart=ys,vs.lineEnd=ms},polygonEnd:function(){var t=+ps;gs.add(t<0?Af+t:t),this.lineStart=this.lineEnd=this.point=Hf},sphere:function(){gs.add(Af)}};function ys(){vs.point=bs}function ms(){_s(Kf,Jf)}function bs(t,n){vs.point=_s,Kf=t,Jf=n,ts=t*=Nf,ns=Zf(n=(n*=Nf)/2+Sf),es=Ff(n)}function _s(t,n){var e=(t*=Nf)-ts,r=e>=0?1:-1,i=r*e,o=Zf(n=(n*=Nf)/2+Sf),u=Ff(n),a=es*u,c=ns*o+a*Zf(i),f=a*r*Ff(i);ps.add(Pf(f,c)),ts=t,ns=o,es=u}function ws(t){return gs=new _f,Qf(t,vs),2*gs}function xs(t){return[Pf(t[1],t[0]),If(t[2])]}function Ms(t){var n=t[0],e=t[1],r=Zf(e);return[r*Zf(n),r*Ff(n),Ff(e)]}function Ts(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function Ss(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function As(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function ks(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function Ns(t){var n=Of(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}var Es,Cs,Ps,Zs,Ds,Us,zs,Ys,qs,Fs,Rs,Os,Bs,$s,Is,Ls,Hs={point:js,lineStart:Xs,lineEnd:Gs,polygonStart:function(){Hs.point=Vs,Hs.lineStart=Qs,Hs.lineEnd=Ks,ls=new _f,vs.polygonStart()},polygonEnd:function(){vs.polygonEnd(),Hs.point=js,Hs.lineStart=Xs,Hs.lineEnd=Gs,ps<0?(rs=-(os=180),is=-(us=90)):ls>wf?us=90:ls<-wf&&(is=-90),ds[0]=rs,ds[1]=os},sphere:function(){rs=-(os=180),is=-(us=90)}};function js(t,n){hs.push(ds=[rs=t,os=t]),n<is&&(is=n),n>us&&(us=n)}function Ws(t,n){var e=Ms([t*Nf,n*Nf]);if(ss){var r=Ss(ss,e),i=Ss([r[1],-r[0],0],r);Ns(i),i=xs(i);var o,u=t-as,a=u>0?1:-1,c=i[0]*kf*a,f=Ef(u)>180;f^(a*as<c&&c<a*t)?(o=i[1]*kf)>us&&(us=o):f^(a*as<(c=(c+360)%360-180)&&c<a*t)?(o=-i[1]*kf)<is&&(is=o):(n<is&&(is=n),n>us&&(us=n)),f?t<as?Js(rs,t)>Js(rs,os)&&(os=t):Js(t,os)>Js(rs,os)&&(rs=t):os>=rs?(t<rs&&(rs=t),t>os&&(os=t)):t>as?Js(rs,t)>Js(rs,os)&&(os=t):Js(t,os)>Js(rs,os)&&(rs=t)}else hs.push(ds=[rs=t,os=t]);n<is&&(is=n),n>us&&(us=n),ss=e,as=t}function Xs(){Hs.point=Ws}function Gs(){ds[0]=rs,ds[1]=os,Hs.point=js,ss=null}function Vs(t,n){if(ss){var e=t-as;ls.add(Ef(e)>180?e+(e>0?360:-360):e)}else cs=t,fs=n;vs.point(t,n),Ws(t,n)}function Qs(){vs.lineStart()}function Ks(){Vs(cs,fs),vs.lineEnd(),Ef(ls)>wf&&(rs=-(os=180)),ds[0]=rs,ds[1]=os,ss=null}function Js(t,n){return(n-=t)<0?n+360:n}function tl(t,n){return t[0]-n[0]}function nl(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n<t[0]||t[1]<n}function el(t){var n,e,r,i,o,u,a;if(us=os=-(rs=is=1/0),hs=[],Qf(t,Hs),e=hs.length){for(hs.sort(tl),n=1,o=[r=hs[0]];n<e;++n)nl(r,(i=hs[n])[0])||nl(r,i[1])?(Js(r[0],i[1])>Js(r[0],r[1])&&(r[1]=i[1]),Js(i[0],r[1])>Js(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(u=-1/0,n=0,r=o[e=o.length-1];n<=e;r=i,++n)i=o[n],(a=Js(r[1],i[0]))>u&&(u=a,rs=i[0],os=r[1])}return hs=ds=null,rs===1/0||is===1/0?[[NaN,NaN],[NaN,NaN]]:[[rs,is],[os,us]]}var rl={sphere:Hf,point:il,lineStart:ul,lineEnd:fl,polygonStart:function(){rl.lineStart=sl,rl.lineEnd=ll},polygonEnd:function(){rl.lineStart=ul,rl.lineEnd=fl}};function il(t,n){t*=Nf;var e=Zf(n*=Nf);ol(e*Zf(t),e*Ff(t),Ff(n))}function ol(t,n,e){++Es,Ps+=(t-Ps)/Es,Zs+=(n-Zs)/Es,Ds+=(e-Ds)/Es}function ul(){rl.point=al}function al(t,n){t*=Nf;var e=Zf(n*=Nf);$s=e*Zf(t),Is=e*Ff(t),Ls=Ff(n),rl.point=cl,ol($s,Is,Ls)}function cl(t,n){t*=Nf;var e=Zf(n*=Nf),r=e*Zf(t),i=e*Ff(t),o=Ff(n),u=Pf(Of((u=Is*o-Ls*i)*u+(u=Ls*r-$s*o)*u+(u=$s*i-Is*r)*u),$s*r+Is*i+Ls*o);Cs+=u,Us+=u*($s+($s=r)),zs+=u*(Is+(Is=i)),Ys+=u*(Ls+(Ls=o)),ol($s,Is,Ls)}function fl(){rl.point=il}function sl(){rl.point=hl}function ll(){dl(Os,Bs),rl.point=il}function hl(t,n){Os=t,Bs=n,t*=Nf,n*=Nf,rl.point=dl;var e=Zf(n);$s=e*Zf(t),Is=e*Ff(t),Ls=Ff(n),ol($s,Is,Ls)}function dl(t,n){t*=Nf;var e=Zf(n*=Nf),r=e*Zf(t),i=e*Ff(t),o=Ff(n),u=Is*o-Ls*i,a=Ls*r-$s*o,c=$s*i-Is*r,f=zf(u,a,c),s=If(f),l=f&&-s/f;qs.add(l*u),Fs.add(l*a),Rs.add(l*c),Cs+=s,Us+=s*($s+($s=r)),zs+=s*(Is+(Is=i)),Ys+=s*(Ls+(Ls=o)),ol($s,Is,Ls)}function pl(t){Es=Cs=Ps=Zs=Ds=Us=zs=Ys=0,qs=new _f,Fs=new _f,Rs=new _f,Qf(t,rl);var n=+qs,e=+Fs,r=+Rs,i=zf(n,e,r);return i<xf&&(n=Us,e=zs,r=Ys,Cs<wf&&(n=Ps,e=Zs,r=Ds),(i=zf(n,e,r))<xf)?[NaN,NaN]:[Pf(e,n)*kf,If(r/i)*kf]}function gl(t){return function(){return t}}function vl(t,n){function e(e,r){return e=t(e,r),n(e[0],e[1])}return t.invert&&n.invert&&(e.invert=function(e,r){return(e=n.invert(e,r))&&t.invert(e[0],e[1])}),e}function yl(t,n){return Ef(t)>Mf&&(t-=Math.round(t/Af)*Af),[t,n]}function ml(t,n,e){return(t%=Af)?n||e?vl(_l(t),wl(n,e)):_l(t):n||e?wl(n,e):yl}function bl(t){return function(n,e){return Ef(n+=t)>Mf&&(n-=Math.round(n/Af)*Af),[n,e]}}function _l(t){var n=bl(t);return n.invert=bl(-t),n}function wl(t,n){var e=Zf(t),r=Ff(t),i=Zf(n),o=Ff(n);function u(t,n){var u=Zf(n),a=Zf(t)*u,c=Ff(t)*u,f=Ff(n),s=f*e+a*r;return[Pf(c*i-s*o,a*e-f*r),If(s*i+c*o)]}return u.invert=function(t,n){var u=Zf(n),a=Zf(t)*u,c=Ff(t)*u,f=Ff(n),s=f*i-c*o;return[Pf(c*i+f*o,a*e+s*r),If(s*e-a*r)]},u}function xl(t){function n(n){return(n=t(n[0]*Nf,n[1]*Nf))[0]*=kf,n[1]*=kf,n}return t=ml(t[0]*Nf,t[1]*Nf,t.length>2?t[2]*Nf:0),n.invert=function(n){return(n=t.invert(n[0]*Nf,n[1]*Nf))[0]*=kf,n[1]*=kf,n},n}function Ml(t,n,e,r,i,o){if(e){var u=Zf(n),a=Ff(n),c=r*e;null==i?(i=n+r*Af,o=n-c/2):(i=Tl(u,i),o=Tl(u,o),(r>0?i<o:i>o)&&(i+=r*Af));for(var f,s=i;r>0?s>o:s<o;s-=c)f=xs([u,-a*Zf(s),-a*Ff(s)]),t.point(f[0],f[1])}}function Tl(t,n){(n=Ms(n))[0]-=t,Ns(n);var e=$f(-n[1]);return((-n[2]<0?-e:e)+Af-wf)%Af}function Sl(){var t,n,e=gl([0,0]),r=gl(90),i=gl(6),o={point:function(e,r){t.push(e=n(e,r)),e[0]*=kf,e[1]*=kf}};function u(){var u=e.apply(this,arguments),a=r.apply(this,arguments)*Nf,c=i.apply(this,arguments)*Nf;return t=[],n=ml(-u[0]*Nf,-u[1]*Nf,0).invert,Ml(o,a,c,1),u={type:"Polygon",coordinates:[t]},t=n=null,u}return u.center=function(t){return arguments.length?(e="function"===typeof t?t:gl([+t[0],+t[1]]),u):e},u.radius=function(t){return arguments.length?(r="function"===typeof t?t:gl(+t),u):r},u.precision=function(t){return arguments.length?(i="function"===typeof t?t:gl(+t),u):i},u}function Al(){var t,n=[];return{point:function(n,e,r){t.push([n,e,r])},lineStart:function(){n.push(t=[])},lineEnd:Hf,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}function kl(t,n){return Ef(t[0]-n[0])<wf&&Ef(t[1]-n[1])<wf}function Nl(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function El(t,n,e,r,i){var o,u,a=[],c=[];if(t.forEach((function(t){if(!((n=t.length-1)<=0)){var n,e,r=t[0],u=t[n];if(kl(r,u)){if(!r[2]&&!u[2]){for(i.lineStart(),o=0;o<n;++o)i.point((r=t[o])[0],r[1]);return void i.lineEnd()}u[0]+=2*wf}a.push(e=new Nl(r,t,null,!0)),c.push(e.o=new Nl(r,null,e,!1)),a.push(e=new Nl(u,t,null,!1)),c.push(e.o=new Nl(u,null,e,!0))}})),a.length){for(c.sort(n),Cl(a),Cl(c),o=0,u=c.length;o<u;++o)c[o].e=e=!e;for(var f,s,l=a[0];;){for(var h=l,d=!0;h.v;)if((h=h.n)===l)return;f=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(d)for(o=0,u=f.length;o<u;++o)i.point((s=f[o])[0],s[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(d)for(f=h.p.z,o=f.length-1;o>=0;--o)i.point((s=f[o])[0],s[1]);else r(h.x,h.p.x,-1,i);h=h.p}f=(h=h.o).z,d=!d}while(!h.v);i.lineEnd()}}}function Cl(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r<n;)i.n=e=t[r],e.p=i,i=e;i.n=e=t[0],e.p=i}}function Pl(t){return Ef(t[0])<=Mf?t[0]:Rf(t[0])*((Ef(t[0])+Mf)%Af-Mf)}function Zl(t,n){var e=Pl(n),r=n[1],i=Ff(r),o=[Ff(e),-Zf(e),0],u=0,a=0,c=new _f;1===i?r=Tf+wf:-1===i&&(r=-Tf-wf);for(var f=0,s=t.length;f<s;++f)if(h=(l=t[f]).length)for(var l,h,d=l[h-1],p=Pl(d),g=d[1]/2+Sf,v=Ff(g),y=Zf(g),m=0;m<h;++m,p=_,v=x,y=M,d=b){var b=l[m],_=Pl(b),w=b[1]/2+Sf,x=Ff(w),M=Zf(w),T=_-p,S=T>=0?1:-1,A=S*T,k=A>Mf,N=v*x;if(c.add(Pf(N*S*Ff(A),y*M+N*Zf(A))),u+=k?T+S*Af:T,k^p>=e^_>=e){var E=Ss(Ms(d),Ms(b));Ns(E);var C=Ss(o,E);Ns(C);var P=(k^T>=0?-1:1)*If(C[2]);(r>P||r===P&&(E[0]||E[1]))&&(a+=k^T>=0?1:-1)}}return(u<-wf||u<wf&&c<-xf)^1&a}function Dl(t){return Array.from(function*(t){for(const n of t)yield*n}(t))}function Ul(t,n,e,r){return function(i){var o,u,a,c=n(i),f=Al(),s=n(f),l=!1,h={point:d,lineStart:g,lineEnd:v,polygonStart:function(){h.point=y,h.lineStart=m,h.lineEnd=b,u=[],o=[]},polygonEnd:function(){h.point=d,h.lineStart=g,h.lineEnd=v,u=Dl(u);var t=Zl(o,r);u.length?(l||(i.polygonStart(),l=!0),El(u,Yl,t,e,i)):t&&(l||(i.polygonStart(),l=!0),i.lineStart(),e(null,null,1,i),i.lineEnd()),l&&(i.polygonEnd(),l=!1),u=o=null},sphere:function(){i.polygonStart(),i.lineStart(),e(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function d(n,e){t(n,e)&&i.point(n,e)}function p(t,n){c.point(t,n)}function g(){h.point=p,c.lineStart()}function v(){h.point=d,c.lineEnd()}function y(t,n){a.push([t,n]),s.point(t,n)}function m(){s.lineStart(),a=[]}function b(){y(a[0][0],a[0][1]),s.lineEnd();var t,n,e,r,c=s.clean(),h=f.result(),d=h.length;if(a.pop(),o.push(a),a=null,d)if(1&c){if((n=(e=h[0]).length-1)>0){for(l||(i.polygonStart(),l=!0),i.lineStart(),t=0;t<n;++t)i.point((r=e[t])[0],r[1]);i.lineEnd()}}else d>1&&2&c&&h.push(h.pop().concat(h.shift())),u.push(h.filter(zl))}return h}}function zl(t){return t.length>1}function Yl(t,n){return((t=t.x)[0]<0?t[1]-Tf-wf:Tf-t[1])-((n=n.x)[0]<0?n[1]-Tf-wf:Tf-n[1])}yl.invert=yl;var ql=Ul((function(){return!0}),(function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,u){var a=o>0?Mf:-Mf,c=Ef(o-e);Ef(c-Mf)<wf?(t.point(e,r=(r+u)/2>0?Tf:-Tf),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(o,r),n=0):i!==a&&c>=Mf&&(Ef(e-i)<wf&&(e-=i*wf),Ef(o-a)<wf&&(o-=a*wf),r=function(t,n,e,r){var i,o,u=Ff(t-e);return Ef(u)>wf?Cf((Ff(n)*(o=Zf(r))*Ff(e)-Ff(r)*(i=Zf(n))*Ff(t))/(i*o*u)):(n+r)/2}(e,r,o,u),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=o,r=u),i=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}}),(function(t,n,e,r){var i;if(null==t)i=e*Tf,r.point(-Mf,i),r.point(0,i),r.point(Mf,i),r.point(Mf,0),r.point(Mf,-i),r.point(0,-i),r.point(-Mf,-i),r.point(-Mf,0),r.point(-Mf,i);else if(Ef(t[0]-n[0])>wf){var o=t[0]<n[0]?Mf:-Mf;i=e*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(n[0],n[1])}),[-Mf,-Tf]);function Fl(t){var n=Zf(t),e=6*Nf,r=n>0,i=Ef(n)>wf;function o(t,e){return Zf(t)*Zf(e)>n}function u(t,e,r){var i=[1,0,0],o=Ss(Ms(t),Ms(e)),u=Ts(o,o),a=o[0],c=u-a*a;if(!c)return!r&&t;var f=n*u/c,s=-n*a/c,l=Ss(i,o),h=ks(i,f);As(h,ks(o,s));var d=l,p=Ts(h,d),g=Ts(d,d),v=p*p-g*(Ts(h,h)-1);if(!(v<0)){var y=Of(v),m=ks(d,(-p-y)/g);if(As(m,h),m=xs(m),!r)return m;var b,_=t[0],w=e[0],x=t[1],M=e[1];w<_&&(b=_,_=w,w=b);var T=w-_,S=Ef(T-Mf)<wf;if(!S&&M<x&&(b=x,x=M,M=b),S||T<wf?S?x+M>0^m[1]<(Ef(m[0]-_)<wf?x:M):x<=m[1]&&m[1]<=M:T>Mf^(_<=m[0]&&m[0]<=w)){var A=ks(d,(-p+y)/g);return As(A,h),[m,xs(A)]}}}function a(n,e){var i=r?t:Mf-t,o=0;return n<-i?o|=1:n>i&&(o|=2),e<-i?o|=4:e>i&&(o|=8),o}return Ul(o,(function(t){var n,e,c,f,s;return{lineStart:function(){f=c=!1,s=1},point:function(l,h){var d,p=[l,h],g=o(l,h),v=r?g?0:a(l,h):g?a(l+(l<0?Mf:-Mf),h):0;if(!n&&(f=c=g)&&t.lineStart(),g!==c&&(!(d=u(n,p))||kl(n,d)||kl(p,d))&&(p[2]=1),g!==c)s=0,g?(t.lineStart(),d=u(p,n),t.point(d[0],d[1])):(d=u(n,p),t.point(d[0],d[1],2),t.lineEnd()),n=d;else if(i&&n&&r^g){var y;v&e||!(y=u(p,n,!0))||(s=0,r?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1],3)))}!g||n&&kl(n,p)||t.point(p[0],p[1]),n=p,c=g,e=v},lineEnd:function(){c&&t.lineEnd(),n=null},clean:function(){return s|(f&&c)<<1}}}),(function(n,r,i,o){Ml(o,t,e,i,n,r)}),r?[0,-t]:[-Mf,t-Mf])}var Rl,Ol,Bl,$l,Il=1e9,Ll=-Il;function Hl(t,n,e,r){function i(i,o){return t<=i&&i<=e&&n<=o&&o<=r}function o(i,o,a,f){var s=0,l=0;if(null==i||(s=u(i,a))!==(l=u(o,a))||c(i,o)<0^a>0)do{f.point(0===s||3===s?t:e,s>1?r:n)}while((s=(s+a+4)%4)!==l);else f.point(o[0],o[1])}function u(r,i){return Ef(r[0]-t)<wf?i>0?0:3:Ef(r[0]-e)<wf?i>0?2:1:Ef(r[1]-n)<wf?i>0?1:0:i>0?3:2}function a(t,n){return c(t.x,n.x)}function c(t,n){var e=u(t,1),r=u(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(u){var c,f,s,l,h,d,p,g,v,y,m,b=u,_=Al(),w={point:x,lineStart:function(){w.point=M,f&&f.push(s=[]);y=!0,v=!1,p=g=NaN},lineEnd:function(){c&&(M(l,h),d&&v&&_.rejoin(),c.push(_.result()));w.point=x,v&&b.lineEnd()},polygonStart:function(){b=_,c=[],f=[],m=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,i=f.length;e<i;++e)for(var o,u,a=f[e],c=1,s=a.length,l=a[0],h=l[0],d=l[1];c<s;++c)o=h,u=d,h=(l=a[c])[0],d=l[1],u<=r?d>r&&(h-o)*(r-u)>(d-u)*(t-o)&&++n:d<=r&&(h-o)*(r-u)<(d-u)*(t-o)&&--n;return n}(),e=m&&n,i=(c=Dl(c)).length;(e||i)&&(u.polygonStart(),e&&(u.lineStart(),o(null,null,1,u),u.lineEnd()),i&&El(c,a,n,o,u),u.polygonEnd());b=u,c=f=s=null}};function x(t,n){i(t,n)&&b.point(t,n)}function M(o,u){var a=i(o,u);if(f&&s.push([o,u]),y)l=o,h=u,d=a,y=!1,a&&(b.lineStart(),b.point(o,u));else if(a&&v)b.point(o,u);else{var c=[p=Math.max(Ll,Math.min(Il,p)),g=Math.max(Ll,Math.min(Il,g))],_=[o=Math.max(Ll,Math.min(Il,o)),u=Math.max(Ll,Math.min(Il,u))];!function(t,n,e,r,i,o){var u,a=t[0],c=t[1],f=0,s=1,l=n[0]-a,h=n[1]-c;if(u=e-a,l||!(u>0)){if(u/=l,l<0){if(u<f)return;u<s&&(s=u)}else if(l>0){if(u>s)return;u>f&&(f=u)}if(u=i-a,l||!(u<0)){if(u/=l,l<0){if(u>s)return;u>f&&(f=u)}else if(l>0){if(u<f)return;u<s&&(s=u)}if(u=r-c,h||!(u>0)){if(u/=h,h<0){if(u<f)return;u<s&&(s=u)}else if(h>0){if(u>s)return;u>f&&(f=u)}if(u=o-c,h||!(u<0)){if(u/=h,h<0){if(u>s)return;u>f&&(f=u)}else if(h>0){if(u<f)return;u<s&&(s=u)}return f>0&&(t[0]=a+f*l,t[1]=c+f*h),s<1&&(n[0]=a+s*l,n[1]=c+s*h),!0}}}}}(c,_,t,n,e,r)?a&&(b.lineStart(),b.point(o,u),m=!1):(v||(b.lineStart(),b.point(c[0],c[1])),b.point(_[0],_[1]),a||b.lineEnd(),m=!1)}p=o,g=u,v=a}return w}}function jl(){var t,n,e,r=0,i=0,o=960,u=500;return e={stream:function(e){return t&&n===e?t:t=Hl(r,i,o,u)(n=e)},extent:function(a){return arguments.length?(r=+a[0][0],i=+a[0][1],o=+a[1][0],u=+a[1][1],t=n=null,e):[[r,i],[o,u]]}}}var Wl={sphere:Hf,point:Hf,lineStart:function(){Wl.point=Gl,Wl.lineEnd=Xl},lineEnd:Hf,polygonStart:Hf,polygonEnd:Hf};function Xl(){Wl.point=Wl.lineEnd=Hf}function Gl(t,n){Ol=t*=Nf,Bl=Ff(n*=Nf),$l=Zf(n),Wl.point=Vl}function Vl(t,n){t*=Nf;var e=Ff(n*=Nf),r=Zf(n),i=Ef(t-Ol),o=Zf(i),u=r*Ff(i),a=$l*e-Bl*r*o,c=Bl*e+$l*r*o;Rl.add(Pf(Of(u*u+a*a),c)),Ol=t,Bl=e,$l=r}function Ql(t){return Rl=new _f,Qf(t,Wl),+Rl}var Kl=[null,null],Jl={type:"LineString",coordinates:Kl};function th(t,n){return Kl[0]=t,Kl[1]=n,Ql(Jl)}var nh={Feature:function(t,n){return rh(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)if(rh(e[r].geometry,n))return!0;return!1}},eh={Sphere:function(){return!0},Point:function(t,n){return ih(t.coordinates,n)},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(ih(e[r],n))return!0;return!1},LineString:function(t,n){return oh(t.coordinates,n)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(oh(e[r],n))return!0;return!1},Polygon:function(t,n){return uh(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(uh(e[r],n))return!0;return!1},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)if(rh(e[r],n))return!0;return!1}};function rh(t,n){return!(!t||!eh.hasOwnProperty(t.type))&&eh[t.type](t,n)}function ih(t,n){return 0===th(t,n)}function oh(t,n){for(var e,r,i,o=0,u=t.length;o<u;o++){if(0===(r=th(t[o],n)))return!0;if(o>0&&(i=th(t[o],t[o-1]))>0&&e<=i&&r<=i&&(e+r-i)*(1-Math.pow((e-r)/i,2))<xf*i)return!0;e=r}return!1}function uh(t,n){return!!Zl(t.map(ah),ch(n))}function ah(t){return(t=t.map(ch)).pop(),t}function ch(t){return[t[0]*Nf,t[1]*Nf]}function fh(t,n){return(t&&nh.hasOwnProperty(t.type)?nh[t.type]:rh)(t,n)}function sh(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o}function lh(t,n,e){var r=sh(t,n-wf,e).concat(n);return function(t){return r.map((function(n){return[t,n]}))}}function hh(t,n,e){var r=sh(t,n-wf,e).concat(n);return function(t){return r.map((function(n){return[n,t]}))}}function dh(){var t,n,e,r,i,o,u,a,c,f,s,l,h=10,d=h,p=90,g=360,v=2.5;function y(){return{type:"MultiLineString",coordinates:m()}}function m(){return sh(Df(r/p)*p,e,p).map(s).concat(sh(Df(a/g)*g,u,g).map(l)).concat(sh(Df(n/h)*h,t,h).filter((function(t){return Ef(t%p)>wf})).map(c)).concat(sh(Df(o/d)*d,i,d).filter((function(t){return Ef(t%g)>wf})).map(f))}return y.lines=function(){return m().map((function(t){return{type:"LineString",coordinates:t}}))},y.outline=function(){return{type:"Polygon",coordinates:[s(r).concat(l(u).slice(1),s(e).reverse().slice(1),l(a).reverse().slice(1))]}},y.extent=function(t){return arguments.length?y.extentMajor(t).extentMinor(t):y.extentMinor()},y.extentMajor=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],u=+t[1][1],r>e&&(t=r,r=e,e=t),a>u&&(t=a,a=u,u=t),y.precision(v)):[[r,a],[e,u]]},y.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],o=+e[0][1],i=+e[1][1],n>t&&(e=n,n=t,t=e),o>i&&(e=o,o=i,i=e),y.precision(v)):[[n,o],[t,i]]},y.step=function(t){return arguments.length?y.stepMajor(t).stepMinor(t):y.stepMinor()},y.stepMajor=function(t){return arguments.length?(p=+t[0],g=+t[1],y):[p,g]},y.stepMinor=function(t){return arguments.length?(h=+t[0],d=+t[1],y):[h,d]},y.precision=function(h){return arguments.length?(v=+h,c=lh(o,i,90),f=hh(n,t,v),s=lh(a,u,90),l=hh(r,e,v),y):v},y.extentMajor([[-180,-90+wf],[180,90-wf]]).extentMinor([[-180,-80-wf],[180,80+wf]])}function ph(){return dh()()}function gh(t,n){var e=t[0]*Nf,r=t[1]*Nf,i=n[0]*Nf,o=n[1]*Nf,u=Zf(r),a=Ff(r),c=Zf(o),f=Ff(o),s=u*Zf(e),l=u*Ff(e),h=c*Zf(i),d=c*Ff(i),p=2*If(Of(Lf(o-r)+u*c*Lf(i-e))),g=Ff(p),v=p?function(t){var n=Ff(t*=p)/g,e=Ff(p-t)/g,r=e*s+n*h,i=e*l+n*d,o=e*a+n*f;return[Pf(i,r)*kf,Pf(o,Of(r*r+i*i))*kf]}:function(){return[e*kf,r*kf]};return v.distance=p,v}var vh,yh,mh,bh,_h=t=>t,wh=new _f,xh=new _f,Mh={point:Hf,lineStart:Hf,lineEnd:Hf,polygonStart:function(){Mh.lineStart=Th,Mh.lineEnd=kh},polygonEnd:function(){Mh.lineStart=Mh.lineEnd=Mh.point=Hf,wh.add(Ef(xh)),xh=new _f},result:function(){var t=wh/2;return wh=new _f,t}};function Th(){Mh.point=Sh}function Sh(t,n){Mh.point=Ah,vh=mh=t,yh=bh=n}function Ah(t,n){xh.add(bh*t-mh*n),mh=t,bh=n}function kh(){Ah(vh,yh)}var Nh=Mh,Eh=1/0,Ch=Eh,Ph=-Eh,Zh=Ph,Dh={point:function(t,n){t<Eh&&(Eh=t);t>Ph&&(Ph=t);n<Ch&&(Ch=n);n>Zh&&(Zh=n)},lineStart:Hf,lineEnd:Hf,polygonStart:Hf,polygonEnd:Hf,result:function(){var t=[[Eh,Ch],[Ph,Zh]];return Ph=Zh=-(Ch=Eh=1/0),t}};var Uh,zh,Yh,qh,Fh=Dh,Rh=0,Oh=0,Bh=0,$h=0,Ih=0,Lh=0,Hh=0,jh=0,Wh=0,Xh={point:Gh,lineStart:Vh,lineEnd:Jh,polygonStart:function(){Xh.lineStart=td,Xh.lineEnd=nd},polygonEnd:function(){Xh.point=Gh,Xh.lineStart=Vh,Xh.lineEnd=Jh},result:function(){var t=Wh?[Hh/Wh,jh/Wh]:Lh?[$h/Lh,Ih/Lh]:Bh?[Rh/Bh,Oh/Bh]:[NaN,NaN];return Rh=Oh=Bh=$h=Ih=Lh=Hh=jh=Wh=0,t}};function Gh(t,n){Rh+=t,Oh+=n,++Bh}function Vh(){Xh.point=Qh}function Qh(t,n){Xh.point=Kh,Gh(Yh=t,qh=n)}function Kh(t,n){var e=t-Yh,r=n-qh,i=Of(e*e+r*r);$h+=i*(Yh+t)/2,Ih+=i*(qh+n)/2,Lh+=i,Gh(Yh=t,qh=n)}function Jh(){Xh.point=Gh}function td(){Xh.point=ed}function nd(){rd(Uh,zh)}function ed(t,n){Xh.point=rd,Gh(Uh=Yh=t,zh=qh=n)}function rd(t,n){var e=t-Yh,r=n-qh,i=Of(e*e+r*r);$h+=i*(Yh+t)/2,Ih+=i*(qh+n)/2,Lh+=i,Hh+=(i=qh*t-Yh*n)*(Yh+t),jh+=i*(qh+n),Wh+=3*i,Gh(Yh=t,qh=n)}var id=Xh;function od(t){this._context=t}od.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,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(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,Af)}},result:Hf};var ud,ad,cd,fd,sd,ld=new _f,hd={point:Hf,lineStart:function(){hd.point=dd},lineEnd:function(){ud&&pd(ad,cd),hd.point=Hf},polygonStart:function(){ud=!0},polygonEnd:function(){ud=null},result:function(){var t=+ld;return ld=new _f,t}};function dd(t,n){hd.point=pd,ad=fd=t,cd=sd=n}function pd(t,n){fd-=t,sd-=n,ld.add(Of(fd*fd+sd*sd)),fd=t,sd=n}var gd=hd;let vd,yd,md,bd;class _d{constructor(t){this._append=null==t?wd:function(t){const n=Math.floor(t);if(!(n>=0))throw new RangeError(`invalid digits: ${t}`);if(n>15)return wd;if(n!==vd){const t=10**n;vd=n,yd=function(n){let e=1;this._+=n[0];for(const r=n.length;e<r;++e)this._+=Math.round(arguments[e]*t)/t+n[e]}}return yd}(t),this._radius=4.5,this._=""}pointRadius(t){return this._radius=+t,this}polygonStart(){this._line=0}polygonEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){0===this._line&&(this._+="Z"),this._point=NaN}point(t,n){switch(this._point){case 0:this._append`M${t},${n}`,this._point=1;break;case 1:this._append`L${t},${n}`;break;default:if(this._append`M${t},${n}`,this._radius!==md||this._append!==yd){const t=this._radius,n=this._;this._="",this._append`m0,${t}a${t},${t} 0 1,1 0,${-2*t}a${t},${t} 0 1,1 0,${2*t}z`,md=t,yd=this._append,bd=this._,this._=n}this._+=bd}}result(){const t=this._;return this._="",t.length?t:null}}function wd(t){let n=1;this._+=t[0];for(const e=t.length;n<e;++n)this._+=arguments[n]+t[n]}function xd(t,n){let e,r,i=3,o=4.5;function u(t){return t&&("function"===typeof o&&r.pointRadius(+o.apply(this,arguments)),Qf(t,e(r))),r.result()}return u.area=function(t){return Qf(t,e(Nh)),Nh.result()},u.measure=function(t){return Qf(t,e(gd)),gd.result()},u.bounds=function(t){return Qf(t,e(Fh)),Fh.result()},u.centroid=function(t){return Qf(t,e(id)),id.result()},u.projection=function(n){return arguments.length?(e=null==n?(t=null,_h):(t=n).stream,u):t},u.context=function(t){return arguments.length?(r=null==t?(n=null,new _d(i)):new od(n=t),"function"!==typeof o&&r.pointRadius(o),u):n},u.pointRadius=function(t){return arguments.length?(o="function"===typeof t?t:(r.pointRadius(+t),+t),u):o},u.digits=function(t){if(!arguments.length)return i;if(null==t)i=null;else{const n=Math.floor(t);if(!(n>=0))throw new RangeError(`invalid digits: ${t}`);i=n}return null===n&&(r=new _d(i)),u},u.projection(t).digits(i).context(n)}function Md(t){return{stream:Td(t)}}function Td(t){return function(n){var e=new Sd;for(var r in t)e[r]=t[r];return e.stream=n,e}}function Sd(){}function Ad(t,n,e){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),Qf(e,t.stream(Fh)),n(Fh.result()),null!=r&&t.clipExtent(r),t}function kd(t,n,e){return Ad(t,(function(e){var r=n[1][0]-n[0][0],i=n[1][1]-n[0][1],o=Math.min(r/(e[1][0]-e[0][0]),i/(e[1][1]-e[0][1])),u=+n[0][0]+(r-o*(e[1][0]+e[0][0]))/2,a=+n[0][1]+(i-o*(e[1][1]+e[0][1]))/2;t.scale(150*o).translate([u,a])}),e)}function Nd(t,n,e){return kd(t,[[0,0],n],e)}function Ed(t,n,e){return Ad(t,(function(e){var r=+n,i=r/(e[1][0]-e[0][0]),o=(r-i*(e[1][0]+e[0][0]))/2,u=-i*e[0][1];t.scale(150*i).translate([o,u])}),e)}function Cd(t,n,e){return Ad(t,(function(e){var r=+n,i=r/(e[1][1]-e[0][1]),o=-i*e[0][0],u=(r-i*(e[1][1]+e[0][1]))/2;t.scale(150*i).translate([o,u])}),e)}Sd.prototype={constructor:Sd,point:function(t,n){this.stream.point(t,n)},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 Pd=16,Zd=Zf(30*Nf);function Dd(t,n){return+n?function(t,n){function e(r,i,o,u,a,c,f,s,l,h,d,p,g,v){var y=f-r,m=s-i,b=y*y+m*m;if(b>4*n&&g--){var _=u+h,w=a+d,x=c+p,M=Of(_*_+w*w+x*x),T=If(x/=M),S=Ef(Ef(x)-1)<wf||Ef(o-l)<wf?(o+l)/2:Pf(w,_),A=t(S,T),k=A[0],N=A[1],E=k-r,C=N-i,P=m*E-y*C;(P*P/b>n||Ef((y*E+m*C)/b-.5)>.3||u*h+a*d+c*p<Zd)&&(e(r,i,o,u,a,c,k,N,S,_/=M,w/=M,x,g,v),v.point(k,N),e(k,N,S,_,w,x,f,s,l,h,d,p,g,v))}}return function(n){var r,i,o,u,a,c,f,s,l,h,d,p,g={point:v,lineStart:y,lineEnd:b,polygonStart:function(){n.polygonStart(),g.lineStart=_},polygonEnd:function(){n.polygonEnd(),g.lineStart=y}};function v(e,r){e=t(e,r),n.point(e[0],e[1])}function y(){s=NaN,g.point=m,n.lineStart()}function m(r,i){var o=Ms([r,i]),u=t(r,i);e(s,l,f,h,d,p,s=u[0],l=u[1],f=r,h=o[0],d=o[1],p=o[2],Pd,n),n.point(s,l)}function b(){g.point=v,n.lineEnd()}function _(){y(),g.point=w,g.lineEnd=x}function w(t,n){m(r=t,n),i=s,o=l,u=h,a=d,c=p,g.point=m}function x(){e(s,l,f,h,d,p,i,o,r,u,a,c,Pd,n),g.lineEnd=b,b()}return g}}(t,n):function(t){return Td({point:function(n,e){n=t(n,e),this.stream.point(n[0],n[1])}})}(t)}var Ud=Td({point:function(t,n){this.stream.point(t*Nf,n*Nf)}});function zd(t,n,e,r,i,o){if(!o)return function(t,n,e,r,i){function o(o,u){return[n+t*(o*=r),e-t*(u*=i)]}return o.invert=function(o,u){return[(o-n)/t*r,(e-u)/t*i]},o}(t,n,e,r,i);var u=Zf(o),a=Ff(o),c=u*t,f=a*t,s=u/t,l=a/t,h=(a*e-u*n)/t,d=(a*n+u*e)/t;function p(t,o){return[c*(t*=r)-f*(o*=i)+n,e-f*t-c*o]}return p.invert=function(t,n){return[r*(s*t-l*n+h),i*(d-l*t-s*n)]},p}function Yd(t){return qd((function(){return t}))()}function qd(t){var n,e,r,i,o,u,a,c,f,s,l=150,h=480,d=250,p=0,g=0,v=0,y=0,m=0,b=0,_=1,w=1,x=null,M=ql,T=null,S=_h,A=.5;function k(t){return c(t[0]*Nf,t[1]*Nf)}function N(t){return(t=c.invert(t[0],t[1]))&&[t[0]*kf,t[1]*kf]}function E(){var t=zd(l,0,0,_,w,b).apply(null,n(p,g)),r=zd(l,h-t[0],d-t[1],_,w,b);return e=ml(v,y,m),a=vl(n,r),c=vl(e,a),u=Dd(a,A),C()}function C(){return f=s=null,k}return k.stream=function(t){return f&&s===t?f:f=Ud(function(t){return Td({point:function(n,e){var r=t(n,e);return this.stream.point(r[0],r[1])}})}(e)(M(u(S(s=t)))))},k.preclip=function(t){return arguments.length?(M=t,x=void 0,C()):M},k.postclip=function(t){return arguments.length?(S=t,T=r=i=o=null,C()):S},k.clipAngle=function(t){return arguments.length?(M=+t?Fl(x=t*Nf):(x=null,ql),C()):x*kf},k.clipExtent=function(t){return arguments.length?(S=null==t?(T=r=i=o=null,_h):Hl(T=+t[0][0],r=+t[0][1],i=+t[1][0],o=+t[1][1]),C()):null==T?null:[[T,r],[i,o]]},k.scale=function(t){return arguments.length?(l=+t,E()):l},k.translate=function(t){return arguments.length?(h=+t[0],d=+t[1],E()):[h,d]},k.center=function(t){return arguments.length?(p=t[0]%360*Nf,g=t[1]%360*Nf,E()):[p*kf,g*kf]},k.rotate=function(t){return arguments.length?(v=t[0]%360*Nf,y=t[1]%360*Nf,m=t.length>2?t[2]%360*Nf:0,E()):[v*kf,y*kf,m*kf]},k.angle=function(t){return arguments.length?(b=t%360*Nf,E()):b*kf},k.reflectX=function(t){return arguments.length?(_=t?-1:1,E()):_<0},k.reflectY=function(t){return arguments.length?(w=t?-1:1,E()):w<0},k.precision=function(t){return arguments.length?(u=Dd(a,A=t*t),C()):Of(A)},k.fitExtent=function(t,n){return kd(k,t,n)},k.fitSize=function(t,n){return Nd(k,t,n)},k.fitWidth=function(t,n){return Ed(k,t,n)},k.fitHeight=function(t,n){return Cd(k,t,n)},function(){return n=t.apply(this,arguments),k.invert=n.invert&&N,E()}}function Fd(t){var n=0,e=Mf/3,r=qd(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*Nf,e=t[1]*Nf):[n*kf,e*kf]},i}function Rd(t,n){var e=Ff(t),r=(e+Ff(n))/2;if(Ef(r)<wf)return function(t){var n=Zf(t);function e(t,e){return[t*n,Ff(e)/n]}return e.invert=function(t,e){return[t/n,If(e*n)]},e}(t);var i=1+e*(2*r-e),o=Of(i)/r;function u(t,n){var e=Of(i-2*r*Ff(n))/r;return[e*Ff(t*=r),o-e*Zf(t)]}return u.invert=function(t,n){var e=o-n,u=Pf(t,Ef(e))*Rf(e);return e*r<0&&(u-=Mf*Rf(t)*Rf(e)),[u/r,If((i-(t*t+e*e)*r*r)/(2*r))]},u}function Od(){return Fd(Rd).scale(155.424).center([0,33.6442])}function Bd(){return Od().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function $d(){var t,n,e,r,i,o,u=Bd(),a=Od().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=Od().rotate([157,0]).center([-3,19.9]).parallels([8,18]),f={point:function(t,n){o=[t,n]}};function s(t){var n=t[0],u=t[1];return o=null,e.point(n,u),o||(r.point(n,u),o)||(i.point(n,u),o)}function l(){return t=n=null,s}return s.invert=function(t){var n=u.scale(),e=u.translate(),r=(t[0]-e[0])/n,i=(t[1]-e[1])/n;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?a:i>=.166&&i<.234&&r>=-.214&&r<-.115?c:u).invert(t)},s.stream=function(e){return t&&n===e?t:t=function(t){var n=t.length;return{point:function(e,r){for(var i=-1;++i<n;)t[i].point(e,r)},sphere:function(){for(var e=-1;++e<n;)t[e].sphere()},lineStart:function(){for(var e=-1;++e<n;)t[e].lineStart()},lineEnd:function(){for(var e=-1;++e<n;)t[e].lineEnd()},polygonStart:function(){for(var e=-1;++e<n;)t[e].polygonStart()},polygonEnd:function(){for(var e=-1;++e<n;)t[e].polygonEnd()}}}([u.stream(n=e),a.stream(e),c.stream(e)])},s.precision=function(t){return arguments.length?(u.precision(t),a.precision(t),c.precision(t),l()):u.precision()},s.scale=function(t){return arguments.length?(u.scale(t),a.scale(.35*t),c.scale(t),s.translate(u.translate())):u.scale()},s.translate=function(t){if(!arguments.length)return u.translate();var n=u.scale(),o=+t[0],s=+t[1];return e=u.translate(t).clipExtent([[o-.455*n,s-.238*n],[o+.455*n,s+.238*n]]).stream(f),r=a.translate([o-.307*n,s+.201*n]).clipExtent([[o-.425*n+wf,s+.12*n+wf],[o-.214*n-wf,s+.234*n-wf]]).stream(f),i=c.translate([o-.205*n,s+.212*n]).clipExtent([[o-.214*n+wf,s+.166*n+wf],[o-.115*n-wf,s+.234*n-wf]]).stream(f),l()},s.fitExtent=function(t,n){return kd(s,t,n)},s.fitSize=function(t,n){return Nd(s,t,n)},s.fitWidth=function(t,n){return Ed(s,t,n)},s.fitHeight=function(t,n){return Cd(s,t,n)},s.scale(1070)}function Id(t){return function(n,e){var r=Zf(n),i=Zf(e),o=t(r*i);return o===1/0?[2,0]:[o*i*Ff(n),o*Ff(e)]}}function Ld(t){return function(n,e){var r=Of(n*n+e*e),i=t(r),o=Ff(i),u=Zf(i);return[Pf(n*o,r*u),If(r&&e*o/r)]}}var Hd=Id((function(t){return Of(2/(1+t))}));function jd(){return Yd(Hd).scale(124.75).clipAngle(179.999)}Hd.invert=Ld((function(t){return 2*If(t/2)}));var Wd=Id((function(t){return(t=$f(t))&&t/Ff(t)}));function Xd(){return Yd(Wd).scale(79.4188).clipAngle(179.999)}function Gd(t,n){return[t,Yf(Bf((Tf+n)/2))]}function Vd(){return Qd(Gd).scale(961/Af)}function Qd(t){var n,e,r,i=Yd(t),o=i.center,u=i.scale,a=i.translate,c=i.clipExtent,f=null;function s(){var o=Mf*u(),a=i(xl(i.rotate()).invert([0,0]));return c(null==f?[[a[0]-o,a[1]-o],[a[0]+o,a[1]+o]]:t===Gd?[[Math.max(a[0]-o,f),n],[Math.min(a[0]+o,e),r]]:[[f,Math.max(a[1]-o,n)],[e,Math.min(a[1]+o,r)]])}return i.scale=function(t){return arguments.length?(u(t),s()):u()},i.translate=function(t){return arguments.length?(a(t),s()):a()},i.center=function(t){return arguments.length?(o(t),s()):o()},i.clipExtent=function(t){return arguments.length?(null==t?f=n=e=r=null:(f=+t[0][0],n=+t[0][1],e=+t[1][0],r=+t[1][1]),s()):null==f?null:[[f,n],[e,r]]},s()}function Kd(t){return Bf((Tf+t)/2)}function Jd(t,n){var e=Zf(t),r=t===n?Ff(t):Yf(e/Zf(n))/Yf(Kd(n)/Kd(t)),i=e*qf(Kd(t),r)/r;if(!r)return Gd;function o(t,n){i>0?n<-Tf+wf&&(n=-Tf+wf):n>Tf-wf&&(n=Tf-wf);var e=i/qf(Kd(n),r);return[e*Ff(r*t),i-e*Zf(r*t)]}return o.invert=function(t,n){var e=i-n,o=Rf(r)*Of(t*t+e*e),u=Pf(t,Ef(e))*Rf(e);return e*r<0&&(u-=Mf*Rf(t)*Rf(e)),[u/r,2*Cf(qf(i/o,1/r))-Tf]},o}function tp(){return Fd(Jd).scale(109.5).parallels([30,30])}function np(t,n){return[t,n]}function ep(){return Yd(np).scale(152.63)}function rp(t,n){var e=Zf(t),r=t===n?Ff(t):(e-Zf(n))/(n-t),i=e/r+t;if(Ef(r)<wf)return np;function o(t,n){var e=i-n,o=r*t;return[e*Ff(o),i-e*Zf(o)]}return o.invert=function(t,n){var e=i-n,o=Pf(t,Ef(e))*Rf(e);return e*r<0&&(o-=Mf*Rf(t)*Rf(e)),[o/r,i-Rf(r)*Of(t*t+e*e)]},o}function ip(){return Fd(rp).scale(131.154).center([0,13.9389])}Wd.invert=Ld((function(t){return t})),Gd.invert=function(t,n){return[t,2*Cf(Uf(n))-Tf]},np.invert=np;var op=1.340264,up=-.081106,ap=893e-6,cp=.003796,fp=Of(3)/2;function sp(t,n){var e=If(fp*Ff(n)),r=e*e,i=r*r*r;return[t*Zf(e)/(fp*(op+3*up*r+i*(7*ap+9*cp*r))),e*(op+up*r+i*(ap+cp*r))]}function lp(){return Yd(sp).scale(177.158)}function hp(t,n){var e=Zf(n),r=Zf(t)*e;return[e*Ff(t)/r,Ff(n)/r]}function dp(){return Yd(hp).scale(144.049).clipAngle(60)}function pp(){var t,n,e,r,i,o,u,a=1,c=0,f=0,s=1,l=1,h=0,d=null,p=1,g=1,v=Td({point:function(t,n){var e=b([t,n]);this.stream.point(e[0],e[1])}}),y=_h;function m(){return p=a*s,g=a*l,o=u=null,b}function b(e){var r=e[0]*p,i=e[1]*g;if(h){var o=i*t-r*n;r=r*t+i*n,i=o}return[r+c,i+f]}return b.invert=function(e){var r=e[0]-c,i=e[1]-f;if(h){var o=i*t+r*n;r=r*t-i*n,i=o}return[r/p,i/g]},b.stream=function(t){return o&&u===t?o:o=v(y(u=t))},b.postclip=function(t){return arguments.length?(y=t,d=e=r=i=null,m()):y},b.clipExtent=function(t){return arguments.length?(y=null==t?(d=e=r=i=null,_h):Hl(d=+t[0][0],e=+t[0][1],r=+t[1][0],i=+t[1][1]),m()):null==d?null:[[d,e],[r,i]]},b.scale=function(t){return arguments.length?(a=+t,m()):a},b.translate=function(t){return arguments.length?(c=+t[0],f=+t[1],m()):[c,f]},b.angle=function(e){return arguments.length?(n=Ff(h=e%360*Nf),t=Zf(h),m()):h*kf},b.reflectX=function(t){return arguments.length?(s=t?-1:1,m()):s<0},b.reflectY=function(t){return arguments.length?(l=t?-1:1,m()):l<0},b.fitExtent=function(t,n){return kd(b,t,n)},b.fitSize=function(t,n){return Nd(b,t,n)},b.fitWidth=function(t,n){return Ed(b,t,n)},b.fitHeight=function(t,n){return Cd(b,t,n)},b}function gp(t,n){var e=n*n,r=e*e;return[t*(.8707-.131979*e+r*(r*(.003971*e-.001529*r)-.013791)),n*(1.007226+e*(.015085+r*(.028874*e-.044475-.005916*r)))]}function vp(){return Yd(gp).scale(175.295)}function yp(t,n){return[Zf(n)*Ff(t),Ff(n)]}function mp(){return Yd(yp).scale(249.5).clipAngle(90+wf)}function bp(t,n){var e=Zf(n),r=1+Zf(t)*e;return[e*Ff(t)/r,Ff(n)/r]}function _p(){return Yd(bp).scale(250).clipAngle(142)}function wp(t,n){return[Yf(Bf((Tf+n)/2)),-t]}function xp(){var t=Qd(wp),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}function Mp(t,n){return t.parent===n.parent?1:2}function Tp(t,n){return t+n.x}function Sp(t,n){return Math.max(t,n.y)}function Ap(){var t=Mp,n=1,e=1,r=!1;function i(i){var o,u=0;i.eachAfter((function(n){var e=n.children;e?(n.x=function(t){return t.reduce(Tp,0)/t.length}(e),n.y=function(t){return 1+t.reduce(Sp,0)}(e)):(n.x=o?u+=t(n,o):0,n.y=0,o=n)}));var a=function(t){for(var n;n=t.children;)t=n[0];return t}(i),c=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(i),f=a.x-t(a,c)/2,s=c.x+t(c,a)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*n,t.y=(i.y-t.y)*e}:function(t){t.x=(t.x-f)/(s-f)*n,t.y=(1-(i.y?t.y/i.y:1))*e})}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i}function kp(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}function Np(t,n){t instanceof Map?(t=[void 0,t],void 0===n&&(n=Cp)):void 0===n&&(n=Ep);for(var e,r,i,o,u,a=new Dp(t),c=[a];e=c.pop();)if((i=n(e.data))&&(u=(i=Array.from(i)).length))for(e.children=i,o=u-1;o>=0;--o)c.push(r=i[o]=new Dp(i[o])),r.parent=e,r.depth=e.depth+1;return a.eachBefore(Zp)}function Ep(t){return t.children}function Cp(t){return Array.isArray(t)?t[1]:null}function Pp(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function Zp(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function Dp(t){this.data=t,this.depth=this.height=0,this.parent=null}function Up(t){return null==t?null:zp(t)}function zp(t){if("function"!==typeof t)throw new Error;return t}function Yp(){return 0}function qp(t){return function(){return t}}sp.invert=function(t,n){for(var e,r=n,i=r*r,o=i*i*i,u=0;u<12&&(o=(i=(r-=e=(r*(op+up*i+o*(ap+cp*i))-n)/(op+3*up*i+o*(7*ap+9*cp*i)))*r)*i*i,!(Ef(e)<xf));++u);return[fp*t*(op+3*up*i+o*(7*ap+9*cp*i))/Zf(r),If(Ff(r)/fp)]},hp.invert=Ld(Cf),gp.invert=function(t,n){var e,r=n,i=25;do{var o=r*r,u=o*o;r-=e=(r*(1.007226+o*(.015085+u*(.028874*o-.044475-.005916*u)))-n)/(1.007226+o*(.045255+u*(.259866*o-.311325-.005916*11*u)))}while(Ef(e)>wf&&--i>0);return[t/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]},yp.invert=Ld(If),bp.invert=Ld((function(t){return 2*Cf(t)})),wp.invert=function(t,n){return[-n,2*Cf(Uf(t))-Tf]},Dp.prototype=Np.prototype={constructor:Dp,count:function(){return this.eachAfter(kp)},each:function(t,n){let e=-1;for(const r of this)t.call(n,r,++e,this);return this},eachAfter:function(t,n){for(var e,r,i,o=this,u=[o],a=[],c=-1;o=u.pop();)if(a.push(o),e=o.children)for(r=0,i=e.length;r<i;++r)u.push(e[r]);for(;o=a.pop();)t.call(n,o,++c,this);return this},eachBefore:function(t,n){for(var e,r,i=this,o=[i],u=-1;i=o.pop();)if(t.call(n,i,++u,this),e=i.children)for(r=e.length-1;r>=0;--r)o.push(e[r]);return this},find:function(t,n){let e=-1;for(const r of this)if(t.call(n,r,++e,this))return r},sum:function(t){return this.eachAfter((function(n){for(var e=+t(n.data)||0,r=n.children,i=r&&r.length;--i>=0;)e+=r[i].value;n.value=e}))},sort:function(t){return this.eachBefore((function(n){n.children&&n.children.sort(t)}))},path:function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore((function(n){n.children||t.push(n)})),t},links:function(){var t=this,n=[];return t.each((function(e){e!==t&&n.push({source:e.parent,target:e})})),n},copy:function(){return Np(this).eachBefore(Pp)},[Symbol.iterator]:function*(){var t,n,e,r,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(yield i,n=i.children)for(e=0,r=n.length;e<r;++e)o.push(n[e])}while(o.length)}};const Fp=1664525,Rp=1013904223,Op=4294967296;function Bp(){let t=1;return()=>(t=(Fp*t+Rp)%Op)/Op}function $p(t){return Ip(t,Bp())}function Ip(t,n){for(var e,r,i=0,o=(t=function(t,n){let e,r,i=t.length;for(;i;)r=n()*i--|0,e=t[i],t[i]=t[r],t[r]=e;return t}(Array.from(t),n)).length,u=[];i<o;)e=t[i],r&&jp(r,e)?++i:(r=Xp(u=Lp(u,e)),i=0);return r}function Lp(t,n){var e,r;if(Wp(n,t))return[n];for(e=0;e<t.length;++e)if(Hp(n,t[e])&&Wp(Gp(t[e],n),t))return[t[e],n];for(e=0;e<t.length-1;++e)for(r=e+1;r<t.length;++r)if(Hp(Gp(t[e],t[r]),n)&&Hp(Gp(t[e],n),t[r])&&Hp(Gp(t[r],n),t[e])&&Wp(Vp(t[e],t[r],n),t))return[t[e],t[r],n];throw new Error}function Hp(t,n){var e=t.r-n.r,r=n.x-t.x,i=n.y-t.y;return e<0||e*e<r*r+i*i}function jp(t,n){var e=t.r-n.r+1e-9*Math.max(t.r,n.r,1),r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function Wp(t,n){for(var e=0;e<n.length;++e)if(!jp(t,n[e]))return!1;return!0}function Xp(t){switch(t.length){case 1:return function(t){return{x:t.x,y:t.y,r:t.r}}(t[0]);case 2:return Gp(t[0],t[1]);case 3:return Vp(t[0],t[1],t[2])}}function Gp(t,n){var e=t.x,r=t.y,i=t.r,o=n.x,u=n.y,a=n.r,c=o-e,f=u-r,s=a-i,l=Math.sqrt(c*c+f*f);return{x:(e+o+c/l*s)/2,y:(r+u+f/l*s)/2,r:(l+i+a)/2}}function Vp(t,n,e){var r=t.x,i=t.y,o=t.r,u=n.x,a=n.y,c=n.r,f=e.x,s=e.y,l=e.r,h=r-u,d=r-f,p=i-a,g=i-s,v=c-o,y=l-o,m=r*r+i*i-o*o,b=m-u*u-a*a+c*c,_=m-f*f-s*s+l*l,w=d*p-h*g,x=(p*_-g*b)/(2*w)-r,M=(g*v-p*y)/w,T=(d*b-h*_)/(2*w)-i,S=(h*y-d*v)/w,A=M*M+S*S-1,k=2*(o+x*M+T*S),N=x*x+T*T-o*o,E=-(Math.abs(A)>1e-6?(k+Math.sqrt(k*k-4*A*N))/(2*A):N/k);return{x:r+x+M*E,y:i+T+S*E,r:E}}function Qp(t,n,e){var r,i,o,u,a=t.x-n.x,c=t.y-n.y,f=a*a+c*c;f?(i=n.r+e.r,i*=i,u=t.r+e.r,i>(u*=u)?(r=(f+u-i)/(2*f),o=Math.sqrt(Math.max(0,u/f-r*r)),e.x=t.x-r*a-o*c,e.y=t.y-r*c+o*a):(r=(f+i-u)/(2*f),o=Math.sqrt(Math.max(0,i/f-r*r)),e.x=n.x+r*a-o*c,e.y=n.y+r*c+o*a)):(e.x=n.x+e.r,e.y=n.y)}function Kp(t,n){var e=t.r+n.r-1e-6,r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function Jp(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,o=(n.y*e.r+e.y*n.r)/r;return i*i+o*o}function tg(t){this._=t,this.next=null,this.previous=null}function ng(t,n){if(!(o=(t=function(t){return"object"===typeof t&&"length"in t?t:Array.from(t)}(t)).length))return 0;var e,r,i,o,u,a,c,f,s,l,h;if((e=t[0]).x=0,e.y=0,!(o>1))return e.r;if(r=t[1],e.x=-r.r,r.x=e.r,r.y=0,!(o>2))return e.r+r.r;Qp(r,e,i=t[2]),e=new tg(e),r=new tg(r),i=new tg(i),e.next=i.previous=r,r.next=e.previous=i,i.next=r.previous=e;t:for(c=3;c<o;++c){Qp(e._,r._,i=t[c]),i=new tg(i),f=r.next,s=e.previous,l=r._.r,h=e._.r;do{if(l<=h){if(Kp(f._,i._)){r=f,e.next=r,r.previous=e,--c;continue t}l+=f._.r,f=f.next}else{if(Kp(s._,i._)){(e=s).next=r,r.previous=e,--c;continue t}h+=s._.r,s=s.previous}}while(f!==s.next);for(i.previous=e,i.next=r,e.next=r.previous=r=i,u=Jp(e);(i=i.next)!==r;)(a=Jp(i))<u&&(e=i,u=a);r=e.next}for(e=[r._],i=r;(i=i.next)!==r;)e.push(i._);for(i=Ip(e,n),c=0;c<o;++c)(e=t[c]).x-=i.x,e.y-=i.y;return i.r}function eg(t){return ng(t,Bp()),t}function rg(t){return Math.sqrt(t.value)}function ig(){var t=null,n=1,e=1,r=Yp;function i(i){const o=Bp();return i.x=n/2,i.y=e/2,t?i.eachBefore(og(t)).eachAfter(ug(r,.5,o)).eachBefore(ag(1)):i.eachBefore(og(rg)).eachAfter(ug(Yp,1,o)).eachAfter(ug(r,i.r/Math.min(n,e),o)).eachBefore(ag(Math.min(n,e)/(2*i.r))),i}return i.radius=function(n){return arguments.length?(t=Up(n),i):t},i.size=function(t){return arguments.length?(n=+t[0],e=+t[1],i):[n,e]},i.padding=function(t){return arguments.length?(r="function"===typeof t?t:qp(+t),i):r},i}function og(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function ug(t,n,e){return function(r){if(i=r.children){var i,o,u,a=i.length,c=t(r)*n||0;if(c)for(o=0;o<a;++o)i[o].r+=c;if(u=ng(i,e),c)for(o=0;o<a;++o)i[o].r-=c;r.r=u+c}}}function ag(t){return function(n){var e=n.parent;n.r*=t,e&&(n.x=e.x+t*n.x,n.y=e.y+t*n.y)}}function cg(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function fg(t,n,e,r,i){for(var o,u=t.children,a=-1,c=u.length,f=t.value&&(r-n)/t.value;++a<c;)(o=u[a]).y0=e,o.y1=i,o.x0=n,o.x1=n+=o.value*f}function sg(){var t=1,n=1,e=0,r=!1;function i(i){var o=i.height+1;return i.x0=i.y0=e,i.x1=t,i.y1=n/o,i.eachBefore(function(t,n){return function(r){r.children&&fg(r,r.x0,t*(r.depth+1)/n,r.x1,t*(r.depth+2)/n);var i=r.x0,o=r.y0,u=r.x1-e,a=r.y1-e;u<i&&(i=u=(i+u)/2),a<o&&(o=a=(o+a)/2),r.x0=i,r.y0=o,r.x1=u,r.y1=a}}(n,o)),r&&i.eachBefore(cg),i}return i.round=function(t){return arguments.length?(r=!!t,i):r},i.size=function(e){return arguments.length?(t=+e[0],n=+e[1],i):[t,n]},i.padding=function(t){return arguments.length?(e=+t,i):e},i}var lg={depth:-1},hg={},dg={};function pg(t){return t.id}function gg(t){return t.parentId}function vg(){var t,n=pg,e=gg;function r(r){var i,o,u,a,c,f,s,l,h=Array.from(r),d=n,p=e,g=new Map;if(null!=t){const n=h.map(((n,e)=>function(t){t=`${t}`;let n=t.length;mg(t,n-1)&&!mg(t,n-2)&&(t=t.slice(0,-1));return"/"===t[0]?t:`/${t}`}(t(n,e,r)))),e=n.map(yg),i=new Set(n).add("");for(const t of e)i.has(t)||(i.add(t),n.push(t),e.push(yg(t)),h.push(dg));d=(t,e)=>n[e],p=(t,n)=>e[n]}for(u=0,i=h.length;u<i;++u)o=h[u],f=h[u]=new Dp(o),null!=(s=d(o,u,r))&&(s+="")&&(l=f.id=s,g.set(l,g.has(l)?hg:f)),null!=(s=p(o,u,r))&&(s+="")&&(f.parent=s);for(u=0;u<i;++u)if(s=(f=h[u]).parent){if(!(c=g.get(s)))throw new Error("missing: "+s);if(c===hg)throw new Error("ambiguous: "+s);c.children?c.children.push(f):c.children=[f],f.parent=c}else{if(a)throw new Error("multiple roots");a=f}if(!a)throw new Error("no root");if(null!=t){for(;a.data===dg&&1===a.children.length;)a=a.children[0],--i;for(let t=h.length-1;t>=0&&(f=h[t]).data===dg;--t)f.data=null}if(a.parent=lg,a.eachBefore((function(t){t.depth=t.parent.depth+1,--i})).eachBefore(Zp),a.parent=null,i>0)throw new Error("cycle");return a}return r.id=function(t){return arguments.length?(n=Up(t),r):n},r.parentId=function(t){return arguments.length?(e=Up(t),r):e},r.path=function(n){return arguments.length?(t=Up(n),r):t},r}function yg(t){let n=t.length;if(n<2)return"";for(;--n>1&&!mg(t,n););return t.slice(0,n)}function mg(t,n){if("/"===t[n]){let e=0;for(;n>0&&"\\"===t[--n];)++e;if(0===(1&e))return!0}return!1}function bg(t,n){return t.parent===n.parent?1:2}function _g(t){var n=t.children;return n?n[0]:t.t}function wg(t){var n=t.children;return n?n[n.length-1]:t.t}function xg(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function Mg(t,n,e){return t.a.parent===n.parent?t.a:e}function Tg(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}function Sg(){var t=bg,n=1,e=1,r=null;function i(i){var c=function(t){for(var n,e,r,i,o,u=new Tg(t,0),a=[u];n=a.pop();)if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)a.push(e=n.children[i]=new Tg(r[i],i)),e.parent=n;return(u.parent=new Tg(null,0)).children=[u],u}(i);if(c.eachAfter(o),c.parent.m=-c.z,c.eachBefore(u),r)i.eachBefore(a);else{var f=i,s=i,l=i;i.eachBefore((function(t){t.x<f.x&&(f=t),t.x>s.x&&(s=t),t.depth>l.depth&&(l=t)}));var h=f===s?1:t(f,s)/2,d=h-f.x,p=n/(s.x+h+d),g=e/(l.depth||1);i.eachBefore((function(t){t.x=(t.x+d)*p,t.y=t.depth*g}))}return i}function o(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,o=i.length;--o>=0;)(n=i[o]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var o=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-o):n.z=o}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,o=n,u=n,a=e,c=o.parent.children[0],f=o.m,s=u.m,l=a.m,h=c.m;a=wg(a),o=_g(o),a&&o;)c=_g(c),(u=wg(u)).a=n,(i=a.z+l-o.z-f+t(a._,o._))>0&&(xg(Mg(a,n,r),n,i),f+=i,s+=i),l+=a.m,f+=o.m,h+=c.m,s+=u.m;a&&!wg(u)&&(u.t=a,u.m+=l-s),o&&!_g(c)&&(c.t=o,c.m+=f-h,r=n)}return r}(n,i,n.parent.A||r[0])}function u(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function a(t){t.x*=n,t.y=t.depth*e}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i}function Ag(t,n,e,r,i){for(var o,u=t.children,a=-1,c=u.length,f=t.value&&(i-e)/t.value;++a<c;)(o=u[a]).x0=n,o.x1=r,o.y0=e,o.y1=e+=o.value*f}Tg.prototype=Object.create(Dp.prototype);var kg=(1+Math.sqrt(5))/2;function Ng(t,n,e,r,i,o){for(var u,a,c,f,s,l,h,d,p,g,v,y=[],m=n.children,b=0,_=0,w=m.length,x=n.value;b<w;){c=i-e,f=o-r;do{s=m[_++].value}while(!s&&_<w);for(l=h=s,v=s*s*(g=Math.max(f/c,c/f)/(x*t)),p=Math.max(h/v,v/l);_<w;++_){if(s+=a=m[_].value,a<l&&(l=a),a>h&&(h=a),v=s*s*g,(d=Math.max(h/v,v/l))>p){s-=a;break}p=d}y.push(u={value:s,dice:c<f,children:m.slice(b,_)}),u.dice?fg(u,e,r,i,x?r+=f*s/x:o):Ag(u,e,r,x?e+=c*s/x:i,o),x-=s,b=_}return y}var Eg=function t(n){function e(t,e,r,i,o){Ng(n,t,e,r,i,o)}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(kg);function Cg(){var t=Eg,n=!1,e=1,r=1,i=[0],o=Yp,u=Yp,a=Yp,c=Yp,f=Yp;function s(t){return t.x0=t.y0=0,t.x1=e,t.y1=r,t.eachBefore(l),i=[0],n&&t.eachBefore(cg),t}function l(n){var e=i[n.depth],r=n.x0+e,s=n.y0+e,l=n.x1-e,h=n.y1-e;l<r&&(r=l=(r+l)/2),h<s&&(s=h=(s+h)/2),n.x0=r,n.y0=s,n.x1=l,n.y1=h,n.children&&(e=i[n.depth+1]=o(n)/2,r+=f(n)-e,s+=u(n)-e,(l-=a(n)-e)<r&&(r=l=(r+l)/2),(h-=c(n)-e)<s&&(s=h=(s+h)/2),t(n,r,s,l,h))}return s.round=function(t){return arguments.length?(n=!!t,s):n},s.size=function(t){return arguments.length?(e=+t[0],r=+t[1],s):[e,r]},s.tile=function(n){return arguments.length?(t=zp(n),s):t},s.padding=function(t){return arguments.length?s.paddingInner(t).paddingOuter(t):s.paddingInner()},s.paddingInner=function(t){return arguments.length?(o="function"===typeof t?t:qp(+t),s):o},s.paddingOuter=function(t){return arguments.length?s.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):s.paddingTop()},s.paddingTop=function(t){return arguments.length?(u="function"===typeof t?t:qp(+t),s):u},s.paddingRight=function(t){return arguments.length?(a="function"===typeof t?t:qp(+t),s):a},s.paddingBottom=function(t){return arguments.length?(c="function"===typeof t?t:qp(+t),s):c},s.paddingLeft=function(t){return arguments.length?(f="function"===typeof t?t:qp(+t),s):f},s}function Pg(t,n,e,r,i){var o,u,a=t.children,c=a.length,f=new Array(c+1);for(f[0]=u=o=0;o<c;++o)f[o+1]=u+=a[o].value;!function t(n,e,r,i,o,u,c){if(n>=e-1){var s=a[n];return s.x0=i,s.y0=o,s.x1=u,void(s.y1=c)}var l=f[n],h=r/2+l,d=n+1,p=e-1;for(;d<p;){var g=d+p>>>1;f[g]<h?d=g+1:p=g}h-f[d-1]<f[d]-h&&n+1<d&&--d;var v=f[d]-l,y=r-v;if(u-i>c-o){var m=r?(i*y+u*v)/r:u;t(n,d,v,i,o,m,c),t(d,e,y,m,o,u,c)}else{var b=r?(o*y+c*v)/r:c;t(n,d,v,i,o,u,b),t(d,e,y,i,b,u,c)}}(0,c,t.value,n,e,r,i)}function Zg(t,n,e,r,i){(1&t.depth?Ag:fg)(t,n,e,r,i)}var Dg=function t(n){function e(t,e,r,i,o){if((u=t._squarify)&&u.ratio===n)for(var u,a,c,f,s,l=-1,h=u.length,d=t.value;++l<h;){for(c=(a=u[l]).children,f=a.value=0,s=c.length;f<s;++f)a.value+=c[f].value;a.dice?fg(a,e,r,i,d?r+=(o-r)*a.value/d:o):Ag(a,e,r,d?e+=(i-e)*a.value/d:i,o),d-=a.value}else t._squarify=u=Ng(n,t,e,r,i,o),u.ratio=n}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(kg),Ug=e(51606),zg=e(27265),Yg=e(76068),qg=e(56246);function Fg(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}var Rg=e(98280);function Og(t,n){var e=(0,Rg.wx)(+t,+n);return function(t){var n=e(t);return n-360*Math.floor(n/360)}}var Bg=e(45401),$g=e(58296),Ig=e(64635);function Lg(t){return((t=Math.exp(t))+1/t)/2}var Hg=function t(n,e,r){function i(t,i){var o,u,a=t[0],c=t[1],f=t[2],s=i[0],l=i[1],h=i[2],d=s-a,p=l-c,g=d*d+p*p;if(g<1e-12)u=Math.log(h/f)/n,o=function(t){return[a+t*d,c+t*p,f*Math.exp(n*t*u)]};else{var v=Math.sqrt(g),y=(h*h-f*f+r*g)/(2*f*e*v),m=(h*h-f*f-r*g)/(2*h*e*v),b=Math.log(Math.sqrt(y*y+1)-y),_=Math.log(Math.sqrt(m*m+1)-m);u=(_-b)/n,o=function(t){var r=t*u,i=Lg(b),o=f/(e*v)*(i*function(t){return((t=Math.exp(2*t))-1)/(t+1)}(n*r+b)-function(t){return((t=Math.exp(t))-1/t)/2}(b));return[a+o*d,c+o*p,f*i/Lg(n*r+b)]}}return o.duration=1e3*u*n/Math.SQRT2,o}return i.rho=function(n){var e=Math.max(.001,+n),r=e*e;return t(e,r,r*r)},i}(Math.SQRT2,2,4);function jg(t){return function(n,e){var r=t((n=(0,Fr.Ym)(n)).h,(e=(0,Fr.Ym)(e)).h),i=(0,Rg.ZP)(n.s,e.s),o=(0,Rg.ZP)(n.l,e.l),u=(0,Rg.ZP)(n.opacity,e.opacity);return function(t){return n.h=r(t),n.s=i(t),n.l=o(t),n.opacity=u(t),n+""}}}var Wg=jg(Rg.wx),Xg=jg(Rg.ZP);function Gg(t,n){var e=(0,Rg.ZP)((t=Yo(t)).l,(n=Yo(n)).l),r=(0,Rg.ZP)(t.a,n.a),i=(0,Rg.ZP)(t.b,n.b),o=(0,Rg.ZP)(t.opacity,n.opacity);return function(n){return t.l=e(n),t.a=r(n),t.b=i(n),t.opacity=o(n),t+""}}function Vg(t){return function(n,e){var r=t((n=Lo(n)).h,(e=Lo(e)).h),i=(0,Rg.ZP)(n.c,e.c),o=(0,Rg.ZP)(n.l,e.l),u=(0,Rg.ZP)(n.opacity,e.opacity);return function(t){return n.h=r(t),n.c=i(t),n.l=o(t),n.opacity=u(t),n+""}}}var Qg=Vg(Rg.wx),Kg=Vg(Rg.ZP);function Jg(t){return function n(e){function r(n,r){var i=t((n=nu(n)).h,(r=nu(r)).h),o=(0,Rg.ZP)(n.s,r.s),u=(0,Rg.ZP)(n.l,r.l),a=(0,Rg.ZP)(n.opacity,r.opacity);return function(t){return n.h=i(t),n.s=o(t),n.l=u(Math.pow(t,e)),n.opacity=a(t),n+""}}return e=+e,r.gamma=n,r}(1)}var tv=Jg(Rg.wx),nv=Jg(Rg.ZP),ev=e(19640);function rv(t,n){for(var e=new Array(n),r=0;r<n;++r)e[r]=t(r/(n-1));return e}function iv(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e<r;)n=i,i=t[e],o+=n[1]*i[0]-n[0]*i[1];return o/2}function ov(t){for(var n,e,r=-1,i=t.length,o=0,u=0,a=t[i-1],c=0;++r<i;)n=a,a=t[r],c+=e=n[0]*a[1]-a[0]*n[1],o+=(n[0]+a[0])*e,u+=(n[1]+a[1])*e;return[o/(c*=3),u/c]}function uv(t,n,e){return(n[0]-t[0])*(e[1]-t[1])-(n[1]-t[1])*(e[0]-t[0])}function av(t,n){return t[0]-n[0]||t[1]-n[1]}function cv(t){const n=t.length,e=[0,1];let r,i=2;for(r=2;r<n;++r){for(;i>1&&uv(t[e[i-2]],t[e[i-1]],t[r])<=0;)--i;e[i++]=r}return e.slice(0,i)}function fv(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),i=new Array(e);for(n=0;n<e;++n)r[n]=[+t[n][0],+t[n][1],n];for(r.sort(av),n=0;n<e;++n)i[n]=[r[n][0],-r[n][1]];var o=cv(r),u=cv(i),a=u[0]===o[0],c=u[u.length-1]===o[o.length-1],f=[];for(n=o.length-1;n>=0;--n)f.push(t[r[o[n]][2]]);for(n=+a;n<u.length-c;++n)f.push(t[r[u[n]][2]]);return f}function sv(t,n){for(var e,r,i=t.length,o=t[i-1],u=n[0],a=n[1],c=o[0],f=o[1],s=!1,l=0;l<i;++l)e=(o=t[l])[0],(r=o[1])>a!==f>a&&u<(c-e)*(a-r)/(f-r)+e&&(s=!s),c=e,f=r;return s}function lv(t){for(var n,e,r=-1,i=t.length,o=t[i-1],u=o[0],a=o[1],c=0;++r<i;)n=u,e=a,n-=u=(o=t[r])[0],e-=a=o[1],c+=Math.hypot(n,e);return c}var hv=Math.random,dv=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(hv),pv=function t(n){function e(t,e){return arguments.length<2&&(e=t,t=0),t=Math.floor(t),e=Math.floor(e)-t,function(){return Math.floor(n()*e+t)}}return e.source=t,e}(hv),gv=function t(n){function e(t,e){var r,i;return t=null==t?0:+t,e=null==e?1:+e,function(){var o;if(null!=r)o=r,r=null;else do{r=2*n()-1,o=2*n()-1,i=r*r+o*o}while(!i||i>1);return t+e*o*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(hv),vv=function t(n){var e=gv.source(n);function r(){var t=e.apply(this,arguments);return function(){return Math.exp(t())}}return r.source=t,r}(hv),yv=function t(n){function e(t){return(t=+t)<=0?()=>0:function(){for(var e=0,r=t;r>1;--r)e+=n();return e+r*n()}}return e.source=t,e}(hv),mv=function t(n){var e=yv.source(n);function r(t){if(0===(t=+t))return n;var r=e(t);return function(){return r()/t}}return r.source=t,r}(hv),bv=function t(n){function e(t){return function(){return-Math.log1p(-n())/t}}return e.source=t,e}(hv),_v=function t(n){function e(t){if((t=+t)<0)throw new RangeError("invalid alpha");return t=1/-t,function(){return Math.pow(1-n(),t)}}return e.source=t,e}(hv),wv=function t(n){function e(t){if((t=+t)<0||t>1)throw new RangeError("invalid p");return function(){return Math.floor(n()+t)}}return e.source=t,e}(hv),xv=function t(n){function e(t){if((t=+t)<0||t>1)throw new RangeError("invalid p");return 0===t?()=>1/0:1===t?()=>1:(t=Math.log1p(-t),function(){return 1+Math.floor(Math.log1p(-n())/t)})}return e.source=t,e}(hv),Mv=function t(n){var e=gv.source(n)();function r(t,r){if((t=+t)<0)throw new RangeError("invalid k");if(0===t)return()=>0;if(r=null==r?1:+r,1===t)return()=>-Math.log1p(-n())*r;var i=(t<1?t+1:t)-1/3,o=1/(3*Math.sqrt(i)),u=t<1?()=>Math.pow(n(),1/t):()=>1;return function(){do{do{var t=e(),a=1+o*t}while(a<=0);a*=a*a;var c=1-n()}while(c>=1-.0331*t*t*t*t&&Math.log(c)>=.5*t*t+i*(1-a+Math.log(a)));return i*a*u()*r}}return r.source=t,r}(hv),Tv=function t(n){var e=Mv.source(n);function r(t,n){var r=e(t),i=e(n);return function(){var t=r();return 0===t?0:t/(t+i())}}return r.source=t,r}(hv),Sv=function t(n){var e=xv.source(n),r=Tv.source(n);function i(t,n){return t=+t,(n=+n)>=1?()=>t:n<=0?()=>0:function(){for(var i=0,o=t,u=n;o*u>16&&o*(1-u)>16;){var a=Math.floor((o+1)*u),c=r(a,o-a+1)();c<=u?(i+=a,o-=a,u=(u-c)/(1-c)):(o=a-1,u/=c)}for(var f=u<.5,s=e(f?u:1-u),l=s(),h=0;l<=o;++h)l+=s();return i+(f?h:o-h)}}return i.source=t,i}(hv),Av=function t(n){function e(t,e,r){var i;return 0===(t=+t)?i=t=>-Math.log(t):(t=1/t,i=n=>Math.pow(n,t)),e=null==e?0:+e,r=null==r?1:+r,function(){return e+r*i(-Math.log1p(-n()))}}return e.source=t,e}(hv),kv=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,function(){return t+e*Math.tan(Math.PI*n())}}return e.source=t,e}(hv),Nv=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,function(){var r=n();return t+e*Math.log(r/(1-r))}}return e.source=t,e}(hv),Ev=function t(n){var e=Mv.source(n),r=Sv.source(n);function i(t){return function(){for(var i=0,o=t;o>16;){var u=Math.floor(.875*o),a=e(u)();if(a>o)return i+r(u-1,o/a)();i+=u,o-=a}for(var c=-Math.log1p(-n()),f=0;c<=o;++f)c-=Math.log1p(-n());return i+f}}return i.source=t,i}(hv);const Cv=1664525,Pv=1013904223,Zv=1/4294967296;function Dv(t=Math.random()){let n=0|(0<=t&&t<1?t/Zv:Math.abs(t));return()=>(n=Cv*n+Pv|0,Zv*(n>>>0))}var Uv=e(69032);function zv(t){for(var n=t.length/6|0,e=new Array(n),r=0;r<n;)e[r]="#"+t.slice(6*r,6*++r);return e}var Yv=zv("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),qv=zv("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),Fv=zv("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),Rv=zv("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),Ov=zv("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),Bv=zv("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),$v=zv("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),Iv=zv("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),Lv=zv("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),Hv=zv("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),jv=t=>(0,Rr.hD)(t[t.length-1]),Wv=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(zv),Xv=jv(Wv),Gv=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(zv),Vv=jv(Gv),Qv=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(zv),Kv=jv(Qv),Jv=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(zv),ty=jv(Jv),ny=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(zv),ey=jv(ny),ry=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(zv),iy=jv(ry),oy=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(zv),uy=jv(oy),ay=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(zv),cy=jv(ay),fy=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(zv),sy=jv(fy),ly=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(zv),hy=jv(ly),dy=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(zv),py=jv(dy),gy=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(zv),vy=jv(gy),yy=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(zv),my=jv(yy),by=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(zv),_y=jv(by),wy=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(zv),xy=jv(wy),My=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(zv),Ty=jv(My),Sy=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(zv),Ay=jv(Sy),ky=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(zv),Ny=jv(ky),Ey=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(zv),Cy=jv(Ey),Py=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(zv),Zy=jv(Py),Dy=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(zv),Uy=jv(Dy),zy=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(zv),Yy=jv(zy),qy=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(zv),Fy=jv(qy),Ry=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(zv),Oy=jv(Ry),By=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(zv),$y=jv(By),Iy=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(zv),Ly=jv(Iy),Hy=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(zv),jy=jv(Hy);function Wy(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-t*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"}var Xy=nv(nu(300,.5,0),nu(-240,.5,1)),Gy=nv(nu(-100,.75,.35),nu(80,1.5,.8)),Vy=nv(nu(260,.75,.35),nu(80,1.5,.8)),Qy=nu();function Ky(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return Qy.h=360*t-100,Qy.s=1.5-1.5*n,Qy.l=.8-.9*n,Qy+""}var Jy=(0,Fr.B8)(),tm=Math.PI/3,nm=2*Math.PI/3;function em(t){var n;return t=(.5-t)*Math.PI,Jy.r=255*(n=Math.sin(t))*n,Jy.g=255*(n=Math.sin(t+tm))*n,Jy.b=255*(n=Math.sin(t+nm))*n,Jy+""}function rm(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"}function im(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}var om=im(zv("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),um=im(zv("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),am=im(zv("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),cm=im(zv("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function fm(t){return qe(Me(t).call(document.documentElement))}var sm=0;function lm(){return new hm}function hm(){this._="@"+(++sm).toString(36)}function dm(t,n){return t.target&&(t=He(t),void 0===n&&(n=t.currentTarget),t=t.touches||[t]),Array.from(t,(t=>je(t,n)))}function pm(t){return"string"===typeof t?new Ue([document.querySelectorAll(t)],[document.documentElement]):new Ue([An(t)],De)}function gm(t){return function(){return t}}hm.prototype=lm.prototype={constructor:hm,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._}};const vm=Math.abs,ym=Math.atan2,mm=Math.cos,bm=Math.max,_m=Math.min,wm=Math.sin,xm=Math.sqrt,Mm=1e-12,Tm=Math.PI,Sm=Tm/2,Am=2*Tm;function km(t){return t>=1?Sm:t<=-1?-Sm:Math.asin(t)}function Nm(t){let n=3;return t.digits=function(e){if(!arguments.length)return n;if(null==e)n=null;else{const t=Math.floor(e);if(!(t>=0))throw new RangeError(`invalid digits: ${e}`);n=t}return t},()=>new co(n)}function Em(t){return t.innerRadius}function Cm(t){return t.outerRadius}function Pm(t){return t.startAngle}function Zm(t){return t.endAngle}function Dm(t){return t&&t.padAngle}function Um(t,n,e,r,i,o,u){var a=t-e,c=n-r,f=(u?o:-o)/xm(a*a+c*c),s=f*c,l=-f*a,h=t+s,d=n+l,p=e+s,g=r+l,v=(h+p)/2,y=(d+g)/2,m=p-h,b=g-d,_=m*m+b*b,w=i-o,x=h*g-p*d,M=(b<0?-1:1)*xm(bm(0,w*w*_-x*x)),T=(x*b-m*M)/_,S=(-x*m-b*M)/_,A=(x*b+m*M)/_,k=(-x*m+b*M)/_,N=T-v,E=S-y,C=A-v,P=k-y;return N*N+E*E>C*C+P*P&&(T=A,S=k),{cx:T,cy:S,x01:-s,y01:-l,x11:T*(i/w-1),y11:S*(i/w-1)}}function zm(){var t=Em,n=Cm,e=gm(0),r=null,i=Pm,o=Zm,u=Dm,a=null,c=Nm(f);function f(){var f,s,l=+t.apply(this,arguments),h=+n.apply(this,arguments),d=i.apply(this,arguments)-Sm,p=o.apply(this,arguments)-Sm,g=vm(p-d),v=p>d;if(a||(a=f=c()),h<l&&(s=h,h=l,l=s),h>Mm)if(g>Am-Mm)a.moveTo(h*mm(d),h*wm(d)),a.arc(0,0,h,d,p,!v),l>Mm&&(a.moveTo(l*mm(p),l*wm(p)),a.arc(0,0,l,p,d,v));else{var y,m,b=d,_=p,w=d,x=p,M=g,T=g,S=u.apply(this,arguments)/2,A=S>Mm&&(r?+r.apply(this,arguments):xm(l*l+h*h)),k=_m(vm(h-l)/2,+e.apply(this,arguments)),N=k,E=k;if(A>Mm){var C=km(A/l*wm(S)),P=km(A/h*wm(S));(M-=2*C)>Mm?(w+=C*=v?1:-1,x-=C):(M=0,w=x=(d+p)/2),(T-=2*P)>Mm?(b+=P*=v?1:-1,_-=P):(T=0,b=_=(d+p)/2)}var Z=h*mm(b),D=h*wm(b),U=l*mm(x),z=l*wm(x);if(k>Mm){var Y,q=h*mm(_),F=h*wm(_),R=l*mm(w),O=l*wm(w);if(g<Tm)if(Y=function(t,n,e,r,i,o,u,a){var c=e-t,f=r-n,s=u-i,l=a-o,h=l*c-s*f;if(!(h*h<Mm))return[t+(h=(s*(n-o)-l*(t-i))/h)*c,n+h*f]}(Z,D,R,O,q,F,U,z)){var B=Z-Y[0],$=D-Y[1],I=q-Y[0],L=F-Y[1],H=1/wm(function(t){return t>1?0:t<-1?Tm:Math.acos(t)}((B*I+$*L)/(xm(B*B+$*$)*xm(I*I+L*L)))/2),j=xm(Y[0]*Y[0]+Y[1]*Y[1]);N=_m(k,(l-j)/(H-1)),E=_m(k,(h-j)/(H+1))}else N=E=0}T>Mm?E>Mm?(y=Um(R,O,Z,D,h,E,v),m=Um(q,F,U,z,h,E,v),a.moveTo(y.cx+y.x01,y.cy+y.y01),E<k?a.arc(y.cx,y.cy,E,ym(y.y01,y.x01),ym(m.y01,m.x01),!v):(a.arc(y.cx,y.cy,E,ym(y.y01,y.x01),ym(y.y11,y.x11),!v),a.arc(0,0,h,ym(y.cy+y.y11,y.cx+y.x11),ym(m.cy+m.y11,m.cx+m.x11),!v),a.arc(m.cx,m.cy,E,ym(m.y11,m.x11),ym(m.y01,m.x01),!v))):(a.moveTo(Z,D),a.arc(0,0,h,b,_,!v)):a.moveTo(Z,D),l>Mm&&M>Mm?N>Mm?(y=Um(U,z,q,F,l,-N,v),m=Um(Z,D,R,O,l,-N,v),a.lineTo(y.cx+y.x01,y.cy+y.y01),N<k?a.arc(y.cx,y.cy,N,ym(y.y01,y.x01),ym(m.y01,m.x01),!v):(a.arc(y.cx,y.cy,N,ym(y.y01,y.x01),ym(y.y11,y.x11),!v),a.arc(0,0,l,ym(y.cy+y.y11,y.cx+y.x11),ym(m.cy+m.y11,m.cx+m.x11),v),a.arc(m.cx,m.cy,N,ym(m.y11,m.x11),ym(m.y01,m.x01),!v))):a.arc(0,0,l,x,w,v):a.lineTo(U,z)}else a.moveTo(0,0);if(a.closePath(),f)return a=null,f+""||null}return f.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-Tm/2;return[mm(r)*e,wm(r)*e]},f.innerRadius=function(n){return arguments.length?(t="function"===typeof n?n:gm(+n),f):t},f.outerRadius=function(t){return arguments.length?(n="function"===typeof t?t:gm(+t),f):n},f.cornerRadius=function(t){return arguments.length?(e="function"===typeof t?t:gm(+t),f):e},f.padRadius=function(t){return arguments.length?(r=null==t?null:"function"===typeof t?t:gm(+t),f):r},f.startAngle=function(t){return arguments.length?(i="function"===typeof t?t:gm(+t),f):i},f.endAngle=function(t){return arguments.length?(o="function"===typeof t?t:gm(+t),f):o},f.padAngle=function(t){return arguments.length?(u="function"===typeof t?t:gm(+t),f):u},f.context=function(t){return arguments.length?(a=null==t?null:t,f):a},f}var Ym=Array.prototype.slice;function qm(t){return"object"===typeof t&&"length"in t?t:Array.from(t)}function Fm(t){this._context=t}function Rm(t){return new Fm(t)}function Om(t){return t[0]}function Bm(t){return t[1]}function $m(t,n){var e=gm(!0),r=null,i=Rm,o=null,u=Nm(a);function a(a){var c,f,s,l=(a=qm(a)).length,h=!1;for(null==r&&(o=i(s=u())),c=0;c<=l;++c)!(c<l&&e(f=a[c],c,a))===h&&((h=!h)?o.lineStart():o.lineEnd()),h&&o.point(+t(f,c,a),+n(f,c,a));if(s)return o=null,s+""||null}return t="function"===typeof t?t:void 0===t?Om:gm(t),n="function"===typeof n?n:void 0===n?Bm:gm(n),a.x=function(n){return arguments.length?(t="function"===typeof n?n:gm(+n),a):t},a.y=function(t){return arguments.length?(n="function"===typeof t?t:gm(+t),a):n},a.defined=function(t){return arguments.length?(e="function"===typeof t?t:gm(!!t),a):e},a.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),a):i},a.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),a):r},a}function Im(t,n,e){var r=null,i=gm(!0),o=null,u=Rm,a=null,c=Nm(f);function f(f){var s,l,h,d,p,g=(f=qm(f)).length,v=!1,y=new Array(g),m=new Array(g);for(null==o&&(a=u(p=c())),s=0;s<=g;++s){if(!(s<g&&i(d=f[s],s,f))===v)if(v=!v)l=s,a.areaStart(),a.lineStart();else{for(a.lineEnd(),a.lineStart(),h=s-1;h>=l;--h)a.point(y[h],m[h]);a.lineEnd(),a.areaEnd()}v&&(y[s]=+t(d,s,f),m[s]=+n(d,s,f),a.point(r?+r(d,s,f):y[s],e?+e(d,s,f):m[s]))}if(p)return a=null,p+""||null}function s(){return $m().defined(i).curve(u).context(o)}return t="function"===typeof t?t:void 0===t?Om:gm(+t),n="function"===typeof n?n:gm(void 0===n?0:+n),e="function"===typeof e?e:void 0===e?Bm:gm(+e),f.x=function(n){return arguments.length?(t="function"===typeof n?n:gm(+n),r=null,f):t},f.x0=function(n){return arguments.length?(t="function"===typeof n?n:gm(+n),f):t},f.x1=function(t){return arguments.length?(r=null==t?null:"function"===typeof t?t:gm(+t),f):r},f.y=function(t){return arguments.length?(n="function"===typeof t?t:gm(+t),e=null,f):n},f.y0=function(t){return arguments.length?(n="function"===typeof t?t:gm(+t),f):n},f.y1=function(t){return arguments.length?(e=null==t?null:"function"===typeof t?t:gm(+t),f):e},f.lineX0=f.lineY0=function(){return s().x(t).y(n)},f.lineY1=function(){return s().x(t).y(e)},f.lineX1=function(){return s().x(r).y(n)},f.defined=function(t){return arguments.length?(i="function"===typeof t?t:gm(!!t),f):i},f.curve=function(t){return arguments.length?(u=t,null!=o&&(a=u(o)),f):u},f.context=function(t){return arguments.length?(null==t?o=a=null:a=u(o=t),f):o},f}function Lm(t,n){return n<t?-1:n>t?1:n>=t?0:NaN}function Hm(t){return t}function jm(){var t=Hm,n=Lm,e=null,r=gm(0),i=gm(Am),o=gm(0);function u(u){var a,c,f,s,l,h=(u=qm(u)).length,d=0,p=new Array(h),g=new Array(h),v=+r.apply(this,arguments),y=Math.min(Am,Math.max(-Am,i.apply(this,arguments)-v)),m=Math.min(Math.abs(y)/h,o.apply(this,arguments)),b=m*(y<0?-1:1);for(a=0;a<h;++a)(l=g[p[a]=a]=+t(u[a],a,u))>0&&(d+=l);for(null!=n?p.sort((function(t,e){return n(g[t],g[e])})):null!=e&&p.sort((function(t,n){return e(u[t],u[n])})),a=0,f=d?(y-h*b)/d:0;a<h;++a,v=s)c=p[a],s=v+((l=g[c])>0?l*f:0)+b,g[c]={data:u[c],index:a,value:l,startAngle:v,endAngle:s,padAngle:m};return g}return u.value=function(n){return arguments.length?(t="function"===typeof n?n:gm(+n),u):t},u.sortValues=function(t){return arguments.length?(n=t,e=null,u):n},u.sort=function(t){return arguments.length?(e=t,n=null,u):e},u.startAngle=function(t){return arguments.length?(r="function"===typeof t?t:gm(+t),u):r},u.endAngle=function(t){return arguments.length?(i="function"===typeof t?t:gm(+t),u):i},u.padAngle=function(t){return arguments.length?(o="function"===typeof t?t:gm(+t),u):o},u}Fm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var Wm=Gm(Rm);function Xm(t){this._curve=t}function Gm(t){function n(n){return new Xm(t(n))}return n._curve=t,n}function Vm(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(Gm(t)):n()._curve},t}function Qm(){return Vm($m().curve(Wm))}function Km(){var t=Im().curve(Wm),n=t.curve,e=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Vm(e())},delete t.lineX0,t.lineEndAngle=function(){return Vm(r())},delete t.lineX1,t.lineInnerRadius=function(){return Vm(i())},delete t.lineY0,t.lineOuterRadius=function(){return Vm(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Gm(t)):n()._curve},t}function Jm(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}Xm.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};class tb{constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n)}this._x0=t,this._y0=n}}class nb{constructor(t){this._context=t}lineStart(){this._point=0}lineEnd(){}point(t,n){if(t=+t,n=+n,0===this._point)this._point=1;else{const e=Jm(this._x0,this._y0),r=Jm(this._x0,this._y0=(this._y0+n)/2),i=Jm(t,this._y0),o=Jm(t,n);this._context.moveTo(...e),this._context.bezierCurveTo(...r,...i,...o)}this._x0=t,this._y0=n}}function eb(t){return new tb(t,!0)}function rb(t){return new tb(t,!1)}function ib(t){return new nb(t)}function ob(t){return t.source}function ub(t){return t.target}function ab(t){let n=ob,e=ub,r=Om,i=Bm,o=null,u=null,a=Nm(c);function c(){let c;const f=Ym.call(arguments),s=n.apply(this,f),l=e.apply(this,f);if(null==o&&(u=t(c=a())),u.lineStart(),f[0]=s,u.point(+r.apply(this,f),+i.apply(this,f)),f[0]=l,u.point(+r.apply(this,f),+i.apply(this,f)),u.lineEnd(),c)return u=null,c+""||null}return c.source=function(t){return arguments.length?(n=t,c):n},c.target=function(t){return arguments.length?(e=t,c):e},c.x=function(t){return arguments.length?(r="function"===typeof t?t:gm(+t),c):r},c.y=function(t){return arguments.length?(i="function"===typeof t?t:gm(+t),c):i},c.context=function(n){return arguments.length?(null==n?o=u=null:u=t(o=n),c):o},c}function cb(){return ab(eb)}function fb(){return ab(rb)}function sb(){const t=ab(ib);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}const lb=xm(3);var hb={draw(t,n){const e=.59436*xm(n+_m(n/28,.75)),r=e/2,i=r*lb;t.moveTo(0,e),t.lineTo(0,-e),t.moveTo(-i,-r),t.lineTo(i,r),t.moveTo(-i,r),t.lineTo(i,-r)}},db={draw(t,n){const e=xm(n/Tm);t.moveTo(e,0),t.arc(0,0,e,0,Am)}},pb={draw(t,n){const e=xm(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()}};const gb=xm(1/3),vb=2*gb;var yb={draw(t,n){const e=xm(n/vb),r=e*gb;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},mb={draw(t,n){const e=.62625*xm(n);t.moveTo(0,-e),t.lineTo(e,0),t.lineTo(0,e),t.lineTo(-e,0),t.closePath()}},bb={draw(t,n){const e=.87559*xm(n-_m(n/7,2));t.moveTo(-e,0),t.lineTo(e,0),t.moveTo(0,e),t.lineTo(0,-e)}},_b={draw(t,n){const e=xm(n),r=-e/2;t.rect(r,r,e,e)}},wb={draw(t,n){const e=.4431*xm(n);t.moveTo(e,e),t.lineTo(e,-e),t.lineTo(-e,-e),t.lineTo(-e,e),t.closePath()}};const xb=wm(Tm/10)/wm(7*Tm/10),Mb=wm(Am/10)*xb,Tb=-mm(Am/10)*xb;var Sb={draw(t,n){const e=xm(.8908130915292852*n),r=Mb*e,i=Tb*e;t.moveTo(0,-e),t.lineTo(r,i);for(let o=1;o<5;++o){const n=Am*o/5,u=mm(n),a=wm(n);t.lineTo(a*e,-u*e),t.lineTo(u*r-a*i,a*r+u*i)}t.closePath()}};const Ab=xm(3);var kb={draw(t,n){const e=-xm(n/(3*Ab));t.moveTo(0,2*e),t.lineTo(-Ab*e,-e),t.lineTo(Ab*e,-e),t.closePath()}};const Nb=xm(3);var Eb={draw(t,n){const e=.6824*xm(n),r=e/2,i=e*Nb/2;t.moveTo(0,-e),t.lineTo(i,r),t.lineTo(-i,r),t.closePath()}};const Cb=-.5,Pb=xm(3)/2,Zb=1/xm(12),Db=3*(Zb/2+1);var Ub={draw(t,n){const e=xm(n/Db),r=e/2,i=e*Zb,o=r,u=e*Zb+e,a=-o,c=u;t.moveTo(r,i),t.lineTo(o,u),t.lineTo(a,c),t.lineTo(Cb*r-Pb*i,Pb*r+Cb*i),t.lineTo(Cb*o-Pb*u,Pb*o+Cb*u),t.lineTo(Cb*a-Pb*c,Pb*a+Cb*c),t.lineTo(Cb*r+Pb*i,Cb*i-Pb*r),t.lineTo(Cb*o+Pb*u,Cb*u-Pb*o),t.lineTo(Cb*a+Pb*c,Cb*c-Pb*a),t.closePath()}},zb={draw(t,n){const e=.6189*xm(n-_m(n/6,1.7));t.moveTo(-e,-e),t.lineTo(e,e),t.moveTo(-e,e),t.lineTo(e,-e)}};const Yb=[db,pb,yb,_b,Sb,kb,Ub],qb=[db,bb,zb,Eb,hb,wb,mb];function Fb(t,n){let e=null,r=Nm(i);function i(){let i;if(e||(e=i=r()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return t="function"===typeof t?t:gm(t||db),n="function"===typeof n?n:gm(void 0===n?64:+n),i.type=function(n){return arguments.length?(t="function"===typeof n?n:gm(n),i):t},i.size=function(t){return arguments.length?(n="function"===typeof t?t:gm(+t),i):n},i.context=function(t){return arguments.length?(e=null==t?null:t,i):e},i}function Rb(){}function Ob(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function Bb(t){this._context=t}function $b(t){return new Bb(t)}function Ib(t){this._context=t}function Lb(t){return new Ib(t)}function Hb(t){this._context=t}function jb(t){return new Hb(t)}function Wb(t,n){this._basis=new Bb(t),this._beta=n}Bb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Ob(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Ob(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Ib.prototype={areaStart:Rb,areaEnd:Rb,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:Ob(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Hb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:Ob(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Wb.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],u=t[e]-i,a=n[e]-o,c=-1;++c<=e;)r=c/e,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*u),this._beta*n[c]+(1-this._beta)*(o+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var Xb=function t(n){function e(t){return 1===n?new Bb(t):new Wb(t,n)}return e.beta=function(n){return t(+n)},e}(.85);function Gb(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function Vb(t,n){this._context=t,this._k=(1-n)/6}Vb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Gb(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:Gb(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Qb=function t(n){function e(t){return new Vb(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Kb(t,n){this._context=t,this._k=(1-n)/6}Kb.prototype={areaStart:Rb,areaEnd:Rb,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._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){switch(t=+t,n=+n,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:Gb(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Jb=function t(n){function e(t){return new Kb(t,n)}return e.tension=function(n){return t(+n)},e}(0);function t_(t,n){this._context=t,this._k=(1-n)/6}t_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Gb(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var n_=function t(n){function e(t){return new t_(t,n)}return e.tension=function(n){return t(+n)},e}(0);function e_(t,n,e){var r=t._x1,i=t._y1,o=t._x2,u=t._y2;if(t._l01_a>Mm){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>Mm){var f=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,s=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*f+t._x1*t._l23_2a-n*t._l12_2a)/s,u=(u*f+t._y1*t._l23_2a-e*t._l12_2a)/s}t._context.bezierCurveTo(r,i,o,u,t._x2,t._y2)}function r_(t,n){this._context=t,this._alpha=n}r_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=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 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:e_(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}};var i_=function t(n){function e(t){return n?new r_(t,n):new Vb(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function o_(t,n){this._context=t,this._alpha=n}o_.prototype={areaStart:Rb,areaEnd:Rb,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,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,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:e_(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}};var u_=function t(n){function e(t){return n?new o_(t,n):new Kb(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function a_(t,n){this._context=t,this._alpha=n}a_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:e_(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}};var c_=function t(n){function e(t){return n?new a_(t,n):new t_(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function f_(t){this._context=t}function s_(t){return new f_(t)}function l_(t){return t<0?-1:1}function h_(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),u=(e-t._y1)/(i||r<0&&-0),a=(o*i+u*r)/(r+i);return(l_(o)+l_(u))*Math.min(Math.abs(o),Math.abs(u),.5*Math.abs(a))||0}function d_(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function p_(t,n,e){var r=t._x0,i=t._y0,o=t._x1,u=t._y1,a=(o-r)/3;t._context.bezierCurveTo(r+a,i+a*n,o-a,u-a*e,o,u)}function g_(t){this._context=t}function v_(t){this._context=new y_(t)}function y_(t){this._context=t}function m_(t){return new g_(t)}function b_(t){return new v_(t)}function __(t){this._context=t}function w_(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),u=new Array(r);for(i[0]=0,o[0]=2,u[0]=t[0]+2*t[1],n=1;n<r-1;++n)i[n]=1,o[n]=4,u[n]=4*t[n]+2*t[n+1];for(i[r-1]=2,o[r-1]=7,u[r-1]=8*t[r-1]+t[r],n=1;n<r;++n)e=i[n]/o[n-1],o[n]-=e,u[n]-=e*u[n-1];for(i[r-1]=u[r-1]/o[r-1],n=r-2;n>=0;--n)i[n]=(u[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n<r-1;++n)o[n]=2*t[n+1]-i[n+1];return[i,o]}function x_(t){return new __(t)}function M_(t,n){this._context=t,this._t=n}function T_(t){return new M_(t,.5)}function S_(t){return new M_(t,0)}function A_(t){return new M_(t,1)}function k_(t,n){if((i=t.length)>1)for(var e,r,i,o=1,u=t[n[0]],a=u.length;o<i;++o)for(r=u,u=t[n[o]],e=0;e<a;++e)u[e][1]+=u[e][0]=isNaN(r[e][1])?r[e][0]:r[e][1]}function N_(t){for(var n=t.length,e=new Array(n);--n>=0;)e[n]=n;return e}function E_(t,n){return t[n]}function C_(t){const n=[];return n.key=t,n}function P_(){var t=gm([]),n=N_,e=k_,r=E_;function i(i){var o,u,a=Array.from(t.apply(this,arguments),C_),c=a.length,f=-1;for(const t of i)for(o=0,++f;o<c;++o)(a[o][f]=[0,+r(t,a[o].key,f,i)]).data=t;for(o=0,u=qm(n(a));o<c;++o)a[u[o]].index=o;return e(a,u),a}return i.keys=function(n){return arguments.length?(t="function"===typeof n?n:gm(Array.from(n)),i):t},i.value=function(t){return arguments.length?(r="function"===typeof t?t:gm(+t),i):r},i.order=function(t){return arguments.length?(n=null==t?N_:"function"===typeof t?t:gm(Array.from(t)),i):n},i.offset=function(t){return arguments.length?(e=null==t?k_:t,i):e},i}function Z_(t,n){if((r=t.length)>0){for(var e,r,i,o=0,u=t[0].length;o<u;++o){for(i=e=0;e<r;++e)i+=t[e][o][1]||0;if(i)for(e=0;e<r;++e)t[e][o][1]/=i}k_(t,n)}}function D_(t,n){if((a=t.length)>0)for(var e,r,i,o,u,a,c=0,f=t[n[0]].length;c<f;++c)for(o=u=0,e=0;e<a;++e)(i=(r=t[n[e]][c])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=u,r[0]=u+=i):(r[0]=0,r[1]=i)}function U_(t,n){if((e=t.length)>0){for(var e,r=0,i=t[n[0]],o=i.length;r<o;++r){for(var u=0,a=0;u<e;++u)a+=t[u][r][1]||0;i[r][1]+=i[r][0]=-a/2}k_(t,n)}}function z_(t,n){if((i=t.length)>0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,u=1;u<r;++u){for(var a=0,c=0,f=0;a<i;++a){for(var s=t[n[a]],l=s[u][1]||0,h=(l-(s[u-1][1]||0))/2,d=0;d<a;++d){var p=t[n[d]];h+=(p[u][1]||0)-(p[u-1][1]||0)}c+=l,f+=h*l}e[u-1][1]+=e[u-1][0]=o,c&&(o-=f/c)}e[u-1][1]+=e[u-1][0]=o,k_(t,n)}}function Y_(t){var n=t.map(q_);return N_(t).sort((function(t,e){return n[t]-n[e]}))}function q_(t){for(var n,e=-1,r=0,i=t.length,o=-1/0;++e<i;)(n=+t[e][1])>o&&(o=n,r=e);return r}function F_(t){var n=t.map(R_);return N_(t).sort((function(t,e){return n[t]-n[e]}))}function R_(t){for(var n,e=0,r=-1,i=t.length;++r<i;)(n=+t[r][1])&&(e+=n);return e}function O_(t){return F_(t).reverse()}function B_(t){var n,e,r=t.length,i=t.map(R_),o=Y_(t),u=0,a=0,c=[],f=[];for(n=0;n<r;++n)e=o[n],u<a?(u+=i[e],c.push(e)):(a+=i[e],f.push(e));return f.reverse().concat(c)}function $_(t){return N_(t).reverse()}f_.prototype={areaStart:Rb,areaEnd:Rb,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))}},g_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:p_(this,this._t0,d_(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(n=+n,(t=+t)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,p_(this,d_(this,e=h_(this,t,n)),e);break;default:p_(this,this._t0,e=h_(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(v_.prototype=Object.create(g_.prototype)).point=function(t,n){g_.prototype.point.call(this,n,t)},y_.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}},__.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,n=this._y,e=t.length;if(e)if(this._line?this._context.lineTo(t[0],n[0]):this._context.moveTo(t[0],n[0]),2===e)this._context.lineTo(t[1],n[1]);else for(var r=w_(t),i=w_(n),o=0,u=1;u<e;++o,++u)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[u],n[u]);(this._line||0!==this._line&&1===e)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,n){this._x.push(+t),this._y.push(+n)}},M_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}};const I_=new Date,L_=new Date;function H_(t,n,e,r){function i(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return i.floor=n=>(t(n=new Date(+n)),n),i.ceil=e=>(t(e=new Date(e-1)),n(e,1),t(e),e),i.round=t=>{const n=i(t),e=i.ceil(t);return t-n<e-t?n:e},i.offset=(t,e)=>(n(t=new Date(+t),null==e?1:Math.floor(e)),t),i.range=(e,r,o)=>{const u=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e<r)||!(o>0))return u;let a;do{u.push(a=new Date(+e)),n(e,o),t(e)}while(a<e&&e<r);return u},i.filter=e=>H_((n=>{if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),((t,r)=>{if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););})),e&&(i.count=(n,r)=>(I_.setTime(+n),L_.setTime(+r),t(I_),t(L_),Math.floor(e(I_,L_))),i.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?n=>r(n)%t===0:n=>i.count(0,n)%t===0):i:null)),i}const j_=H_((()=>{}),((t,n)=>{t.setTime(+t+n)}),((t,n)=>n-t));j_.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?H_((n=>{n.setTime(Math.floor(n/t)*t)}),((n,e)=>{n.setTime(+n+e*t)}),((n,e)=>(e-n)/t)):j_:null);const W_=j_.range,X_=1e3,G_=6e4,V_=60*G_,Q_=24*V_,K_=7*Q_,J_=30*Q_,tw=365*Q_,nw=H_((t=>{t.setTime(t-t.getMilliseconds())}),((t,n)=>{t.setTime(+t+n*X_)}),((t,n)=>(n-t)/X_),(t=>t.getUTCSeconds())),ew=nw.range,rw=H_((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*X_)}),((t,n)=>{t.setTime(+t+n*G_)}),((t,n)=>(n-t)/G_),(t=>t.getMinutes())),iw=rw.range,ow=H_((t=>{t.setUTCSeconds(0,0)}),((t,n)=>{t.setTime(+t+n*G_)}),((t,n)=>(n-t)/G_),(t=>t.getUTCMinutes())),uw=ow.range,aw=H_((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*X_-t.getMinutes()*G_)}),((t,n)=>{t.setTime(+t+n*V_)}),((t,n)=>(n-t)/V_),(t=>t.getHours())),cw=aw.range,fw=H_((t=>{t.setUTCMinutes(0,0,0)}),((t,n)=>{t.setTime(+t+n*V_)}),((t,n)=>(n-t)/V_),(t=>t.getUTCHours())),sw=fw.range,lw=H_((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*G_)/Q_),(t=>t.getDate()-1)),hw=lw.range,dw=H_((t=>{t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCDate(t.getUTCDate()+n)}),((t,n)=>(n-t)/Q_),(t=>t.getUTCDate()-1)),pw=dw.range,gw=H_((t=>{t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCDate(t.getUTCDate()+n)}),((t,n)=>(n-t)/Q_),(t=>Math.floor(t/Q_))),vw=gw.range;function yw(t){return H_((n=>{n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),((t,n)=>{t.setDate(t.getDate()+7*n)}),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*G_)/K_))}const mw=yw(0),bw=yw(1),_w=yw(2),ww=yw(3),xw=yw(4),Mw=yw(5),Tw=yw(6),Sw=mw.range,Aw=bw.range,kw=_w.range,Nw=ww.range,Ew=xw.range,Cw=Mw.range,Pw=Tw.range;function Zw(t){return H_((n=>{n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCDate(t.getUTCDate()+7*n)}),((t,n)=>(n-t)/K_))}const Dw=Zw(0),Uw=Zw(1),zw=Zw(2),Yw=Zw(3),qw=Zw(4),Fw=Zw(5),Rw=Zw(6),Ow=Dw.range,Bw=Uw.range,$w=zw.range,Iw=Yw.range,Lw=qw.range,Hw=Fw.range,jw=Rw.range,Ww=H_((t=>{t.setDate(1),t.setHours(0,0,0,0)}),((t,n)=>{t.setMonth(t.getMonth()+n)}),((t,n)=>n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())),(t=>t.getMonth())),Xw=Ww.range,Gw=H_((t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCMonth(t.getUTCMonth()+n)}),((t,n)=>n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())),(t=>t.getUTCMonth())),Vw=Gw.range,Qw=H_((t=>{t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,n)=>{t.setFullYear(t.getFullYear()+n)}),((t,n)=>n.getFullYear()-t.getFullYear()),(t=>t.getFullYear()));Qw.every=t=>isFinite(t=Math.floor(t))&&t>0?H_((n=>{n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),((n,e)=>{n.setFullYear(n.getFullYear()+e*t)})):null;const Kw=Qw.range,Jw=H_((t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n)}),((t,n)=>n.getUTCFullYear()-t.getUTCFullYear()),(t=>t.getUTCFullYear()));Jw.every=t=>isFinite(t=Math.floor(t))&&t>0?H_((n=>{n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),((n,e)=>{n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null;const tx=Jw.range;function nx(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function ex(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function rx(){return 0}var ix=Math.sqrt(50),ox=Math.sqrt(10),ux=Math.sqrt(2);function ax(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=ix?i*=10:o>=ox?i*=5:o>=ux&&(i*=2),n<t?-i:i}function cx(t,n,e,r,i,o){const u=[[nw,1,X_],[nw,5,5e3],[nw,15,15e3],[nw,30,3e4],[o,1,G_],[o,5,5*G_],[o,15,15*G_],[o,30,30*G_],[i,1,V_],[i,3,3*V_],[i,6,6*V_],[i,12,12*V_],[r,1,Q_],[r,2,2*Q_],[e,1,K_],[n,1,J_],[n,3,3*J_],[t,1,tw]];function a(n,e,r){const i=Math.abs(e-n)/r,o=function(t){let n,e,r;function i(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{const n=i+o>>>1;e(t[n],r)<0?i=n+1:o=n}while(i<o)}return i}return 2!==t.length?(n=nx,e=(n,e)=>nx(t(n),e),r=(n,e)=>t(n)-e):(n=t===nx||t===ex?t:rx,e=t,r=t),{left:i,center:function(t,n,e=0,o=t.length){const u=i(t,n,e,o-1);return u>e&&r(t[u-1],n)>-r(t[u],n)?u-1:u},right:function(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{const n=i+o>>>1;e(t[n],r)<=0?i=n+1:o=n}while(i<o)}return i}}}((([,,t])=>t)).right(u,i);if(o===u.length)return t.every(ax(n/tw,e/tw,r));if(0===o)return j_.every(Math.max(ax(n,e,r),1));const[a,c]=u[i/u[o-1][2]<u[o][2]/i?o-1:o];return a.every(c)}return[function(t,n,e){const r=n<t;r&&([t,n]=[n,t]);const i=e&&"function"===typeof e.range?e:a(t,n,e),o=i?i.range(t,+n+1):[];return r?o.reverse():o},a]}const[fx,sx]=cx(Jw,Gw,Dw,gw,fw,ow),[lx,hx]=cx(Qw,Ww,mw,lw,aw,rw);var dx=e(82138),px=e(47238),gx="%Y-%m-%dT%H:%M:%S.%LZ";var vx=Date.prototype.toISOString?function(t){return t.toISOString()}:(0,dx.g0)(gx),yx=vx;var mx=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:(0,dx.wp)(gx),bx=mx;function _x(t,n,e){var r=new ur,i=n;return null==n?(r.restart(t,n,e),r):(r._restart=r.restart,r.restart=function(t,n,e){n=+n,e=null==e?ir():+e,r._restart((function o(u){u+=i,r._restart(o,i+=n,e),t(u)}),n,e)},r.restart(t,n,e),r)}var wx=t=>()=>t;function xx(t,{sourceEvent:n,target:e,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function Mx(t,n,e){this.k=t,this.x=n,this.y=e}Mx.prototype={constructor:Mx,scale:function(t){return 1===t?this:new Mx(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new Mx(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Tx=new Mx(1,0,0);function Sx(t){for(;!t.__zoom;)if(!(t=t.parentNode))return Tx;return t.__zoom}function Ax(t){t.stopImmediatePropagation()}function kx(t){t.preventDefault(),t.stopImmediatePropagation()}function Nx(t){return(!t.ctrlKey||"wheel"===t.type)&&!t.button}function Ex(){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 Cx(){return this.__zoom||Tx}function Px(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function Zx(){return navigator.maxTouchPoints||"ontouchstart"in this}function Dx(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],u=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),u>o?(o+u)/2:Math.min(0,o)||Math.max(0,u))}function Ux(){var t,n,e,r=Nx,i=Ex,o=Dx,u=Px,a=Zx,c=[0,1/0],f=[[-1/0,-1/0],[1/0,1/0]],s=250,l=Hg,h=Mn("start","zoom","end"),d=500,p=150,g=0,v=10;function y(t){t.property("__zoom",Cx).on("wheel.zoom",T,{passive:!1}).on("mousedown.zoom",S).on("dblclick.zoom",A).filter(a).on("touchstart.zoom",k).on("touchmove.zoom",N).on("touchend.zoom touchcancel.zoom",E).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function m(t,n){return(n=Math.max(c[0],Math.min(c[1],n)))===t.k?t:new Mx(n,t.x,t.y)}function b(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new Mx(t.k,r,i)}function _(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function w(t,n,e,r){t.on("start.zoom",(function(){x(this,arguments).event(r).start()})).on("interrupt.zoom end.zoom",(function(){x(this,arguments).event(r).end()})).tween("zoom",(function(){var t=this,o=arguments,u=x(t,o).event(r),a=i.apply(t,o),c=null==e?_(a):"function"===typeof e?e.apply(t,o):e,f=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),s=t.__zoom,h="function"===typeof n?n.apply(t,o):n,d=l(s.invert(c).concat(f/s.k),h.invert(c).concat(f/h.k));return function(t){if(1===t)t=h;else{var n=d(t),e=f/n[2];t=new Mx(e,c[0]-n[0]*e,c[1]-n[1]*e)}u.zoom(null,t)}}))}function x(t,n,e){return!e&&t.__zooming||new M(t,n)}function M(t,n){this.that=t,this.args=n,this.active=0,this.sourceEvent=null,this.extent=i.apply(t,n),this.taps=0}function T(t,...n){if(r.apply(this,arguments)){var e=x(this,n).event(t),i=this.__zoom,a=Math.max(c[0],Math.min(c[1],i.k*Math.pow(2,u.apply(this,arguments)))),s=je(t);if(e.wheel)e.mouse[0][0]===s[0]&&e.mouse[0][1]===s[1]||(e.mouse[1]=i.invert(e.mouse[0]=s)),clearTimeout(e.wheel);else{if(i.k===a)return;e.mouse=[s,i.invert(s)],Ar(this),e.start()}kx(t),e.wheel=setTimeout((function(){e.wheel=null,e.end()}),p),e.zoom("mouse",o(b(m(i,a),e.mouse[0],e.mouse[1]),e.extent,f))}}function S(t,...n){if(!e&&r.apply(this,arguments)){var i=t.currentTarget,u=x(this,n,!0).event(t),a=qe(t.view).on("mousemove.zoom",(function(t){if(kx(t),!u.moved){var n=t.clientX-s,e=t.clientY-l;u.moved=n*n+e*e>g}u.event(t).zoom("mouse",o(b(u.that.__zoom,u.mouse[0]=je(t,i),u.mouse[1]),u.extent,f))}),!0).on("mouseup.zoom",(function(t){a.on("mousemove.zoom mouseup.zoom",null),Ie(t.view,u.moved),kx(t),u.event(t).end()}),!0),c=je(t,i),s=t.clientX,l=t.clientY;$e(t.view),Ax(t),u.mouse=[c,this.__zoom.invert(c)],Ar(this),u.start()}}function A(t,...n){if(r.apply(this,arguments)){var e=this.__zoom,u=je(t.changedTouches?t.changedTouches[0]:t,this),a=e.invert(u),c=e.k*(t.shiftKey?.5:2),l=o(b(m(e,c),u,a),i.apply(this,n),f);kx(t),s>0?qe(this).transition().duration(s).call(w,l,u,t):qe(this).call(y.transform,l,u,t)}}function k(e,...i){if(r.apply(this,arguments)){var o,u,a,c,f=e.touches,s=f.length,l=x(this,i,e.changedTouches.length===s).event(e);for(Ax(e),u=0;u<s;++u)c=[c=je(a=f[u],this),this.__zoom.invert(c),a.identifier],l.touch0?l.touch1||l.touch0[2]===c[2]||(l.touch1=c,l.taps=0):(l.touch0=c,o=!0,l.taps=1+!!t);t&&(t=clearTimeout(t)),o&&(l.taps<2&&(n=c[0],t=setTimeout((function(){t=null}),d)),Ar(this),l.start())}}function N(t,...n){if(this.__zooming){var e,r,i,u,a=x(this,n).event(t),c=t.changedTouches,s=c.length;for(kx(t),e=0;e<s;++e)i=je(r=c[e],this),a.touch0&&a.touch0[2]===r.identifier?a.touch0[0]=i:a.touch1&&a.touch1[2]===r.identifier&&(a.touch1[0]=i);if(r=a.that.__zoom,a.touch1){var l=a.touch0[0],h=a.touch0[1],d=a.touch1[0],p=a.touch1[1],g=(g=d[0]-l[0])*g+(g=d[1]-l[1])*g,v=(v=p[0]-h[0])*v+(v=p[1]-h[1])*v;r=m(r,Math.sqrt(g/v)),i=[(l[0]+d[0])/2,(l[1]+d[1])/2],u=[(h[0]+p[0])/2,(h[1]+p[1])/2]}else{if(!a.touch0)return;i=a.touch0[0],u=a.touch0[1]}a.zoom("touch",o(b(r,i,u),a.extent,f))}}function E(t,...r){if(this.__zooming){var i,o,u=x(this,r).event(t),a=t.changedTouches,c=a.length;for(Ax(t),e&&clearTimeout(e),e=setTimeout((function(){e=null}),d),i=0;i<c;++i)o=a[i],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=je(o,this),Math.hypot(n[0]-o[0],n[1]-o[1])<v)){var f=qe(this).on("dblclick.zoom");f&&f.apply(this,arguments)}}}return y.transform=function(t,n,e,r){var i=t.selection?t.selection():t;i.property("__zoom",Cx),t!==i?w(t,n,e,r):i.interrupt().each((function(){x(this,arguments).event(r).start().zoom(null,"function"===typeof n?n.apply(this,arguments):n).end()}))},y.scaleBy=function(t,n,e,r){y.scaleTo(t,(function(){return this.__zoom.k*("function"===typeof n?n.apply(this,arguments):n)}),e,r)},y.scaleTo=function(t,n,e,r){y.transform(t,(function(){var t=i.apply(this,arguments),r=this.__zoom,u=null==e?_(t):"function"===typeof e?e.apply(this,arguments):e,a=r.invert(u),c="function"===typeof n?n.apply(this,arguments):n;return o(b(m(r,c),u,a),t,f)}),e,r)},y.translateBy=function(t,n,e,r){y.transform(t,(function(){return o(this.__zoom.translate("function"===typeof n?n.apply(this,arguments):n,"function"===typeof e?e.apply(this,arguments):e),i.apply(this,arguments),f)}),null,r)},y.translateTo=function(t,n,e,r,u){y.transform(t,(function(){var t=i.apply(this,arguments),u=this.__zoom,a=null==r?_(t):"function"===typeof r?r.apply(this,arguments):r;return o(Tx.translate(a[0],a[1]).scale(u.k).translate("function"===typeof n?-n.apply(this,arguments):-n,"function"===typeof e?-e.apply(this,arguments):-e),t,f)}),r,u)},M.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=qe(this.that).datum();h.call(t,this.that,new xx(t,{sourceEvent:this.sourceEvent,target:y,type:t,transform:this.that.__zoom,dispatch:h}),n)}},y.wheelDelta=function(t){return arguments.length?(u="function"===typeof t?t:wx(+t),y):u},y.filter=function(t){return arguments.length?(r="function"===typeof t?t:wx(!!t),y):r},y.touchable=function(t){return arguments.length?(a="function"===typeof t?t:wx(!!t),y):a},y.extent=function(t){return arguments.length?(i="function"===typeof t?t:wx([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),y):i},y.scaleExtent=function(t){return arguments.length?(c[0]=+t[0],c[1]=+t[1],y):[c[0],c[1]]},y.translateExtent=function(t){return arguments.length?(f[0][0]=+t[0][0],f[1][0]=+t[1][0],f[0][1]=+t[0][1],f[1][1]=+t[1][1],y):[[f[0][0],f[0][1]],[f[1][0],f[1][1]]]},y.constrain=function(t){return arguments.length?(o=t,y):o},y.duration=function(t){return arguments.length?(s=+t,y):s},y.interpolate=function(t){return arguments.length?(l=t,y):l},y.on=function(){var t=h.on.apply(h,arguments);return t===h?y:t},y.clickDistance=function(t){return arguments.length?(g=(t=+t)*t,y):Math.sqrt(g)},y.tapDistance=function(t){return arguments.length?(v=+t,y):v},y}Sx.prototype=Mx.prototype}}]);