PageSourceSearch

https://app.slaydigital.ai/static/react/8540.d50015d2b80abbbc5c5a.js

js slaydigital.ai collected 2026-10-05 14:40:19 UTC 410,589 bytes, 1 lines download raw bytes

1(self.webpackChunkStammer_ai=self.webpackChunkStammer_ai||[]).push([[8540],{19770:function(t,n,e){"use strict";var r=e(2057),i=e(38138);function o(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return a(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?a(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}n.A=function(t){var n=t.children,e=t.defer,a=void 0!==e&&e,u=t.fallback,l=void 0===u?null:u,c=o(r.useState(!1),2),s=c[0],f=c[1];return(0,i.A)((function(){a||f(!0)}),[a]),r.useEffect((function(){a&&f(!0)}),[a]),s?n:l}},28214:function(t,n,e){"use strict";e.d(n,{A:function(){return a}});var r=e(92494),i=e(12380),o=e(26753);function a(t){var n=t.props,e=t.name;return(0,r.A)({props:n,name:e,defaultTheme:i.A,themeId:o.A})}},36513:function(t,n,e){"use strict";e.d(n,{E:function(){return ht}});var r=e(52239),i=e(2057),o=e(28214),a=e(13078),u=e(51581),l=e(30140),c=e(47836),s=e(79766),f=e(26542),d=e(78153),h=e(63958),p=e(52858),v=e(12629),y=e(98692),m=e(78685),g=["id","dataIndex","classes","color","slots","slotProps","style","onClick"];function b(t){return(0,f.Ay)("MuiBarElement",t)}(0,h.A)("MuiBarElement",["root"]);var x=(0,d.Ay)(u.CS.rect,{name:"MuiBarElement",slot:"Root",overridesResolver:function(t,n){return n.root}})((function(t){var n=t.ownerState;return{stroke:"none",fill:n.isHighlighted?(0,p.Ay)(n.color).brighter(.5).formatHex():n.color,transition:"opacity 0.2s ease-in, fill 0.2s ease-in",opacity:n.isFaded?.3:1}}));function w(t){var n,e=t.id,i=t.dataIndex,o=t.classes,u=t.color,l=t.slots,f=t.slotProps,d=t.style,h=t.onClick,p=(0,a.A)(t,g),w=(0,v.D)(),A=(0,y.q)({seriesId:e,dataIndex:i}),S={id:e,dataIndex:i,classes:o,color:u,isFaded:A.isFaded,isHighlighted:A.isHighlighted},M=function(t){var n=t.classes,e=t.id,r={root:["root","series-".concat(e)]};return(0,c.A)(r,b,n)}(S),k=null!==(n=null==l?void 0:l.bar)&&void 0!==n?n:x,_=(0,s.A)({elementType:k,externalSlotProps:null==f?void 0:f.bar,externalForwardedProps:p,additionalProps:(0,r.A)({},w({type:"bar",seriesId:e,dataIndex:i}),{style:d,onClick:h,cursor:h?"pointer":"unset"}),className:M.root,ownerState:S});return(0,m.jsx)(k,(0,r.A)({},_))}var A=e(94865),S=e(49417),M=function(t,n){var e=n.hasNegative,r=n.hasPositive,i=n.borderRadius,o=n.layout;if(!i)return 0;var a="vertical"===o;return"top-left"===t&&(a&&r||!a&&e)||"top-right"===t&&(a&&r||!a&&r)||"bottom-right"===t&&(a&&e||!a&&r)||"bottom-left"===t&&(a&&e||!a&&e)?i:0},k=["style","maskId"];function _(t){var n,e,i=t.ownerState;return(0,m.jsx)(u.CS.rect,{style:(0,r.A)({},t.style,{clipPath:("vertical"===t.ownerState.layout?null===(n=t.style)||void 0===n?void 0:n.height:null===(e=t.style)||void 0===e?void 0:e.width).to((function(t){return n={topLeft:Math.min(t,M("top-left",i)),topRight:Math.min(t,M("top-right",i)),bottomRight:Math.min(t,M("bottom-right",i)),bottomLeft:Math.min(t,M("bottom-left",i))},"inset(0px round ".concat(n.topLeft,"px ").concat(n.topRight,"px ").concat(n.bottomRight,"px ").concat(n.bottomLeft,"px)");var n}))})})}function j(t){var n=t.style,e=t.maskId,r=(0,a.A)(t,k);return!t.borderRadius||t.borderRadius<=0?null:(0,m.jsx)("clipPath",{id:e,children:(0,m.jsx)(_,{ownerState:r,style:n})})}function E(t){return(0,f.Ay)("MuiBarLabel",t)}var I=(0,h.A)("MuiBarLabel",["root","highlighted","faded"]);function P(t){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},P(t)}function O(t,n,e){return(n=function(t){var n=function(t,n){if("object"!=P(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,n||"default");if("object"!=P(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}
1(t,"string");return"symbol"==P(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var C=["seriesId","dataIndex","color","isFaded","isHighlighted","classes"],T=(0,d.Ay)(u.CS.text,{name:"MuiBarLabel",slot:"Root",overridesResolver:function(t,n){return[O({},"&.".concat(I.faded),n.faded),O({},"&.".concat(I.highlighted),n.highlighted),n.root]}})((function(t){var n,e,i=t.theme;return(0,r.A)({},null==i||null===(n=i.typography)||void 0===n?void 0:n.body2,O({stroke:"none",fill:null===(e=i.vars||i)||void 0===e||null===(e=e.palette)||void 0===e||null===(e=e.text)||void 0===e?void 0:e.primary,transition:"opacity 0.2s ease-in, fill 0.2s ease-in",textAnchor:"middle",dominantBaseline:"central",pointerEvents:"none",opacity:1},"&.".concat(I.faded),{opacity:.3}))}));function N(t){var n=(0,o.A)({props:t,name:"MuiBarLabel"}),e=(0,a.A)(n,C);return(0,m.jsx)(T,(0,r.A)({},e))}var R=["seriesId","classes","color","style","dataIndex","barLabel","slots","slotProps","height","width","value"],L=["ownerState"];function F(t){var n,e=t.seriesId,i=t.classes,o=t.color,u=t.style,l=t.dataIndex,f=t.barLabel,d=t.slots,h=t.slotProps,p=t.height,v=t.width,g=t.value,b=(0,a.A)(t,R),x=(0,y.q)({seriesId:e,dataIndex:l}),w={seriesId:e,classes:i,color:o,isFaded:x.isFaded,isHighlighted:x.isHighlighted,dataIndex:l},A=function(t){var n=t.classes,e=t.seriesId,r=t.isFaded,i=t.isHighlighted,o={root:["root","series-".concat(e),i&&"highlighted",r&&"faded"]};return(0,c.A)(o,E,n)}(w),S=null!==(n=null==d?void 0:d.barLabel)&&void 0!==n?n:N,M=(0,s.A)({elementType:S,externalSlotProps:null==h?void 0:h.barLabel,additionalProps:(0,r.A)({},b,{style:u,className:A.root}),ownerState:w}),k=M.ownerState,_=(0,a.A)(M,L);if(!f)return null;var j=function(t){var n=t.barLabel,e=t.value,r=t.dataIndex,i=t.seriesId,o=t.height,a=t.width;return"value"===n?e?null==e?void 0:e.toString():null:n({seriesId:i,dataIndex:r,value:e},{bar:{height:o,width:a}})}({barLabel:f,value:g,dataIndex:l,seriesId:e,height:p,width:v});return j?(0,m.jsx)(S,(0,r.A)({},_,k,{children:j})):null}var z=["bars","skipAnimation"],D=function(t){var n=t.layout,e=t.yOrigin,i=t.x,o=t.width,a=t.y,u=t.xOrigin,l=t.height;return(0,r.A)({},"vertical"===n?{y:e,x:i+o/2,height:0,width:o}:{y:a+l/2,x:u,height:l,width:0})},U=function(t){var n=t.x,e=t.width,r=t.y,i=t.height;return{x:n+e/2,y:r+i/2,height:i,width:e}};function H(t){var n=t.bars,e=t.skipAnimation,o=(0,a.A)(t,z),l=(0,u.pn)(n,{keys:function(t){return"".concat(t.seriesId,"-").concat(t.dataIndex)},from:D,leave:null,enter:U,update:U,immediate:e});return(0,m.jsx)(i.Fragment,{children:l((function(t,n){var e=n.seriesId,i=n.dataIndex,a=n.color,u=n.value,l=n.width,c=n.height;return(0,m.jsx)(F,(0,r.A)({seriesId:e,dataIndex:i,value:u,color:a,width:l,height:c},o,{style:t}))}))})}var G=e(42104),q=e(8144),Y=function(t,n){var e="".concat(t,"-axis"),r="".concat(t,"Axis");return n===("x"===t?G.nW:G.sk)?"The first `".concat(r,"`"):"The ".concat(e,' with id "').concat(n,'"')};var B=e(41071),V=e(23694);function X(t){return function(t){if(Array.isArray(t))return $(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return $(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?$(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}var W=["skipAnimation","onItemClick","borderRadius","barLabel"];var Z=function(){var t,n=null!==(t=(0,B.ey)())&&void 0!==t?t:{series:{},stackingGroups:[],seriesOrder:[]},e=(0,l.T)(),r=(0,S.R)(),i=n.series,o=n.stackingGroups,a=e.xAxis,u=e.yAxis,c=e.xAxisIds,s=e.yAxisIds,f=c[0],d=s[0],h={};return{completedData:o.flatMap((function(t,n){return t.ids.flatMap((function(t){var e,l,c,s,p=null!==(e=null!==(l=i[t].xAxisId)&&void 0!==l?l:i[t].xAxisKey
1)&&void 0!==e?e:f,v=null!==(c=null!==(s=i[t].yAxisId)&&void 0!==s?s:i[t].yAxisKey)&&void 0!==c?c:d,y=a[p],m=u[v],g="vertical"===i[t].layout;!function(t,n,e,r,i,o){var a=r[e],u=o[i],l=t?a:u,c=t?u:a,s=t?e:i,f=t?i:e,d=t?"x":"y",h=t?"y":"x";if(!(0,q.w)(l))throw new Error("MUI X: ".concat(Y(d,s),' should be of type "band" to display the bar series of id "').concat(n,'".'));if(void 0===l.data)throw new Error("MUI X: ".concat(Y(d,s)," should have data property."));if((0,q.w)(c)||(0,q.H)(c))throw new Error("MUI X: ".concat(Y(h,f),' should be a continuous type to display the bar series of id "').concat(n,'".'))}(g,t,p,a,v,u);var b=g?y:m,x=y.scale,w=m.scale,S=(0,A.A)(i[t],a[p],u[v]),M=function(t){var n=t.bandWidth,e=t.numberOfGroups,r=t.gapRatio;if(0===r)return{barWidth:n/e,offset:0};var i=n/(e+(e-1)*r);return{barWidth:i,offset:r*i}}({bandWidth:b.scale.bandwidth(),numberOfGroups:o.length,gapRatio:b.barGapRatio}),k=M.barWidth,_=M.offset,j=n*(k+_);return i[t].stackedData.map((function(e,o){var l,c,s,f,d=e.map((function(t){return g?w(t):x(t)})),y=Math.round(Math.min.apply(Math,X(d))),m=Math.round(Math.max.apply(Math,X(d))),b=i[t].stack,A={seriesId:t,dataIndex:o,layout:i[t].layout,x:g?x(null===(l=a[p].data)||void 0===l?void 0:l[o])+j:y,y:g?y:w(null===(c=u[v].data)||void 0===c?void 0:c[o])+j,xOrigin:x(0),yOrigin:w(0),height:g?m-y:k,width:g?k:m-y,color:S(o),value:i[t].data[o],maskId:"".concat(r,"_").concat(b||t,"_").concat(n,"_").concat(o)};h[A.maskId]||(h[A.maskId]={id:A.maskId,width:0,height:0,hasNegative:!1,hasPositive:!1,layout:A.layout,xOrigin:x(0),yOrigin:w(0),x:0,y:0});var M=h[A.maskId];return M.width="vertical"===A.layout?A.width:M.width+A.width,M.height="vertical"===A.layout?M.height+A.height:A.height,M.x=Math.min(0===M.x?1/0:M.x,A.x),M.y=Math.min(0===M.y?1/0:M.y,A.y),M.hasNegative=M.hasNegative||(null!==(s=A.value)&&void 0!==s?s:0)<0,M.hasPositive=M.hasPositive||(null!==(f=A.value)&&void 0!==f?f:0)>0,A}))}))})),masksData:Object.values(h)}},Q=function(t){var n=t.layout,e=t.yOrigin,i=t.x,o=t.width,a=t.y,u=t.xOrigin,l=t.height;return(0,r.A)({},"vertical"===n?{y:e,x:i,height:0,width:o}:{y:a,x:u,height:l,width:0})},K=function(t){var n=t.x,e=t.width;return{y:t.y,x:n,height:t.height,width:e}};function J(t){var n=Z(),e=n.completedData,o=n.masksData,l=t.skipAnimation,c=t.onItemClick,s=t.borderRadius,f=t.barLabel,d=(0,a.A)(t,W),h=(0,V.x)(l),p=!s||s<=0,v=(0,u.pn)(e,{keys:function(t){return"".concat(t.seriesId,"-").concat(t.dataIndex)},from:Q,leave:Q,enter:K,update:K,immediate:h}),y=(0,u.pn)(p?[]:o,{keys:function(t){return t.id},from:Q,leave:Q,enter:K,update:K,immediate:h});return(0,m.jsxs)(i.Fragment,{children:[!p&&y((function(t,n){var e=n.id,r=n.hasPositive,i=n.hasNegative,o=n.layout;return(0,m.jsx)(j,{maskId:e,borderRadius:s,hasNegative:i,hasPositive:r,layout:o,style:t})})),v((function(t,n){var e=n.seriesId,i=n.dataIndex,o=n.color,a=n.maskId,u=(0,m.jsx)(w,(0,r.A)({id:e,dataIndex:i,color:o},d,{onClick:c&&function(t){c(t,{type:"bar",seriesId:e,dataIndex:i})},style:t}));return p?u:(0,m.jsx)("g",{clipPath:"url(#".concat(a,")"),children:u})})),f&&(0,m.jsx)(H,(0,r.A)({bars:e,skipAnimation:h,barLabel:f},d))]})}var tt=e(61957),nt=e(38585),et=e(713),rt=e(20268),it=e(57113),ot=e(96271),at=e(78721),ut=e(6885),lt=e(77910),ct=e(29062);function st(t){return function(t){if(Array.isArray(t))return ft(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return ft(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?ft(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ft(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}var dt=["xAxis","yAxis","series","width","height","margin","colors","dataset","sx","tooltip","onAxisClick","axisHighlight","legend","grid","topAxis","leftAxis","rightAxis","bottomAxis","children","slots","slotProps","
1skipAnimation","loading","layout","onItemClick","highlightedItem","onHighlightChange","borderRadius","barLabel","className"],ht=i.forwardRef((function(t,n){var e=(0,o.A)({props:t,name:"MuiBarChart"}),i=function(t){var n=t.xAxis,e=t.yAxis,i=t.series,o=t.width,u=t.height,l=t.margin,c=t.colors,s=t.dataset,f=t.sx,d=t.tooltip,h=t.onAxisClick,p=t.axisHighlight,v=t.legend,y=t.grid,m=t.topAxis,g=t.leftAxis,b=t.rightAxis,x=t.bottomAxis,w=t.children,A=t.slots,S=t.slotProps,M=t.skipAnimation,k=t.loading,_=t.layout,j=t.onItemClick,E=t.highlightedItem,I=t.onHighlightChange,P=t.borderRadius,O=t.barLabel,C=t.className,T=(0,a.A)(t,dt),N=(0,ct.A)(),R="".concat(N,"-clip-path"),L="horizontal"===_||void 0===_&&i.some((function(t){return"horizontal"===t.layout})),F={scaleType:"band",data:Array.from({length:Math.max.apply(Math,st(i.map((function(t){var n,e;return(null!==(n=null!==(e=t.data)&&void 0!==e?e:s)&&void 0!==n?n:[]).length}))))},(function(t,n){return n}))};return{chartContainerProps:(0,r.A)({},T,{series:i.map((function(t){return(0,r.A)({type:"bar"},t,{layout:L?"horizontal":"vertical"})})),width:o,height:u,margin:l,colors:c,dataset:s,xAxis:null!=n?n:L?void 0:[(0,r.A)({id:G.nW},F)],yAxis:null!=e?e:L?[(0,r.A)({id:G.sk},F)]:void 0,sx:f,highlightedItem:E,onHighlightChange:I,disableAxisListener:"axis"!==(null==d?void 0:d.trigger)&&"none"===(null==p?void 0:p.x)&&"none"===(null==p?void 0:p.y)&&!h,className:C,skipAnimation:M}),barPlotProps:{onItemClick:j,slots:A,slotProps:S,borderRadius:P,barLabel:O},axisClickHandlerProps:{onAxisClick:h},gridProps:{vertical:null==y?void 0:y.vertical,horizontal:null==y?void 0:y.horizontal},clipPathProps:{id:R},clipPathGroupProps:{clipPath:"url(#".concat(R,")")},overlayProps:{slots:A,slotProps:S,loading:k},chartsAxisProps:{topAxis:m,leftAxis:g,rightAxis:b,bottomAxis:x,slots:A,slotProps:S},axisHighlightProps:(0,r.A)({},L?{y:"band"}:{x:"band"},p),legendProps:(0,r.A)({},v,{slots:A,slotProps:S}),tooltipProps:(0,r.A)({},d,{slots:A,slotProps:S}),children:w}}(e),u=i.chartContainerProps,l=i.barPlotProps,c=i.axisClickHandlerProps,s=i.gridProps,f=i.clipPathProps,d=i.clipPathGroupProps,h=i.overlayProps,p=i.chartsAxisProps,v=i.axisHighlightProps,y=i.legendProps,g=i.tooltipProps,b=i.children;return(0,m.jsxs)(tt.E,(0,r.A)({ref:n},u,{children:[e.onAxisClick&&(0,m.jsx)(ut.m,(0,r.A)({},c)),(0,m.jsx)(at.S,(0,r.A)({},s)),(0,m.jsxs)("g",(0,r.A)({},d,{children:[(0,m.jsx)(J,(0,r.A)({},l)),(0,m.jsx)(lt.g,(0,r.A)({},h)),(0,m.jsx)(it.R9,(0,r.A)({},v))]})),(0,m.jsx)(nt.x,(0,r.A)({},p)),(0,m.jsx)(rt.Z,(0,r.A)({},y)),!e.loading&&(0,m.jsx)(et.b,(0,r.A)({},g)),(0,m.jsx)(ot.f,(0,r.A)({},f)),b]}))}))},94865:function(t,n){"use strict";n.A=function(t,n,e){var r="vertical"===t.layout,i=r?null==n?void 0:n.colorScale:null==e?void 0:e.colorScale,o=r?null==e?void 0:e.colorScale:null==n?void 0:n.colorScale,a=r?null==n?void 0:n.data:null==e?void 0:e.data;return o?function(n){var e=t.data[n],r=null===e?t.color:o(e);return null===r?t.color:r}:i&&a?function(n){var e=a[n],r=null===e?t.color:i(e);return null===r?t.color:r}:function(){return t.color}}},38585:function(t,n,e){"use strict";e.d(n,{x:function(){return V}});var r=e(52239),i=e(2057),o=e(30140),a=e(13078),u=e(79766),l=e(47836),c=e(78153),s=e(28214),f=e(83474),d=e(19734),h=e(26542);function p(t){return(0,h.Ay)("MuiChartsAxis",t)}var v=(0,e(63958).A)("MuiChartsAxis",["root","line","tickContainer","tick","tickLabel","label","directionX","directionY","top","bottom","left","right"]);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function m(t,n,e){return(n=function(t){var n=function(t,n){if("object"!=y(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,n||"default");if("object"!=y(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==y(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var g=(0,c.Ay)("g",{name:"MuiChartsAxis",slot:"Root",overridesResolver:function(t,n){return n.root}})((function(t){var n=t.theme;return m(m(m(m({},"& .".concat(v.tickLabel),(0,r.A)({},n.typography.caption,{fill:(n.vars||n).palette.text.primary})),"& .".concat(v.label),(0,r.A)({},n.typography.body1,{fill:(n.vars||n).palette.text.primary})),"& .".concat(v.line),{stroke:(n.vars||n).palette.text.primary,shapeRendering:"crispEdges",strokeWidth:1}),"& .".concat(v.tick),{stroke:(n.vars||n).palette.text.primary,shapeRendering:"crispEdges"})})),b=e(22555),x=5;var w=e(38138);function A(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;
1!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return S(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?S(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}var M=e(19515),k=e(78127),_=e(99803),j=e(8548),E=e(78685);function I(t){return function(t){if(Array.isArray(t))return P(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return P(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?P(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}var O=["scale","tickNumber","reverse"],C=function(t){var n=t.classes,e={root:["root","directionX",t.position],line:["line"],tickContainer:["tickContainer"],tick:["tick"],tickLabel:["tickLabel"],label:["label"]};return(0,l.A)(e,p,n)};function T(t,n){var e=n.tickLabelStyle,i=n.tickLabelInterval,o=n.reverse,a=n.isMounted,u=t.map((function(t){if(!a||void 0===t.formattedValue)return(0,r.A)({},t,{width:0,height:0});var n=(0,k.q)({style:e,needsComputation:!0,text:t.formattedValue});return(0,r.A)({},t,{width:Math.max.apply(Math,I(n.map((function(t){return t.width})))),height:Math.max(n.length*n[0].height)})}));if("function"==typeof i)return u.map((function(t,n){return(0,r.A)({},t,{skipLabel:!i(t.value,n)})}));var l=0,c=0,s=o?-1:1;return u.map((function(t,n){var i=t.width,o=t.offset,a=t.labelOffset,u=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=Math.min(Math.abs(e)%180,Math.abs(Math.abs(e)%180-180)%180);if(r<x)return t;if(r>90-x)return n;var i=r*Math.PI/180;return i<Math.atan2(n,t)?t/Math.cos(i):n/Math.sin(i)}(i,t.height,null==e?void 0:e.angle),f=o+a;return l=f-s*(1.2*u)/2,n>0&&s*l<s*c?(0,r.A)({},t,{skipLabel:!0}):(c=f+s*(1.2*u)/2,t)}))}var N=(0,c.Ay)(g,{name:"MuiChartsXAxis",slot:"Root",overridesResolver:function(t,n){return n.root}})({}),R={position:"bottom",disableLine:!1,disableTicks:!1,tickSize:6};function L(t){var n,e,l,c,h,p=(0,o.T)(),v=p.xAxisIds,y=p.xAxis[null!==(n=t.axisId)&&void 0!==n?n:v[0]],m=y.scale,g=y.tickNumber,x=y.reverse,S=(0,a.A)(y,O),k=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=A(i.useState(!1),2),e=n[0],r=n[1];return(0,w.A)((function(){t||r(!0)}),[t]),i.useEffect((function(){t&&r(!0)}),[t]),e}(),I=(0,s.A)({props:(0,r.A)({},S,t),name:"MuiChartsXAxis"}),P=(0,r.A)({},R,I),L=P.position,F=P.disableLine,z=P.disableTicks,D=P.tickLabelStyle,U=P.label,H=P.labelStyle,G=P.tickFontSize,q=P.labelFontSize,Y=P.tickSize,B=P.valueFormatter,V=P.slots,X=P.slotProps,$=P.tickInterval,W=P.tickLabelInterval,Z=P.tickPlacement,Q=P.tickLabelPlacement,K=P.sx,J=(0,f.A)(),tt=C((0,r.A)({},P,{theme:J})),nt=(0,M.N)(),et=nt.left,rt=nt.top,it=nt.width,ot=nt.height,at=nt.isPointInside,ut=z?4:Y,lt="bottom"===L?1:-1,ct=null!==(e=null==V?void 0:V.axisLine)&&void 0!==e?e:"line",st=null!==(l=null==V?void 0:V.axisTick)&&void 0!==l?l:"line",ft=null!==(c=null==V?void 0:V.axisTickLabel)&&void 0!==c?c:b.n,dt=null!==(h=null==V?void 0:V.axisLabel)&&void 0!==h?h:b.n,ht=(0,u.A)({elementType:ft,externalSlotProps:null==X?void 0:X.axisTickLabel,additionalProps:{style:(0,r.A)({textAnchor:"middle",dominantBaseline:"bottom"===L?"hanging":"auto",fontSize:null!=G?G:12},D)},className:tt.tickLabel,ownerState:{}}),pt=T((0,d.w)({scale:m,tickNumber:g,valueFormatter:B,tickInterval:$,tickPlacement:Z,tickLabelPlacement:Q}),{tickLabelStyle:ht.style,tickLabelInterval:W,reverse:x,isMounted:k}),vt={x:et+it/2,y:lt*(ut+22)},yt=(0,u.A)({elementType:dt,externalSlotProps:null==X?void 0:X.axisLabel,additionalProps:{style:(0,r.A)({fontSize:null!=q?q:14,textAnchor:"middle",dominantBaseline:"bottom"===L?"hanging":"auto"},H)},ownerState:{}}),mt=m.domain(),gt=(0,j.y)(m);return gt&&0===mt.length||!gt&&mt.some(_.D)?null:(0,E.jsxs)(N,{transform:"translate(0, ".concat("bottom"===L?rt+ot:rt,")"),className:tt.root,sx:K,children:[!F&&(0,E.jsx)(ct,(0,r.A)({x1:et,x2:et+it,className:tt.line},null==X?void 0:X.axisLine)),pt.map((function(t,n){var e=t.formattedValue,i=t.offset,o=t.labelOffset,a=t.skipLabel,u=null!=o?o:0,l=lt*(ut+3),c=at({x:i,y:-1},{direction:"x"}),s=at({x:i+u,y:-1},{direction:"x"});return(0,E.jsxs)("g",{transform:"translate(".concat(i,", 0)"),className:tt.tickContainer,children:[!z&&c&&(0,E.jsx)(st,(0,r.A)({y2:lt*ut,className:tt.tick},null==X?void 0:X.axisTick)),void 0!==e&&!a&&s&&(0,E.jsx)(ft,(0,r.A)({x:u,y:l},ht,{text:e.toString()}))]},n)})),U&&(0,E.jsx)("g",{className:tt.label,children:(0,E.jsx)(dt,(0,r.A)({},vt,yt,{text:U}))})]})}var F=e(49397),z=["scale","tickNumber"],D=function(t){var n=t.classes,e={root:["root","directionY",t.position],line:["line"],tickContainer:["tickContainer"],tick:["tick"],tickLabel:["tickLabel"],label:["label"]};return(0,l.A)(e,p,n)},U=(0,c.Ay)(g,{name:"MuiChartsYAxis",slot:"Root",overridesResolver:function(t,n){return n.root}})({}),H={position:"left",disableLine:!1,disableTicks:!1,tickFontSize:12,labelFontSize:14,tickSize:6};function G(t){var n,e,i,l,c,h=(0,o.T)(),p=h.yAxisIds,v=h.yAxis[null!==(n=t.axisId)&&void 0!==n?n:p[0]],y=v.scale,m=v.tickNumber,g=(0,a.A)(v,z),x=(0,s.A)({props:(0,r.A)({},g,t),name:"MuiChartsYAxis"}),w=(0,r.A)({},H,x),A=w.position,S=w.disableLine,k=w.disableTicks,I=w.tickFontSize,P=w.label,O=w.labelFontSize,C=w.labelStyle,T=w.tickLabelStyle,N=w.tickSize,R=w.valueFormatter,L=w.slots,G=w.slotProps,q=w.tickPlacement,Y=w.tickLabelPlacement,B=w.tickInterval,V=w.tickLabelInterval,X=w.sx,$=(0,f.A)(),W=(0,F.I)(),Z=D((0,r.A)({},w,{theme:$})),Q=(0,M.N)(),K=Q.left,J=Q.top,tt=Q.width,nt=Q.height,et=Q.isPointInside,rt=k?4:N,it=(0,d.w)({scale:y,tickNumber:m,valueFormatter:
1R,tickPlacement:q,tickLabelPlacement:Y,tickInterval:B}),ot="right"===A?1:-1,at={x:ot*(I+rt+10),y:J+nt/2},ut=null!==(e=null==L?void 0:L.axisLine)&&void 0!==e?e:"line",lt=null!==(i=null==L?void 0:L.axisTick)&&void 0!==i?i:"line",ct=null!==(l=null==L?void 0:L.axisTickLabel)&&void 0!==l?l:b.n,st=null!==(c=null==L?void 0:L.axisLabel)&&void 0!==c?c:b.n,ft=!W&&"right"===A||W&&"right"!==A,dt=(0,u.A)({elementType:ct,externalSlotProps:null==G?void 0:G.axisTickLabel,additionalProps:{style:(0,r.A)({fontSize:I,textAnchor:ft?"start":"end",dominantBaseline:"central"},T)},className:Z.tickLabel,ownerState:{}}),ht=(0,u.A)({elementType:st,externalSlotProps:null==G?void 0:G.axisLabel,additionalProps:{style:(0,r.A)({fontSize:O,angle:90*ot,textAnchor:"middle",dominantBaseline:"auto"},C)},ownerState:{}}),pt=(0,u.A)({elementType:ut,externalSlotProps:null==G?void 0:G.axisLine,additionalProps:{strokeLinecap:"square"},ownerState:{}}),vt=y.domain(),yt=(0,j.y)(y);return yt&&0===vt.length||!yt&&vt.some(_.D)?null:(0,E.jsxs)(U,{transform:"translate(".concat("right"===A?K+tt:K,", 0)"),className:Z.root,sx:X,children:[!S&&(0,E.jsx)(ut,(0,r.A)({y1:J,y2:J+nt,className:Z.line},pt)),it.map((function(t,n){var e=t.formattedValue,i=t.offset,o=t.labelOffset,a=t.value,u=ot*(rt+2),l=o,c="function"==typeof V&&!(null!=V&&V(a,n));return et({x:-1,y:i},{direction:"y"})?(0,E.jsxs)("g",{transform:"translate(0, ".concat(i,")"),className:Z.tickContainer,children:[!k&&(0,E.jsx)(lt,(0,r.A)({x2:ot*rt,className:Z.tick},null==G?void 0:G.axisTick)),void 0!==e&&!c&&(0,E.jsx)(ct,(0,r.A)({x:u,y:l,text:e.toString()},dt))]},n):null})),P&&(0,E.jsx)("g",{className:Z.label,children:(0,E.jsx)(st,(0,r.A)({},at,ht,{text:P}))})]})}function q(t){return q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},q(t)}var Y=function(t,n){return null==t?null:"object"===q(t)?null!==(e=null!==(r=t.axisId)&&void 0!==r?r:n)&&void 0!==e?e:null:t;var e,r},B=function(t,n,e){return"object"===q(t)?(0,r.A)({},t,{slots:(0,r.A)({},n,null==t?void 0:t.slots),slotProps:(0,r.A)({},e,null==t?void 0:t.slotProps)}):{slots:n,slotProps:e}};function V(t){var n=t.topAxis,e=t.leftAxis,a=t.rightAxis,u=t.bottomAxis,l=t.slots,c=t.slotProps,s=(0,o.T)(),f=s.xAxis,d=s.xAxisIds,h=s.yAxis,p=s.yAxisIds,v=Y(void 0===e?p[0]:e,p[0]),y=Y(void 0===u?d[0]:u,d[0]),m=Y(n,d[0]),g=Y(a,p[0]);if(null!==m&&!f[m])throw new Error(['MUI X: id used for top axis "'.concat(m,'" is not defined.'),"Available ids are: ".concat(d.join(", "),".")].join("\n"));if(null!==v&&!h[v])throw new Error(['MUI X: id used for left axis "'.concat(v,'" is not defined.'),"Available ids are: ".concat(p.join(", "),".")].join("\n"));if(null!==g&&!h[g])throw new Error(['MUI X: id used for right axis "'.concat(g,'" is not defined.'),"Available ids are: ".concat(p.join(", "),".")].join("\n"));if(null!==y&&!f[y])throw new Error(['MUI X: id used for bottom axis "'.concat(y,'" is not defined.'),"Available ids are: ".concat(d.join(", "),".")].join("\n"));var b=B(n,l,c),x=B(u,l,c),w=B(e,l,c),A=B(a,l,c);return(0,E.jsxs)(i.Fragment,{children:[m&&(0,E.jsx)(L,(0,r.A)({},b,{position:"top",axisId:m})),y&&(0,E.jsx)(L,(0,r.A)({},x,{position:"bottom",axisId:y})),v&&(0,E.jsx)(G,(0,r.A)({},w,{position:"left",axisId:v})),g&&(0,E.jsx)(G,(0,r.A)({},A,{position:"right",axisId:g}))]})}},57113:function(t,n,e){"use strict";e.d(n,{R9:function(){return m}});var r=e(52239),i=e(2057),o=e(47836),a=e(26542),u=e(63958),l=e(78153),c=e(26775),s=e(30140),f=e(19458),d=e(8548),h=e(78685);function p(t){return(0,a.Ay)("MuiChartsAxisHighlight",t)}(0,u.A)("MuiChartsAxisHighlight",["root"]);var v=function(){return(0,o.A)({root:["root"]},p)},y=(0,l.Ay)("path",{name:"MuiChartsAxisHighlight",slot:"Root",overridesResolver:function(t,n){return n.root}})((function(t){var n=t.theme;return{pointerEvents:"none",variants:[{props:{axisHighlight:"band"},style:(0,r.A)({fill:"white",fillOpacity:.1},n.applyStyles("light",{fill:"gray"}))},{props:{axisHighlight:"line"},style:(0,r.A)({strokeDasharray:"5 2",stroke:"#ffffff"},n.applyStyles("light",{stroke:"#000000"}))}]}}));function m(t){var n=t.x,e=t.y,r=(0,s.T)(),o=r.xAxisIds,a=r.xAxis,u=r.yAxisIds,l=r.yAxis,p=v(),m=o[0],g=u[0],b=a[m].scale,x=l[g].scale,w=i.useContext(c.O).axis,A=(0,f.b4)(b),S=(0,f.b4)(x),M=w.x,k=w.y,_="band"===n&&null!==M&&(0,d.y)(b),j="band"===e&&null!==k&&(0,d.y)(x);return(0,h.jsxs)(i.Fragment,{children:[_&&void 0!==b(M.value)&&(0,h.jsx)(y,{d:"M ".concat(b(M.value)-(b.step()-b.bandwidth())/2," ").concat(x.range()[0]," l ").concat(b.step()," 0 l 0 ").concat(x.range()[1]-x.range()[0]," l ").concat(-b.step()," 0 Z"),className:p.root,ownerState:{axisHighlight:"band"}}),j&&void 0!==x(k.value)&&(0,h.jsx)(y,{d:"M ".concat(b.range()[0]," ").concat(x(k.value)-(x.step()-x.bandwidth())/2," l 0 ").concat(x.step()," l ").concat(b.range()[1]-b.range()[0]," 0 l 0 ").concat(-x.step()," Z"),className:p.root,ownerState:{axisHighlight:"band"}}),"line"===n&&null!==w.x&&(0,h.jsx)(y,{d:"M ".concat(A(w.x.value)," ").concat(x.range()[0]," L ").concat(A(w.x.value)," ").concat(x.range()[1]),className:p.root,ownerState:{axisHighlight:"line"}}),"line"===e&&null!==w.y&&(0,h.jsx)(y,{d:"M ".concat(b.range()[0]," ").concat(S(w.y.value)," L ").concat(b.range()[1]," ").concat(S(w.y.value)),className:p.root,ownerState:{axisHighlight:"line"}})]})}},96271:function(t,n,e){"use strict";e.d(n,{f:function(){return a}});var r=e(52239),i=(e(2057),e(19515)),o=e(78685);function a(t){var n=t.id,e=t.offset,a=(0,i.N)(),u=a.left,l=a.top,c=a.width,s=a.height,f=(0,r.A)({top:0,right:0,bottom:0,left:0},e);return(0,o.jsx)("clipPath",{id:n,children:(0,o.jsx)("rect",{x:u-f.left,y:l-f.top,width:c+f.left+f.right,height:s+f.to
1p+f.bottom})})}},78721:function(t,n,e){"use strict";e.d(n,{S:function(){return M}});var r=e(52239),i=e(13078),o=e(2057),a=e(47836),u=e(28214),l=e(30140),c=e(26542);function s(t){return(0,c.Ay)("MuiChartsGrid",t)}var f=(0,e(63958).A)("MuiChartsGrid",["root","line","horizontalLine","verticalLine"]),d=e(19515),h=e(78153);function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function v(t,n,e){return(n=function(t){var n=function(t,n){if("object"!=p(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,n||"default");if("object"!=p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==p(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var y=(0,h.Ay)("g",{name:"MuiChartsGrid",slot:"Root",overridesResolver:function(t,n){return[v({},"&.".concat(f.verticalLine),n.verticalLine),v({},"&.".concat(f.horizontalLine),n.horizontalLine),n.root]}})({}),m=(0,h.Ay)("line",{name:"MuiChartsGrid",slot:"Line",overridesResolver:function(t,n){return n.line}})((function(t){var n=t.theme;return{stroke:(n.vars||n).palette.divider,shapeRendering:"crispEdges",strokeWidth:1}})),g=e(19734),b=e(78685);function x(t){var n=t.axis,e=t.drawingArea,r=t.classes,i=n.scale,a=n.tickNumber,u=n.tickInterval,l=(0,g.w)({scale:i,tickNumber:a,tickInterval:u});return(0,b.jsx)(o.Fragment,{children:l.map((function(t){var n=t.value,i=t.offset;return(0,b.jsx)(m,{y1:e.top,y2:e.top+e.height,x1:i,x2:i,className:r.verticalLine},"vertical-".concat(n))}))})}function w(t){var n=t.axis,e=t.drawingArea,r=t.classes,i=n.scale,a=n.tickNumber,u=n.tickInterval,l=(0,g.w)({scale:i,tickNumber:a,tickInterval:u});return(0,b.jsx)(o.Fragment,{children:l.map((function(t){var n=t.value,i=t.offset;return(0,b.jsx)(m,{y1:i,y2:i,x1:e.left,x2:e.left+e.width,className:r.horizontalLine},"horizontal-".concat(n))}))})}var A=["vertical","horizontal"],S=function(t){var n=t.classes;return(0,a.A)({root:["root"],verticalLine:["line","verticalLine"],horizontalLine:["line","horizontalLine"]},s,n)};function M(t){var n=(0,u.A)({props:t,name:"MuiChartsGrid"}),e=(0,d.N)(),o=n.vertical,a=n.horizontal,c=(0,i.A)(n,A),s=(0,l.T)(),f=s.xAxis,h=s.xAxisIds,p=s.yAxis,v=s.yAxisIds,m=S(n),g=p[v[0]],M=f[h[0]];return(0,b.jsxs)(y,(0,r.A)({},c,{className:m.root,children:[o&&(0,b.jsx)(x,{axis:M,drawingArea:e,classes:m}),a&&(0,b.jsx)(w,{axis:g,drawingArea:e,classes:m})]}))}},20268:function(t,n,e){"use strict";e.d(n,{Z:function(){return z}});var r=e(13078),i=e(52239),o=e(2057),a=e(79766),u=e(47836),l=e(28214),c=e(83474),s=e(37877),f={bar:function(t){var n=t.seriesOrder,e=t.series;return n.reduce((function(t,n){var r=(0,s.p)(e[n].label,"legend");return void 0===r||t.push({id:n,seriesId:n,color:e[n].color,label:r}),t}),[])},scatter:function(t){var n=t.seriesOrder,e=t.series;return n.reduce((function(t,n){var r=(0,s.p)(e[n].label,"legend");return void 0===r||t.push({id:n,seriesId:n,color:e[n].color,label:r}),t}),[])},line:function(t){var n=t.seriesOrder,e=t.series;return n.reduce((function(t,n){var r=(0,s.p)(e[n].label,"legend");return void 0===r||t.push({id:n,seriesId:n,color:e[n].color,label:r}),t}),[])},pie:function(t){var n=t.seriesOrder,e=t.series;return n.reduce((function(t,n){return e[n].data.forEach((function(e){var r=(0,s.p)(e.label,"legend");void 0!==r&&t.push({id:e.id,seriesId:n,color:e.color,label:r,itemId:e.id})})),t}),[])}};var d=e(26542);function h(t){return(0,d.Ay)("MuiChartsLegend",t)}(0,e(63958).A)("MuiChartsLegend",["root","series","itemBackgroun
1d","mark","label","column","row"]);var p=e(19770),v=e(78153),y=e(78127),m=["label"];var g=e(19515),b=e(26493),x=e(49397),w=e(22555),A=e(78685);function S(t){var n=(0,x.I)(),e=t.id,r=t.positionY,o=t.label,a=t.positionX,u=t.innerHeight,l=t.innerWidth,c=t.legendWidth,s=t.color,f=t.gapX,d=t.gapY,h=t.itemMarkHeight,p=t.itemMarkWidth,v=t.markGap,y=t.labelStyle,m=t.classes,g=t.onClick;return(0,A.jsxs)("g",{className:(0,b.A)(null==m?void 0:m.series,"".concat(null==m?void 0:m.series,"-").concat(e)),transform:"translate(".concat(f+(n?c-a:a)," ").concat(d+r,")"),children:[(0,A.jsx)("rect",{x:n?-(l+2):-2,y:-h/2-2,width:l+4,height:u+4,fill:"transparent",className:null==m?void 0:m.itemBackground,onClick:g,style:{pointerEvents:g?"all":"none",cursor:g?"pointer":"unset"}}),(0,A.jsx)("rect",{className:null==m?void 0:m.mark,x:n?-p:0,y:-h/2,width:p,height:h,fill:s,style:{pointerEvents:"none"}}),(0,A.jsx)(w.n,{style:(0,i.A)({pointerEvents:"none"},y),text:o,x:(n?-1:1)*(p+v),y:0})]})}function M(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||_(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(t){return function(t){if(Array.isArray(t))return j(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||_(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(t,n){if(t){if("string"==typeof t)return j(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?j(t,n):void 0}}function j(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}var E=["rotate","dominantBaseline"],I=(0,v.Ay)("g",{name:"MuiChartsLegend",slot:"Root",overridesResolver:function(t,n){return n.root}})({}),P=function(t){return"number"==typeof t?{left:t,right:t,top:t,bottom:t}:(0,i.A)({left:0,right:0,top:0,bottom:0},t)};function O(t){var n=t.position,e=t.direction,a=t.itemsToDisplay,u=t.classes,l=t.itemMarkWidth,s=void 0===l?20:l,f=t.itemMarkHeight,d=void 0===f?20:f,h=t.markGap,v=void 0===h?5:h,b=t.itemGap,x=void 0===b?10:b,w=t.padding,_=void 0===w?10:w,j=t.labelStyle,O=t.onItemClick,C=(0,c.A)(),T=(0,g.N)(),N=o.useMemo((function(){return(0,i.A)({},C.typography.subtitle1,{color:"inherit",dominantBaseline:"central",textAnchor:"start",fill:(C.vars||C).palette.text.primary,lineHeight:1},j)}),[j,C]),R=o.useMemo((function(){return P(_)}),[_]),L=o.useCallback((function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=(0,r.A)(n,E),o=(0,y.q)({style:e,needsComputation:!0,text:t}),a={innerWidth:s+v+Math.max.apply(Math,k(o.map((function(t){return t.width})))),innerHeight:Math.max(d,o.length*o[0].height)};return(0,i.A)({},a,{outerWidth:a.innerWidth+x,outerHeight:a.innerHeight+x})}),[x,d,s,v]),F=T.left+T.width+T.right,z=T.top+T.height+T.bottom,D=F-R.left-R.right,U=z-R.top-R.bottom,H=o.useMemo((function(){return function(t,n,e,o,a,u,l){var c=0,s=0,f=0,d=0,h=0,p=[0];return[t.map((function(t){var v=t.label,y=(0,r.A)(t,m),g=n(v,e),b=(0,i.A)({},y,{label:v,positionX:c,positionY:s,innerHeight:g.innerHeight,innerWidth:g.innerWidth,outerHeight:g.outerHeight,outerWidth:g.outerWidth,rowIndex:h});return"row"===o&&(c+g.innerWidth>a&&(c=0,s+=p[h],h+=1,p.length<=h&&p.push(0),b.positionX=c,b.positionY=s,b.rowIndex=h),f=Math.max(f,c+g.outerWidth),d=Math.max(d,s+g.outerHeight),p[h]=Math.max(p[h],g.outerHeight),c+=g.outerWidth),"column"===o&&(s+g.innerHe
1ight>u&&(c=f+l,s=0,h=0,b.positionX=c,b.positionY=s,b.rowIndex=h),p.length<=h&&p.push(0),f=Math.max(f,c+g.outerWidth),d=Math.max(d,s+g.outerHeight),h+=1,s+=g.outerHeight),b})).map((function(t){return(0,i.A)({},t,{positionY:t.positionY+("row"===o?p[t.rowIndex]/2:t.outerHeight/2)})})),f,d]}(a,L,N,e,D,U,x)}),[a,L,N,e,D,U,x]),G=M(H,3),q=G[0],Y=G[1],B=G[2],V=o.useMemo((function(){switch(n.horizontal){case"left":return R.left;case"right":return F-R.right-Y;default:return(F-Y)/2}}),[n.horizontal,R.left,R.right,F,Y]),X=o.useMemo((function(){switch(n.vertical){case"top":return R.top;case"bottom":return z-R.bottom-B;default:return(z-B)/2}}),[n.vertical,R.top,R.bottom,z,B]);return(0,A.jsx)(p.A,{children:(0,A.jsx)(I,{className:null==u?void 0:u.root,children:q.map((function(t,n){return(0,o.createElement)(S,(0,i.A)({},t,{key:t.id,gapX:V,gapY:X,legendWidth:Y,itemMarkHeight:d,itemMarkWidth:s,markGap:v,labelStyle:N,classes:u,onClick:O?function(t){return O(t,n)}:void 0}))}))})})}var C=["drawingArea","seriesToDisplay","hidden","onItemClick"],T=function(t){return{type:"series",color:t.color,label:t.label,seriesId:t.seriesId,itemId:t.itemId}};function N(t){var n=t.seriesToDisplay,e=t.hidden,o=t.onItemClick,a=(0,r.A)(t,C);return e?null:(0,A.jsx)(O,(0,i.A)({},a,{itemsToDisplay:n,onItemClick:o?function(t,e){return o(t,T(n[e]),e)}:void 0}))}var R=e(41071),L=["slots","slotProps"],F=function(t){var n=t.classes,e={root:["root",t.direction],mark:["mark"],label:["label"],series:["series"],itemBackgroun
1d:["itemBackground"]};return(0,u.A)(e,h,n)};function z(t){var n,e=(0,l.A)({props:t,name:"MuiChartsLegend"}),o=(0,i.A)({direction:"row"},e,{position:(0,i.A)({horizontal:"middle",vertical:"top"},e.position)}),u=o.slots,s=o.slotProps,d=(0,r.A)(o,L),h=(0,c.A)(),p=F((0,i.A)({},o,{theme:h})),v=(0,g.N)(),y=(0,R.NY)(),m=function(t){return Object.keys(t).flatMap((function(n){var e=f[n];return void 0===e?[]:e(t[n])}))}(y),b=null!==(n=null==u?void 0:u.legend)&&void 0!==n?n:N,x=(0,a.A)({elementType:b,externalSlotProps:null==s?void 0:s.legend,additionalProps:(0,i.A)({},d,{classes:p,drawingArea:v,series:y,seriesToDisplay:m}),ownerState:{}});return(0,A.jsx)(b,(0,i.A)({},x))}},6885:function(t,n,e){"use strict";e.d(n,{m:function(){return c}});var r=e(2057),i=e(26775),o=e(41071),a=e(49),u=e(30140),l=e(78685);function c(t){var n=t.onAxisClick,e=(0,a.n)(),c=(0,o.NY)(),s=r.useContext(i.O).axis,f=(0,u.T)(),d=f.xAxisIds,h=f.xAxis,p=f.yAxisIds,v=f.yAxis;return r.useEffect((function(){var t=e.current;if(null===t||!n)return function(){};var r=function(t){var e;t.preventDefault();var r=s.x&&-1!==s.x.index,i=r?d[0]:p[0],o=r?s.x&&s.x.index:s.y&&s.y.index;if(null!=o){var a={};Object.keys(c).filter((function(t){return["bar","line"].includes(t)})).forEach((function(t){var n;null===(n=c[t])||void 0===n||n.seriesOrder.forEach((function(n){var e,u,l=c[t].series[n],s=null!==(e=l.xAxisId)&&void 0!==e?e:l.xAxisKey,f=null!==(u=l.yAxisId)&&void 0!==u?u:l.yAxisKey,d=r?s:f;void 0!==d&&d!==i||(a[n]=l.data[o])}))}));var u=null===(e=(r?h:v)[i].data)||void 0===e?void 0:e[o];n(t,{dataIndex:o,axisValue:u,seriesValues:a})}};return t.addEventListener("click",r),function(){t.removeEventListener("click",r)}}),[s.x,s.y,n,c,e,h,d,v,p]),(0,l.jsx)(r.Fragment,{})}},77910:function(t,n,e){"use strict";e.d(n,{g:function(){return v}});var r=e(52239),i=(e(2057),e(13078)),o=e(78153),a=e(19515),u=e(78685),l=["message"],c=(0,o.Ay)("text")((function(t){var n=t.theme;return(0,r.A)({},n.typography.body2,{stroke:"none",fill:n.palette.text.primary,shapeRendering:"crispEdges",textAnchor:"middle",dominantBaseline:"middle"})}));function s(t){var n=t.message,e=(0,i.A)(t,l),o=(0,a.N)(),s=o.top,f=o.left,d=o.height,h=o.width;return(0,u.jsx)(c,(0,r.A)({x:f+h/2,y:s+d/2},e,{children:null!=n?n:"Loading data…"}))}var f=e(41071),d=["message"],h=(0,o.Ay)("text")((function(t){var n=t.theme;return(0,r.A)({},n.typography.body2,{stroke:"none",fill:n.palette.text.primary,shapeRendering:"crispEdges",textAnchor:"middle",dominantBaseline:"middle"})}));function p(t){var n=t.message,e=(0,i.A)(t,d),o=(0,a.N)(),l=o.top,c=o.left,s=o.height,f=o.width;return(0,u.jsx)(h,(0,r.A)({x:c+f/2,y:l+s/2},e,{children:null!=n?n:"No data to display"}))}function v(t){var n,e=(n=(0,f.NY)(),Object.values(n).every((function(t){if(!t)return!0;var n=t.series;return t.seriesOrder.every((function(t){return 0===n[t].data.length}))})));if(t.loading){var i,o,a,l=null!==(i=null===(o=t.slots)||void 0===o?void 0:o.loadingOverlay)&&void 0!==i?i:s;return(0,u.jsx)(l,(0,r.A)({},null===(a=t.slotProps)||void 0===a?void 0:a.loadingOverlay))}if(e){var c,d,h,v=null!==(c=null===(d=t.slots)||void 0===d?void 0:d.noDataOverlay)&&void 0!==c?c:p;return(0,u.jsx)(v,(0,r.A)({},null===(h=t.slotProps)||void 0===h?void 0:h.noDataOverlay))}return null}},22555:function(t,n,e){"use strict";e.d(n,{n:function(){return s}});var r=e(52239),i=e(13078),o=e(2057),a=e(78127),u=e(78685),l=["x","y","style","text","ownerState"],c=["angle","textAnchor","dominantBaseline"];function s(t){var n,e=t.x,s=t.y,f=t.style,d=t.text,h=(0,i.A)(t,l),p=null!=f?f:{},v=p.angle,y=p.textAnchor,m=p.dominantBaseline,g=(0,i.A)(p,c),b=o.useMemo((function(){return(0,a.q)({style:g,needsComputation:d.includes("\n"),text:d})}),[g,d]);switch(m){case"hanging":n=0;break;case"central":n=(b.length-1)/2*-b[0].height;break;default:n=(b.length-1)*-b[0].height}var x=[];return v&&x.push("rotate(".concat(v,", ").concat(e,", ").concat(s,")")),(0,u.jsx)("text",(0,r.A)({},h,{transform:x.length>0?x.join(" "):void 0,x:e,y:s,textAnchor:y,dominantBaseline:m,style:g,children:b.map((function(t,r){return(0,u.jsx)("tspan",{x:e,dy:"".concat(0===r?n:b[0].height,"px"),dominantBaseline:m,children:t.text},r)}))}))}},713:function(t,n,e){"use strict";e.d(n,{b:function(){return W}});var r=e(52239),i=e(2057),o=e(47836),a=e(78153),u=e(28214),l=e(37242),c=e(19770),s=e(79766),f=e(26775),d=e(49);function h(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;
1!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return p(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?p(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function v(t){if(null===t)return{getBoundingClientRect:function(){return{width:0,height:0,x:0,y:0,top:0,right:0,bottom:0,left:0,toJSON:function(){return""}}}};var n=t.x,e=t.y,i={width:0,height:0,x:n,y:e,top:e,right:n,bottom:e,left:n};return{getBoundingClientRect:function(){return(0,r.A)({},i,{toJSON:function(){return JSON.stringify(i)}})}}}var y=e(26493),m=e(26066),g=e(26542);function b(t){return(0,g.Ay)("MuiChartsTooltip",t)}var x=(0,e(63958).A)("MuiChartsTooltip",["root","paper","table","row","cell","mark","markCell","labelCell","valueCell"]);function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function A(t,n,e){return(n=function(t){var n=function(t,n){if("object"!=w(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,n||"default");if("object"!=w(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==w(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var S=(0,a.Ay)("div",{name:"MuiChartsTooltip",slot:"Container",overridesResolver:function(t,n){return n.paper}})((function(t){var n=t.theme;return{boxShadow:n.shadows[1],backgroundColor:(n.vars||n).palette.background.paper,color:(n.vars||n).palette.text.primary,transition:n.transitions.create("box-shadow"),borderRadius:n.shape.borderRadius}})),M=(0,a.Ay)("table",{name:"MuiChartsTooltip",slot:"Table",overridesResolver:function(t,n){return n.table}})((function(t){var n=t.theme;return{borderSpacing:0,"& thead td":{borderBottom:"solid ".concat((n.vars||n).palette.divider," 1px")}}})),k=(0,a.Ay)("tr",{name:"MuiChartsTooltip",slot:"Row",overridesResolver:function(t,n){return n.row}})((function(t){var n=t.theme;return{"tr:first-of-type& td":{paddingTop:n.spacing(1)},"tr:last-of-type& td":{paddingBottom:n.spacing(1)}}})),_=(0,a.Ay)("td",{name:"MuiChartsTooltip",slot:"Cell",overridesResolver:function(t,n){return n.cell}})((function(t){var n=t.theme;return A(A(A(A({verticalAlign:"middle",color:(n.vars||n).palette.text.secondary},"&.".concat(x.labelCell),{paddingLeft:n.spacing(1)}),"&.".concat(x.valueCell),{paddingLeft:n.spacing(4),color:(n.vars||n).palette.text.primary}),"td:first-of-type&",{paddingLeft:n.spacing(2)}),"td:last-of-type&",{paddingRight:n.spacing(2)})})),j=(0,a.Ay)("div",{name:"MuiChartsTooltip",slot:"Mark",overridesResolver:function(t,n){return n.mark},shouldForwardProp:function(t){return(0,m.MC)(t)&&"color"!==t}})((function(t){var n=t.theme,e=t.color;return{width:n.spacing(1),height:n.spacing(1),borderRadius:"50%",boxShadow:n.shadows[1],background:e,borderColor:(n.vars||n).palette.background.paper,border:"solid ".concat((n.vars||n).palette.background.paper," ").concat(n.spacing(.25)),boxSizing:"content-box"}})),E=e(37877),I=e(78685);function P(t){var n,e=t.series,i=t.itemData,o=t.sx,a=t.classes,u=t.getColor;if(void 0===i.dataIndex||!e.data[i.dataIndex])return null;var l="pie"===e.type?{color:u(i.dataIndex),displayedLabel:(0,E.p)(e.data[i.dataIndex].label,"tooltip")}:{color:u(i.dataIndex),displayedLabel:(0,E.p)(e.label,"tooltip")},c=l.displayedLabel,s=l.color,f="pie"===e.type?(0,r.A)({},e.data[i.dataIndex],{label:(0,E.p)(e.data[i.dataIndex].label,"tooltip")}):e.data[i.dataIndex],d=null===(n=e.valueFormatter)||void 0===n?void 0:n.call(e,f,{dataIndex:i.dataIndex});return(0,I.jsx)(S,{sx:o,className:a.paper,children:(0,I.jsx)(M,{className:a.table,children:(0,I.jsx)("tbody",{children:(0,I.jsxs)(k,{className:a.row,children:[(0,I.jsx)(_,{className:(0,y.A)(a.markCell,a.cell),children:(0,I.jsx)(j,{color:s,className:a.mark})}),(0,I.jsx)(_,{className:(0,y.A)(a.labelCell,a.cell),children:c}),(0,I.jsx)(_,{className:(0,y.A)(a.valueCell,a.cell),children:d})]})})})})}var O=e(30140),C=e(61935),T=e(74111);function N(t){var n=i.useContext(T.b),e=n.isInitialized,r=n.data;if(!e)throw new Error(["MUI X: Could not find the plugin context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return t?r.colorProcessors[t]:r.colorProcessors}
1var R=e(41071);function L(t){var n,e,o,a,u,l,c,f,d=t.content,h=t.itemData,p=t.sx,v=t.classes,y=t.contentProps,m=(0,R.NY)()[h.type].series[h.seriesId],g=(0,O.T)(),b=g.xAxis,x=g.yAxis,w=g.xAxisIds,A=g.yAxisIds,S=i.useContext(C.L),M=S.zAxis,k=S.zAxisIds,_=N(),j=null!==(n=null!==(e=m.xAxisId)&&void 0!==e?e:m.xAxisKey)&&void 0!==n?n:w[0],E=null!==(o=null!==(a=m.yAxisId)&&void 0!==a?a:m.yAxisKey)&&void 0!==o?o:A[0],T=null!==(u=null!==(l=m.zAxisId)&&void 0!==l?l:m.zAxisKey)&&void 0!==u?u:k[0],L=null!==(c=null===(f=_[m.type])||void 0===f?void 0:f.call(_,m,j&&b[j],E&&x[E],T&&M[T]))&&void 0!==c?c:function(){return""},F=null!=d?d:P,z=(0,s.A)({elementType:F,externalSlotProps:y,additionalProps:{itemData:h,series:m,sx:p,classes:v,getColor:L},ownerState:{}});return(0,I.jsx)(F,(0,r.A)({},z))}var F,z=e(10838);function D(t){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},D(t)}function U(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,H(r.key),r)}}function H(t){var n=function(t,n){if("object"!=D(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,n||"default");if("object"!=D(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==D(n)?n:n+""}var G=new(function(){return t=function t(){if(function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.types=new Set,F)throw new Error("You can only create one instance!");F=this.types},(n=[{key:"addType",value:function(t){this.types.add(t)}},{key:"getTypes",value:function(){return this.types}}])&&U(t.prototype,n),e&&U(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,e}());function q(t){return G.getTypes().has(t)}function Y(t){return q(t.type)}function B(t){var n,e=t.series,r=t.axis,i=t.dataIndex,o=t.axisValue,a=t.sx,u=t.classes;if(null==i)return null;var l=null!==(n=r.valueFormatter)&&void 0!==n?n:function(t){return"utc"===r.scaleType?function(t){return t instanceof Date?t.toUTCString():t.toLocaleString()}(t):t.toLocaleString()};return(0,I.jsx)(S,{sx:a,className:u.paper,children:(0,I.jsxs)(M,{className:u.table,children:[null!=o&&!r.hideTooltip&&(0,I.jsx)("thead",{children:(0,I.jsx)(k,{children:(0,I.jsx)(_,{colSpan:3,children:(0,I.jsx)(z.A,{children:l(o,{location:"tooltip"})})})})}),(0,I.jsx)("tbody",{children:e.filter(Y).map((function(t){var n,e=t.id,r=t.label,o=t.valueFormatter,a=t.data,l=t.getColor,c=o(null!==(n=a[i])&&void 0!==n?n:null,{dataIndex:i});if(null==c)return null;var s=(0,E.p)(r,"tooltip"),f=l(i);return(0,I.jsxs)(k,{className:u.row,children:[(0,I.jsx)(_,{className:(0,y.A)(u.markCell,u.cell),children:f&&(0,I.jsx)(j,{color:f,className:u.mark})}),(0,I.jsx)(_,{className:(0,y.A)(u.labelCell,u.cell),children:s?(0,I.jsx)(z.A,{children:s}):null}),(0,I.jsx)(_,{className:(0,y.A)(u.valueCell,u.cell),children:(0,I.jsx)(z.A,{children:c})})]},e)}))})]})})}function V(t){var n=t.content,e=t.contentProps,o=t.axisData,a=t.sx,u=t.classes,l=o.x&&-1!==o.x.index,c=l?o.x&&o.x.index:o.y&&o.y.index,f=l?o.x&&o.x.value:o.y&&o.y.value,d=(0,O.T)(),h=d.xAxisIds,p=d.xAxis,v=d.yAxisIds,y=d.yAxis,m=i.useContext(C.L),g=m.zAxisIds,b=m.zAxis,x=(0,R.NY)(),w=N(),A=l?h[0]:v[0],S=i.useMemo((function(){var t=[];return Object.keys(x).filter(q).forEach((function(n){x[n].seriesOrder.forEach((function(e){var i,o,a=x[n].series[e],u=null!==(i=a.xAxisId)&&void 0!==i?i:a.xAxisKey,c=null!==(o=a.yAxisId)&&void 0!==o?o:a.yAxisKey,s=l?u:c;if(void 0===s||s===A){var f,d,m,S,M=x[n].series[e],k=null!=u?u:h[0],_=null!=c?c:v[0],j=null!==(f=null!==(d=M.zAxisId)&&void 0!==d?d:M.zAxisKey)&&void 0!==f?f:g[0],E=null!==(m=null===(S=w[n])||void 0===S?void 0:S.call(w,M,p[k],y[_],j&&b[j]))&&void 0!==m?m:function(){return""};t.push((0,r.A)({},M,{getColor:E}))}}))})),t}),[A,w,l,x,p,h,y,v,b,g]),M=i.useMemo((function(){return l?p[A]:y[A]}),[A,l,p,y]),k=null!=n?n:B,_=(0,s.A)({elementType:k,externalSlotProps:e,additionalProps:{axisData:o,series:S,axis:M,dataIndex:c,axisValue:f,sx:a,classes:u},ownerState:{}});return(0,I.jsx)(k,(0,r.A)({},_))}G.addType("bar"),G.addType("line"),G.addType("scatter");var X=function(t){var n=t.classes;return(0,o.A)({root:["root"],paper:["paper"],table:["table"],row:["row"],cell:["cell"],mark:["mark"],markCell:["markCell"],labelCell:["labelCell"],valueCell:["valueCell"]},b,n)},$=(0,a.Ay)(l.A,{name:"MuiChartsTooltip",slot:"Root",overridesResolver:function(t,n){return n.root}})((function(t){return{pointerEvents:"none",zIndex:t.theme.zIndex.modal}}));function W(t){var n,e,o,a=(0,u.A)({props:t,name:"MuiChartsTooltip"}),l=a.trigger,p=void 0===l?"axis":l,y=a.itemContent,m=a.axisContent,g=a.slots,b=a.slotProps,x=function(){var t=(0,d.n)(),n=h(i.useState(null),2),e=n[0],r=n[1];return i.useEffect((function(){var n=t.current;if(null===n)return function(){};var e=function(t){"mouse"!==t.pointerType&&r(null)},i=function(t){r({x:t.clientX,y:t.clientY,height:t.height,pointerType:t.pointerType})};return n.addEventListener("pointerdown",i),n.addEventListener("pointermove",i),n.addEventListener("pointerup",e),function(){n.removeEventListener("pointerdown",i),n.removeEventListener("pointermove",i),n.removeEventListener("pointerup",e)}}),[t]),e}(),w=i.useContext(f.O),A=w.item,S=w.axis,M="item"===p?A:S,k=function(t,n){if("item"===t)return null!==n;var e=null!==n.x,r=null!==n.y;return e||r}(p,M),_=null!==x&&k,j=X({classes:a.classes}),E=null!==(n=null==g?void 0:g.popper)&&void 0!==n?n:$,P=(0,s.A)({elementType:E,externalSlotProps:null==b?void 0:b.popper,additionalProps:{open:_,placement:"mou
1se"===(null==x?void 0:x.pointerType)?"right-start":"top",anchorEl:v(x),modifiers:[{name:"offset",options:{offset:[0,"touch"===(null==x?void 0:x.pointerType)?40-x.height:0]}}]},ownerState:{}});return"none"===p?null:(0,I.jsx)(c.A,{children:_&&(0,I.jsx)(E,(0,r.A)({},P,{className:j.root,children:"item"===p?(0,I.jsx)(L,{itemData:M,content:null!==(e=null==g?void 0:g.itemContent)&&void 0!==e?e:y,contentProps:null==b?void 0:b.itemContent,sx:{mx:2},classes:j}):(0,I.jsx)(V,{axisData:M,content:null!==(o=null==g?void 0:g.axisContent)&&void 0!==o?o:m,contentProps:null==b?void 0:b.axisContent,sx:{mx:2},classes:j})}))})}},16804:function(t,n){"use strict";n.A=function(t,n,e){var r=null==e?void 0:e.colorScale,i=null==n?void 0:n.colorScale;return r?function(n){var e=t.data[n],i=null===e?t.color:r(e);return null===i?t.color:i}:i?function(e){var r,o=null===(r=n.data)||void 0===r?void 0:r[e],a=null===o?t.color:i(o);return null===a?t.color:a}:function(){return t.color}}},32264:function(t,n,e){"use strict";e.d(n,{r:function(){return dt}});var r=e(52239),i=e(13078),o=e(2057),a=e(49397),u=e(28214),l=e(61957),c=e(38585),s=e(42104),f=e(713),d=e(20268),h=e(57113),p=e(91970),v=e(51581),y=e(66327),m=e(72197),g=e(13469);function b(t){return t.innerRadius}function x(t){return t.outerRadius}function w(t){return t.startAngle}function A(t){return t.endAngle}function S(t){return t&&t.padAngle}function M(t,n,e,r,i,o,a){var u=t-e,l=n-r,c=(a?o:-o)/(0,m.RZ)(u*u+l*l),s=c*l,f=-c*u,d=t+s,h=n+f,p=e+s,v=r+f,y=(d+p)/2,g=(h+v)/2,b=p-d,x=v-h,w=b*b+x*x,A=i-o,S=d*v-p*h,M=(x<0?-1:1)*(0,m.RZ)((0,m.T9)(0,A*A*w-S*S)),k=(S*x-b*M)/w,_=(-S*b-x*M)/w,j=(S*x+b*M)/w,E=(-S*b+x*M)/w,I=k-y,P=_-g,O=j-y,C=E-g;return I*I+P*P>O*O+C*C&&(k=j,_=E),{cx:k,cy:_,x01:-s,y01:-f,x11:k*(i/A-1),y11:_*(i/A-1)}}function k(){var t=b,n=x,e=(0,y.A)(0),r=null,i=w,o=A,a=S,u=null,l=(0,g.i)(c);function c(){var c,s,f=+t.apply(this,arguments),d=+n.apply(this,arguments),h=i.apply(this,arguments)-m.TW,p=o.apply(this,arguments)-m.TW,v=(0,m.tn)(p-h),y=p>h;if(u||(u=c=l()),d<f&&(s=d,d=f,f=s),d>m.Ni)if(v>m.FA-m.Ni)u.moveTo(d*(0,m.gn)(h),d*(0,m.F8)(h)),u.arc(0,0,d,h,p,!y),f>m.Ni&&(u.moveTo(f*(0,m.gn)(p),f*(0,m.F8)(p)),u.arc(0,0,f,p,h,y));else{var g,b,x=h,w=p,A=h,S=p,k=v,_=v,j=a.apply(this,arguments)/2,E=j>m.Ni&&(r?+r.apply(this,arguments):(0,m.RZ)(f*f+d*d)),I=(0,m.jk)((0,m.tn)(d-f)/2,+e.apply(this,arguments)),P=I,O=I;if(E>m.Ni){var C=(0,m.qR)(E/f*(0,m.F8)(j)),T=(0,m.qR)(E/d*(0,m.F8)(j));(k-=2*C)>m.Ni?(A+=C*=y?1:-1,S-=C):(k=0,A=S=(h+p)/2),(_-=2*T)>m.Ni?(x+=T*=y?1:-1,w-=T):(_=0,x=w=(h+p)/2)}var N=d*(0,m.gn)(x),R=d*(0,m.F8)(x),L=f*(0,m.gn)(S),F=f*(0,m.F8)(S);if(I>m.Ni){var z,D=d*(0,m.gn)(w),U=d*(0,m.F8)(w),H=f*(0,m.gn)(A),G=f*(0,m.F8)(A);if(v<m.pi)if(z=function(t,n,e,r,i,o,a,u){var l=e-t,c=r-n,s=a-i,f=u-o,d=f*l-s*c;if(!(d*d<m.Ni))return[t+(d=(s*(n-o)-f*(t-i))/d)*l,n+d*c]}(N,R,H,G,D,U,L,F)){var q=N-z[0],Y=R-z[1],B=D-z[0],V=U-z[1],X=1/(0,m.F8)((0,m.HQ)((q*B+Y*V)/((0,m.RZ)(q*q+Y*Y)*(0,m.RZ)(B*B+V*V)))/2),$=(0,m.RZ)(z[0]*z[0]+z[1]*z[1]);P=(0,m.jk)(I,(f-$)/(X-1)),O=(0,m.jk)(I,(d-$)/(X+1))}else P=O=0}_>m.Ni?O>m.Ni?(g=M(H,G,N,R,d,O,y),b=M(D,U,L,F,d,O,y),u.moveTo(g.cx+g.x01,g.cy+g.y01),O<I?u.arc(g.cx,g.cy,O,(0,m.FP)(g.y01,g.x01),(0,m.FP)(b.y01,b.x01),!y):(u.arc(g.cx,g.cy,O,(0,m.FP)(g.y01,g.x01),(0,m.FP)(g.y11,g.x11),!y),u.arc(0,0,d,(0,m.FP)(g.cy+g.y11,g.cx+g.x11),(0,m.FP)(b.cy+b.y11,b.cx+b.x11),!y),u.arc(b.cx,b.cy,O,(0,m.FP)(b.y11,b.x11),(0,m.FP)(b.y01,b.x01),!y))):(u.moveTo(N,R),u.arc(0,0,d,x,w,!y)):u.moveTo(N,R),f>m.Ni&&k>m.Ni?P>m.Ni?(g=M(L,F,D,U,f,-P,y),b=M(N,R,H,G,f,-P,y),u.lineTo(g.cx+g.x01,g.cy+g.y01),P<I?u.arc(g.cx,g.cy,P,(0,m.FP)(g.y01,g.x01),(0,m.FP)(b.y01,b.x01),!y):(u.arc(g.cx,g.cy,P,(0,m.FP)(g.y01,g.x01),(0,m.FP)(g.y11,g.x11),!y),u.arc(0,0,f,(0,m.FP)(g.cy+g.y11,g.cx+g.x11),(0,m.FP)(b.cy+b.y11,b.cx+b.x11),y),u.arc(b.cx,b.cy,P,(0,m.FP)(b.y11,b.x11),(0,m.FP)(b.y01,b.x01),!y))):u.arc(0,0,f,S,A,y):u.lineTo(L,F)}else u.moveTo(0,0);if(u.closePath(),c)return u=null,c+""||null}return c.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-m.pi/2;return[(0,m.gn)(r)*e,(0,m.F8)(r)*e]},c.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:(0,y.A)(+n),c):t},c.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:(0,y.A)(+t),c):n},c.cornerRadius=function(t){return arguments.length?(e="function"==typeof t?t:(0,y.A)(+t),c):e},c.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:(0,y.A)(+t),c):r},c.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:(0,y.A)(+t),c):i},c.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:(0,y.A)(+t),c):o},c.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:(0,y.A)(+t),c):a},c.context=function(t){return arguments.length?(u=null==t?null:t,c):u},c}var _=e(47836),j=e(26542),E=e(78153),I=e(63958),P=e(12629),O=e(78685),C=["classes","color","cornerRadius","dataIndex","endAngle","id","innerRadius","isFaded","isHighlighted","onClick","outerRadius","paddingAngle","startAngle","highlightScope"];function T(t){return(0,j.Ay)("MuiPieArc",t)}(0,I.A)("MuiPieArc",["root","highlighted","faded"]);var N=(0,E.Ay)(v.CS.path,{name:"MuiPieArc",slot:"Root",overridesResolver:function(t,n){return n.arc}})((function(t){var n=t.theme;return{stroke:(n.vars||n).palette.background.paper,transition:"opacity 0.2s ease-in, fill 0.2s ease-in, filter 0.2s ease-in"}}));function R(t){var n=t.classes,e=t.color,o=t.cornerRadius,a=t.dataIndex,u=t.endAngle,l=t.id,c=t.innerRadius,s=t.isFaded,f=t.isHighlighted,d=t.onClick,h=t.outerRadius,p=t.paddingAngle,y=t.startAngle,m=(0,i.A)(t,C),g={id:l,dataIndex:a,classes:n,color:e,isFaded:s,isHighlighted:f}
1,b=function(t){var n=t.classes,e=t.id,r=t.isFaded,i=t.isHighlighted,o=t.dataIndex,a={root:["root","series-".concat(e),"data-index-".concat(o),i&&"highlighted",r&&"faded"]};return(0,_.A)(a,T,n)}(g),x=(0,P.D)();return(0,O.jsx)(N,(0,r.A)({d:(0,v.to)([y,u,p,c,h,o],(function(t,n,e,r,i,o){return k().cornerRadius(o)({padAngle:e,startAngle:t,endAngle:n,innerRadius:r,outerRadius:i})})),visibility:(0,v.to)([y,u],(function(t,n){return t===n?"hidden":"visible"})),onClick:d,cursor:d?"pointer":"unset",ownerState:g,className:b.root,fill:g.color,opacity:g.isFaded?.3:1,filter:g.isHighlighted?"brightness(120%)":"none",strokeWidth:1,strokeLinejoin:"round"},m,x({type:"pie",seriesId:l,dataIndex:a})))}var L={keys:function(t){return t.id},from:function(t){var n=t.innerRadius,e=t.outerRadius,r=t.cornerRadius,i=t.startAngle,o=t.endAngle;return{innerRadius:n,outerRadius:(n+e)/2,cornerRadius:r,startAngle:(i+o)/2,endAngle:(i+o)/2,paddingAngle:t.paddingAngle,fill:t.color,opacity:t.isFaded?.3:1}},leave:function(t){var n=t.innerRadius,e=t.startAngle,r=t.endAngle;return{innerRadius:n,outerRadius:n,startAngle:(e+r)/2,endAngle:(e+r)/2}},enter:function(t){return{innerRadius:t.innerRadius,outerRadius:t.outerRadius,startAngle:t.startAngle,endAngle:t.endAngle}},update:function(t){return{innerRadius:t.innerRadius,outerRadius:t.outerRadius,cornerRadius:t.cornerRadius,startAngle:t.startAngle,endAngle:t.endAngle,paddingAngle:t.paddingAngle,fill:t.color,opacity:t.isFaded?.3:1}},config:{tension:120,friction:14,clamp:!0}},F={keys:function(t){return t.id},from:function(t){var n=t.innerRadius,e=t.outerRadius,r=t.arcLabelRadius,i=t.cornerRadius,o=t.startAngle,a=t.endAngle;return{innerRadius:n,outerRadius:(n+e)/2,cornerRadius:i,arcLabelRadius:r,startAngle:(o+a)/2,endAngle:(o+a)/2,paddingAngle:t.paddingAngle,opacity:0}
1},leave:function(t){var n=t.innerRadius,e=t.startAngle,r=t.endAngle;return{innerRadius:n,outerRadius:n,arcLabelRadius:n,startAngle:(e+r)/2,endAngle:(e+r)/2,opacity:0}},enter:function(t){return{innerRadius:t.innerRadius,outerRadius:t.outerRadius,startAngle:t.startAngle,endAngle:t.endAngle,arcLabelRadius:t.arcLabelRadius,opacity:1}},update:function(t){return{innerRadius:t.innerRadius,outerRadius:t.outerRadius,cornerRadius:t.cornerRadius,startAngle:t.startAngle,endAngle:t.endAngle,paddingAngle:t.paddingAngle,arcLabelRadius:t.arcLabelRadius,opacity:1}},config:{tension:120,friction:14,clamp:!0}},z=e(9877);function D(t){var n=t.id,e=t.data,i=t.faded,a=t.highlighted,u=t.paddingAngle,l=void 0===u?0:u,c=t.innerRadius,s=void 0===c?0:c,f=t.arcLabelRadius,d=t.outerRadius,h=t.cornerRadius,p=void 0===h?0:h,v=(0,z.Z)(),y=v.isFaded,m=v.isHighlighted;return o.useMemo((function(){return e.map((function(t,e){var o,u,c,h,v,g,b={seriesId:n,dataIndex:e},x=m(b),w=!x&&y(b),A=(0,r.A)({additionalRadius:0},w&&i||x&&a||{}),S=Math.max(0,Math.PI*(null!==(o=A.paddingAngle)&&void 0!==o?o:l)/180),M=Math.max(0,null!==(u=A.innerRadius)&&void 0!==u?u:s),k=Math.max(0,null!==(c=A.outerRadius)&&void 0!==c?c:d+A.additionalRadius),_=null!==(h=A.cornerRadius)&&void 0!==h?h:p,j=null!==(v=null!==(g=A.arcLabelRadius)&&void 0!==g?g:f)&&void 0!==v?v:(M+k)/2;return(0,r.A)({},t,A,{isFaded:w,isHighlighted:x,paddingAngle:S,innerRadius:M,outerRadius:k,cornerRadius:_,arcLabelRadius:j})}))}),[p,s,d,l,f,e,i,a,y,m,n])}var U=["slots","slotProps","innerRadius","outerRadius","cornerRadius","paddingAngle","id","highlighted","faded","data","onItemClick","skipAnimation"];function H(t){var n,e=t.slots,o=t.slotProps,a=t.innerRadius,u=void 0===a?0:a,l=t.outerRadius,c=t.cornerRadius,s=void 0===c?0:c,f=t.paddingAngle,d=void 0===f?0:f,h=t.id,p=t.highlighted,y=t.faded,m=void 0===y?{additionalRadius:-5}:y,g=t.data,b=t.onItemClick,x=t.skipAnimation,w=(0,i.A)(t,U),A=D({innerRadius:u,outerRadius:l,cornerRadius:s,paddingAngle:d,id:h,highlighted:p,faded:m,data:g}),S=(0,v.pn)(A,(0,r.A)({},L,{immediate:x})),M=(0,z.Z)().highlightScope;if(0===g.length)return null;var k=null!==(n=null==e?void 0:e.pieArc)&&void 0!==n?n:R;return(0,O.jsx)("g",(0,r.A)({},w,{children:S((function(t,n,e,i){var a=t.startAngle,u=t.endAngle,l=t.paddingAngle,c=t.innerRadius,s=t.outerRadius,f=t.cornerRadius;return(0,O.jsx)(k,(0,r.A)({startAngle:a,endAngle:u,paddingAngle:l,innerRadius:c,outerRadius:s,cornerRadius:f,id:h,color:n.color,dataIndex:i,highlightScope:M,isFaded:n.isFaded,isHighlighted:n.isHighlighted,onClick:b&&function(t){b(t,{type:"pie",seriesId:h,dataIndex:i},n)}},null==o?void 0:o.pieArc))}))}))}function G(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return q(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?q(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function q(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}var Y=["id","classes","color","startAngle","endAngle","paddingAngle","arcLabelRadius","innerRadius","outerRadius","cornerRadius","formattedArcLabel","isHighlighted","isFaded","style"];function B(t){return(0,j.Ay)("MuiPieArcLabel",t)}(0,I.A)("MuiPieArcLabel",["root","highlighted","faded"]);var V=(0,E.Ay)(v.CS.text,{name:"MuiPieArcLabel",slot:"Root",overridesResolver:function(t,n){return n.root}})((function(t){var n=t.theme;return{fill:(n.vars||n).palette.text.primary,textAnchor:"middle",dominantBaseline:"middle",pointerEvents:"none"}})),X=function(t,n){return function(e,r,i,o,a){if(!t)return 0;var u=G(k().cornerRadius(a).centroid({padAngle:i,startAngle:e,endAngle:r,innerRadius:o,outerRadius:o}),2),l=u[0],c=u[1];return"x"===n?l:c}};function $(t){var n=t.id,e=t.classes,o=t.color,a=t.startAngle,u=t.endAngle,l=t.paddingAngle,c=t.arcLabelRadius,s=t.cornerRadius,f=t.formattedArcLabel,d=t.isHighlighted,h=t.isFaded,p=t.style,y=(0,i.A)(t,Y),m=function(t){var n=t.classes,e=t.i
1d,r=t.isFaded,i=t.isHighlighted,o={root:["root","series-".concat(e),i&&"highlighted",r&&"faded"]};return(0,_.A)(o,B,n)}({id:n,classes:e,color:o,isFaded:h,isHighlighted:d});return(0,O.jsx)(V,(0,r.A)({className:m.root},y,{style:(0,r.A)({x:(0,v.to)([a,u,l,c,s],X(f,"x")),y:(0,v.to)([a,u,l,c,s],X(f,"y"))},p),children:f}))}var W=e(37877),Z=["arcLabel","arcLabelMinAngle","arcLabelRadius","cornerRadius","data","faded","highlighted","id","innerRadius","outerRadius","paddingAngle","skipAnimation","slotProps","slots"],Q=["startAngle","endAngle","paddingAngle","innerRadius","outerRadius","arcLabelRadius","cornerRadius"],K=180/Math.PI;function J(t,n,e){var i;if(!t)return null;if((e.endAngle-e.startAngle)*K<n)return null;switch(t){case"label":return(0,W.p)(e.label,"arc");case"value":return null===(i=e.value)||void 0===i?void 0:i.toString();case"formattedValue":return e.formattedValue;default:return t((0,r.A)({},e,{label:(0,W.p)(e.label,"arc")}))}}function tt(t){var n,e=t.arcLabel,o=t.arcLabelMinAngle,a=void 0===o?0:o,u=t.arcLabelRadius,l=t.cornerRadius,c=void 0===l?0:l,s=t.data,f=t.faded,d=void 0===f?{additionalRadius:-5}:f,h=t.highlighted,p=t.id,y=t.innerRadius,m=t.outerRadius,g=t.paddingAngle,b=void 0===g?0:g,x=t.skipAnimation,w=t.slotProps,A=t.slots,S=(0,i.A)(t,Z),M=D({innerRadius:y,outerRadius:m,arcLabelRadius:u,cornerRadius:c,paddingAngle:b,id:p,highlighted:h,faded:d,data:s}),k=(0,v.pn)(M,(0,r.A)({},F,{immediate:x}));if(0===s.length)return null;var _=null!==(n=null==A?void 0:A.pieArcLabel)&&void 0!==n?n:$;return(0,O.jsx)("g",(0,r.A)({},S,{children:k((function(t,n){var o=t.startAngle,u=t.endAngle,l=t.paddingAngle,c=t.innerRadius,s=t.outerRadius,f=t.arcLabelRadius,d=t.cornerRadius,h=(0,i.A)(t,Q);return(0,O.jsx)(_,(0,r.A)({startAngle:o,endAngle:u,paddingAngle:l,innerRadius:c,outerRadius:s,arcLabelRadius:f,cornerRadius:d,style:h,id:p,color:n.color,isFaded:n.isFaded,isHighlighted:n.isHighlighted,formattedArcLabel:J(e,a,n)},null==w?void 0:w.pieArcLabel))}))}))}function nt(t,n){if("number"==typeof t)return t;if("100%"===t)return n;if(t.endsWith("%")){var e=Number.parseFloat(t.slice(0,t.length-1));if(!Number.isNaN(e))return e*n/100}if(t.endsWith("px")){var r=Number.parseFloat(t.slice(0,t.length-2));if(!Number.isNaN(r))return r}throw new Error('MUI X: Received an unknown value "'.concat(t,'". It should be a number, or a string with a percentage value.'))}function et(t,n){var e=n.height,r=n.width,i=t.cx,o=t.cy,a=Math.min(r,e)/2;return{cx:nt(null!=i?i:"50%",r),cy:nt(null!=o?o:"50%",e),availableRadius:a}}var rt=e(41071),it=e(23694);function ot(t){var n=t.skipAnimation,e=t.slots,r=t.slotProps,i=t.onItemClick,a=(0,rt.P6)(),u=o.useContext(p.wf),l=u.left,c=u.top,s=u.width,f=u.height,d=(0,it.x)(n);if(void 0===a)return null;var h=a.series,v=a.seriesOrder;return(0,O.jsxs)("g",{children:[v.map((function(t){var n=h[t],o=n.innerRadius,a=n.outerRadius,u=n.cornerRadius,p=n.paddingAngle,v=n.data,y=n.cx,m=n.cy,g=n.highlighted,b=n.faded,x=et({cx:y,cy:m},{width:s,height:f}),w=x.cx,A=x.cy,S=x.availableRadius,M=nt(null!=a?a:S,S),k=nt(null!=o?o:0,S);return(0,O.jsx)("g",{transform:"translate(".concat(l+w,", ").concat(c+A,")"),children:(0,O.jsx)(H,{innerRadius:k,outerRadius:M,cornerRadius:u,paddingAngle:p,id:t,data:v,skipAnimation:d,highlighted:g,faded:b,onItemClick:i,slots:e,slotProps:r})},t)})),v.map((function(t){var n=h[t],i=n.innerRadius,o=n.outerRadius,a=n.arcLabelRadius,u=n.cornerRadius,p=n.paddingAngle,v=n.arcLabel,y=n.arcLabelMinAngle,m=n.data,g=et({cx:n.cx,cy:n.cy},{width:s,height:f}),b=g.cx,x=g.cy,w=g.availableRadius,A=nt(null!=o?o:w,w),S=nt(null!=i?i:0,w),M=void 0===a?(A+S)/2:nt(a,w);return(0,O.jsx)("g",{transform:"translate(".concat(l+b,", ").concat(c+x,")"),children:(0,O.jsx)(tt,{innerRadius:S,outerRadius:null!=A?A:w,arcLabelRadius:M,cornerRadius:u,paddingAngle:p,id:t,data:m,skipAnimation:d,arcLabel:v,arcLabelMinAngle:y,slots:e,slotProps:r})},t)}))]})}var at=e(77910);function ut(t){return function(t){if(Array.isArray(t))return lt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return lt(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?lt(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function lt(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}var ct=["xAxis","yAxis","series","width","height","margin","colors","sx","tooltip","axisHighlight","skipAnimation","legend","topAxis","leftAxis","rightAxis","bottomAxis","children","slots","slotProps","onItemClick","loading","highlightedItem","onHighlightChange","className"],st={top:5,bottom:5,left:5,right:100},ft={top:5,bottom:5,left:100,right:5},dt=o.forwardRef((function(t,n){var e=(0,u.A)({props:t,name:"MuiPieChart"}),o=e.xAxis,p=e.yAxis,v=e.series,y=e.width,m=e.height,g=e.margin,b=e.colors,x=e.sx,w=e.tooltip,A=void 0===w?{trigger:"item"}:w,S=e.axisHighlight,M=void 0===S?{x:"none",y:"none"}
1:S,k=e.skipAnimation,_=e.legend,j=e.topAxis,E=void 0===j?null:j,I=e.leftAxis,P=void 0===I?null:I,C=e.rightAxis,T=void 0===C?null:C,N=e.bottomAxis,R=void 0===N?null:N,L=e.children,F=e.slots,z=e.slotProps,D=e.onItemClick,U=e.loading,H=e.highlightedItem,G=e.onHighlightChange,q=e.className,Y=(0,i.A)(e,ct),B=(0,a.I)(),V=(0,r.A)({},B?ft:st,g),X=(0,r.A)({direction:"column",position:{vertical:"middle",horizontal:B?"left":"right"}},_);return(0,O.jsxs)(l.E,(0,r.A)({},Y,{ref:n,series:v.map((function(t){return(0,r.A)({type:"pie"},t)})),width:y,height:m,margin:V,xAxis:null!=o?o:[{id:s.nW,scaleType:"point",data:ut(new Array(Math.max.apply(Math,[0].concat(ut(v.map((function(t){return t.data.length}))))))).map((function(t,n){return n}))}],yAxis:p,colors:b,sx:x,disableAxisListener:"axis"!==(null==A?void 0:A.trigger)&&"none"===(null==M?void 0:M.x)&&"none"===(null==M?void 0:M.y),highlightedItem:H,onHighlightChange:G,className:q,skipAnimation:k,children:[(0,O.jsx)(c.x,{topAxis:E,leftAxis:P,rightAxis:T,bottomAxis:R,slots:F,slotProps:z}),(0,O.jsx)(ot,{slots:F,slotProps:z,onItemClick:D}),(0,O.jsx)(at.g,{loading:U,slots:F,slotProps:z}),(0,O.jsx)(d.Z,(0,r.A)({},X,{slots:F,slotProps:z})),(0,O.jsx)(h.R9,(0,r.A)({},M)),!U&&(0,O.jsx)(f.b,(0,r.A)({},A,{slots:F,slotProps:z})),L]}))}))},61957:function(t,n,e){"use strict";e.d(n,{E:function(){return gi}});var r=e(52239),i=e(2057),o=e(91970),a=e(83474),u=["#02B2AF","#2E96FF","#B800D8","#60009B","#2731C8","#03008D"],l=["#02B2AF","#72CCFF","#DA00FF","#9001CB","#2E96FF","#3B48E0"],c=function(t){return"dark"===t?l:u},s=e(74835),f=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"];var d=function(t){var n=t.series,e=t.colors,i=t.seriesFormatters,o=t.dataset,a={};n.forEach((function(t,n){var i,o=t.id,u=void 0===o?"auto-generated-id-".concat(n):o,l=t.type;if(void 0===a[l]&&(a[l]={series:{},seriesOrder:[]}),void 0!==(null===(i=a[l])||void 0===i?void 0:i.series[u]))throw new Error("MUI X: series' id \"".concat(u,'" is not unique.'));a[l].series[u]=(0,r.A)({id:u},function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;return"pie"===t.type?(0,r.A)({},t,{data:t.data.map((function(t,n){return(0,r.A)({color:e[n%e.length]},t)}))}):(0,r.A)({color:e[n%e.length]},t)}(t,n,e)),a[l].seriesOrder.push(u)}));var u={};
1return Object.keys(i).forEach((function(t){var n,e,r=a[t];void 0!==r&&(u[t]=null!==(n=null===(e=i[t])||void 0===e?void 0:e.call(i,r,o))&&void 0!==n?n:a[t])})),u},h=e(74111);var p=e(78685);function v(t){var n=t.series,e=t.dataset,r=t.colors,o=void 0===r?c:r,u=t.children,l=function(t){var n=i.useContext(h.b),e=n.isInitialized,r=n.data;if(!e)throw new Error(["MUI X: Could not find the plugin context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return t?r.seriesFormatters[t]:r.seriesFormatters}(),f=(0,a.A)(),v=i.useMemo((function(){return{isInitialized:!0,data:d({series:n,colors:"function"==typeof o?o(f.palette.mode):o,seriesFormatters:l,dataset:e})}}),[n,o,f.palette.mode,l,e]);return(0,p.jsx)(s.$.Provider,{value:v,children:u})}var y=e(26775),m=e(13078),g=e(78153),b=e(28214),x=e(30140),w=e(8548);var A=e(49),S=e(19515);function M(t){return function(t){if(Array.isArray(t))return k(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return k(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?k(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function _(t){return t instanceof Date?t.getTime():t}var j=["children","width","height","viewBox","disableAxisListener","className","title","desc"],E=(0,g.Ay)("svg",{name:"MuiChartsSurface",slot:"Root"})((function(){return{touchAction:"none"}})),I=i.forwardRef((function(t,n){var e=(0,b.A)({props:t,name:"MuiChartsSurface"}),o=e.children,a=e.width,u=e.height,l=e.viewBox,c=e.disableAxisListener,s=void 0!==c&&c,f=e.className,d=e.title,h=e.desc,v=(0,m.A)(e,j),g=(0,r.A)({width:a,height:u,x:0,y:0},l);return function(t){var n=(0,A.n)(),e=(0,S.N)(),r=(0,x.T)(),o=r.xAxis,a=r.yAxis,u=r.xAxisIds,l=r.yAxisIds,c=i.useContext(y.O).dispatch,s=u[0],f=l[0],d=i.useRef({isInChart:!1,x:-1,y:-1});i.useEffect((function(){var r=n.current;if(null===r||t)return function(){};function i(t,n){var e=t.scale,r=t.data,i=t.reverse;if(!(0,w.y)(e)){var o=e.invert(n);if(void 0===r)return{value:o,index:-1};var a=_(o),u=null==r?void 0:r.findIndex((function(t,n){var e=_(t);return e>a&&(0===n||Math.abs(a-e)<=Math.abs(a-_(r[n-1])))||e<=a&&(n===r.length-1||Math.abs(_(o)-e)<Math.abs(_(o)-_(r[n+1])))}));return{value:void 0!==u&&u>=0?r[u]:o,index:u}}var l=0===e.bandwidth()?Math.floor((n-Math.min.apply(Math,M(e.range()))+e.step()/2)/e.step()):Math.floor((n-Math.min.apply(Math,M(e.range())))/e.step());if(l<0||l>=r.length)return null;if(i){var c=r.length-1-l;return{index:c,value:r[c]}}return{index:l,value:r[l]}}var u=function(){d.current={isInChart:!1,x:-1,y:-1},c({type:"exitChart"})},l=function(t){var n="targetTouches"in t?t.targetTouches[0]:t,u=function(t,n){var e=t.createSVGPoint();return e.x=n.clientX,e.y=n.clientY,e.matrixTransform(t.getScreenCTM().inverse())}(r,n);if(d.current.x=u.x,d.current.y=u.y,e.isPointInside(u,{targetElement:t.target})){d.current.isInChart=!0;var l=i(o[s],u.x),h=i(a[f],u.y);c({type:"updateAxis",data:{x:l,y:h}})}else d.current.isInChart&&(c({type:"exitChart"}),d.current.isInChart=!1)},h=function(t){var n=t.currentTarget;n&&n.hasPointerCapture(t.pointerId)&&n.releasePointerCapture(t.pointerId)};return r.addEventListener("pointerdown",h),r.addEventListener("pointermove",l),r.addEventListener("pointerout",u),r.addEventListener("pointercancel",u),r.addEventListener("pointerleave",u),function(){r.removeEventListener("pointerdown",h),r.removeEventListener("pointermove",l),r.removeEventListener("pointerout",u),r.removeEventListener("pointercancel",u),r.removeEventListener("pointerleave",u)}}),[n,c,f,a,s,o,t,e])}(s),(0,p.jsxs)(E,(0,r.A)({width:a,height:u,viewBox:"".concat(g.x," ").concat(g.y," ").concat(g.width," ").concat(g.height),ref:n,className:f},v,{children:[(0,p.jsx)("title",{children:d}),(0,p.jsx)("desc",{children:h}),o]}))})),P=e(76257),O=e(51465),C=1e3,T=6e4,N=36e5,R=864e5,L=6048e5,F=2592e6,z=31536e6,D=new Date,U=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=function(n){return t(n=new Date(+n)),n}
1,i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return t-n<e-t?n:e},i.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},i.range=function(e,r,o){var a,u=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e<r&&o>0))return u;do{u.push(a=new Date(+e)),n(e,o),t(e)}while(a<e&&e<r);return u},i.filter=function(e){return H((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&&(i.count=function(n,r){return D.setTime(+n),U.setTime(+r),t(D),t(U),Math.floor(e(D,U))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t==0}:function(n){return i.count(0,n)%t==0}):i:null}),i}var G=H((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));G.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?H((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):G:null};G.range;var q=H((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*C)}),(function(t,n){return(n-t)/C}),(function(t){return t.getUTCSeconds()})),Y=(q.range,H((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*C)}),(function(t,n){t.setTime(+t+n*T)}),(function(t,n){return(n-t)/T}),(function(t){return t.getMinutes()}))),B=(Y.range,H((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*T)}),(function(t,n){return(n-t)/T}),(function(t){return t.getUTCMinutes()}))),V=(B.range,H((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*C-t.getMinutes()*T)}),(function(t,n){t.setTime(+t+n*N)}),(function(t,n){return(n-t)/N}),(function(t){return t.getHours()}))),X=(V.range,H((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*N)}),(function(t,n){return(n-t)/N}),(function(t){return t.getUTCHours()}))),$=(X.range,H((function(t){return t.setHours(0,0,0,0)}),(function(t,n){return t.setDate(t.getDate()+n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*T)/R}),(function(t){return t.getDate()-1}))),W=($.range,H((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/R}),(function(t){return t.getUTCDate()-1}))),Z=(W.range,H((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/R}),(function(t){return Math.floor(t/R)})));Z.range;function Q(t){return H((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())*T)/L}))}var K=Q(0),J=Q(1),tt=Q(2),nt=Q(3),et=Q(4),rt=Q(5),it=Q(6);K.range,J.range,tt.range,nt.range,et.range,rt.range,it.range;function ot(t){return H((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)/L}))}var at=ot(0),ut=ot(1),lt=ot(2),ct=ot(3),st=ot(4),ft=ot(5),dt=ot(6),ht=(at.range,ut.range,lt.range,ct.range,st.range,ft.range,dt.range,H((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()}))),pt=(ht.range,H((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()}))),vt=(pt.range,H((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()})));vt.every=function(t){return isFinite(t=Math.floor(t))&&t>0?H((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};vt.range;var yt=H((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()}));yt.every=function(t){return isFinite(t=Math.floor(t))&&t>0?H((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};yt.range;function mt(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;
1!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return gt(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?gt(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gt(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function bt(t,n,e,r,i,o){var a=[[q,1,C],[q,5,5e3],[q,15,15e3],[q,30,3e4],[o,1,T],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,N],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,R],[r,2,1728e5],[e,1,L],[n,1,F],[n,3,7776e6],[t,1,z]];function u(n,e,r){var i=Math.abs(e-n)/r,o=(0,P.A)((function(t){return mt(t,3)[2]})).right(a,i);if(o===a.length)return t.every((0,O.sG)(n/z,e/z,r));if(0===o)return G.every(Math.max((0,O.sG)(n,e,r),1));var u=mt(a[i/a[o-1][2]<a[o][2]/i?o-1:o],2),l=u[0],c=u[1];return l.every(c)}return[function(t,n,e){var r=n<t;if(r){var i=[n,t];t=i[0],n=i[1]}var o=e&&"function"==typeof e.range?e:u(t,n,e),a=o?o.range(t,+n+1):[];return r?a.reverse():a},u]}var xt=mt(bt(yt,pt,at,Z,X,B),2),wt=xt[0],At=xt[1],St=mt(bt(vt,ht,K,$,V,Y),2),Mt=St[0],kt=St[1];function _t(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 jt(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 Et(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}var It,Pt,Ot,Ct={"-":"",_:" ",0:"0"},Tt=/^\s*\d+/,Nt=/^%/,Rt=/[\\^$*+?|[\]().{}]/g;function Lt(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 Ft(t){return t.replace(Rt,"\\$&")}function zt(t){return new RegExp("^(?:"+t.map(Ft).join("|")+")","i")}function Dt(t){return new Map(t.map((function(t,n){return[t.toLowerCase(),n]})))}function Ut(t,n,e){var r=Tt.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function Ht(t,n,e){var r=Tt.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function Gt(t,n,e){var r=Tt.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function qt(t,n,e){var r=Tt.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function Yt(t,n,e){var r=Tt.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function Bt(t,n,e){var r=Tt.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function Vt(t,n,e){var r=Tt.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function Xt(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 $t(t,n,e){var r=Tt.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function Wt(t,n,e){var r=Tt.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function Zt(t,n,e){var r=Tt.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Qt(t,n,e){var r=Tt.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Kt(t,n,e){var r=Tt.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function Jt(t,n,e){var r=Tt.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function tn(t,n,e){var r=Tt.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function nn(t,n,e){var r=Tt.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function en(t,n,e){var r=Tt.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function rn(t,n,e){var r=Nt.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function on(t,n,e){var r=Tt.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function an(t,n,e){var r=Tt.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function un(t,n){return Lt(t.getDate(),n,2)}function ln(t,n){return Lt(t.getHours(),n,2)}function cn(t,n){return Lt(t.getHours()%12||12,n,2)}function sn(t,n){return Lt(1+$.count(vt(t),t),n,3)}function fn(t,n){return Lt(t.getMilliseconds(),n,3)}function dn(t,n){return fn(t,n)+"000"}function hn(t,n){return Lt(t.getMonth()+1,n,2)}function pn(t,n){return Lt(t.getMinutes(),n,2)}function vn(t,n){return Lt(t.getSeconds(),n,2)}function yn(t){var n=t.getDay();return 0===n?7:n}function mn(t,n){return Lt(K.count(vt(t)-1,t),n,2)}function gn(t){var n=t.getDay();return n>=4||0===n?et(t):et.ceil(t)}function bn(t,n){return t=gn(t),Lt(et.count(vt(t),t)+(4===vt(t).getDay()),n,2)}function xn(t){return t.getDay()}function wn(t,n){return Lt(J.count(vt(t)-1,t),n,2)}function An(t,n){return Lt(t.getFullYear()%100,n,2)}function Sn(t,n){return Lt((t=gn(t)).getFullYear()%100,n,2)}function Mn(t,n){return Lt(t.getFullYear()%1e4,n,4)}function kn(t,n){var e=t.getDay();return Lt((t=e>=4||0===e?et(t):et.ceil(t)).getFullYear()%1e4,n,4)}function _n(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Lt(n/60|0,"0",2)+Lt(n%60,"0",2)}function jn(t,n){return Lt(t.getUTCDate(),n,2)}function En(t,n){return Lt(t.getUTCHours(),n,2)}function In(t,n){return Lt(t.getUTCHours()%12||12,n,2)}function Pn(t,n){return Lt(1+W.count(yt(t),t),n,3)}function On(t,n){return Lt(t.getUTCMilliseconds(),n,3)}function Cn(t,n){return On(t,n)+"000"}function Tn(t,n){return Lt(t.getUTCMonth()+1,n,2)}function Nn(t,n){return Lt(t.getUTCMinutes(),n,2)}function Rn(t,n){return Lt(t.getUTCSeconds(),n,2)}function Ln(t){var n=t.getUTCDay();return 0===n?7:n}function Fn(t,n){return Lt(at.count(yt(t)-1,t),n,2)}function zn(t){var n=t.getUTCDay();return n>
vendor: 4,273 bytes, line 1
1=4||0===n?st(t):st.ceil(t)}function Dn(t,n){return t=zn(t),Lt(st.count(yt(t),t)+(4===yt(t).getUTCDay()),n,2)}function Un(t){return t.getUTCDay()}function Hn(t,n){return Lt(ut.count(yt(t)-1,t),n,2)}function Gn(t,n){return Lt(t.getUTCFullYear()%100,n,2)}function qn(t,n){return Lt((t=zn(t)).getUTCFullYear()%100,n,2)}function Yn(t,n){return Lt(t.getUTCFullYear()%1e4,n,4)}function Bn(t,n){var e=t.getUTCDay();return Lt((t=e>=4||0===e?st(t):st.ceil(t)).getUTCFullYear()%1e4,n,4)}function Vn(){return"+0000"}function Xn(){return"%"}function $n(t){return+t}function Wn(t){return Math.floor(+t/1e3)}It=function(t){var n=t.dateTime,e=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,u=t.months,l=t.shortMonths,c=zt(i),s=Dt(i),f=zt(o),d=Dt(o),h=zt(a),p=Dt(a),v=zt(u),y=Dt(u),m=zt(l),g=Dt(l),b={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:un,e:un,f:dn,g:Sn,G:kn,H:ln,I:cn,j:sn,L:fn,m:hn,M:pn,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:$n,s:Wn,S:vn,u:yn,U:mn,V:bn,w:xn,W:wn,x:null,X:null,y:An,Y:Mn,Z:_n,"%":Xn},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:jn,e:jn,f:Cn,g:qn,G:Bn,H:En,I:In,j:Pn,L:On,m:Tn,M:Nn,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:$n,s:Wn,S:Rn,u:Ln,U:Fn,V:Dn,w:Un,W:Hn,x:null,X:null,y:Gn,Y:Yn,Z:Vn,"%":Xn},w={a:function(t,n,e){var r=h.exec(n.slice(e));return r?(t.w=p.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.w=d.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(t,n,e){var r=m.exec(n.slice(e));return r?(t.m=g.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(t,n,e){var r=v.exec(n.slice(e));return r?(t.m=y.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(t,e,r){return M(t,n,e,r)},d:Zt,e:Zt,f:en,g:Vt,G:Bt,H:Kt,I:Kt,j:Qt,L:nn,m:Wt,M:Jt,p:function(t,n,e){var r=c.exec(n.slice(e));return r?(t.p=s.get(r[0].toLowerCase()),e+r[0].length):-1},q:$t,Q:on,s:an,S:tn,u:Ht,U:Gt,V:qt,w:Ut,W:Yt,x:function(t,n,r){return M(t,e,n,r)},X:function(t,n,e){return M(t,r,n,e)},y:Vt,Y:Bt,Z:Xt,"%":rn};function A(t,n){return function(e){var r,i,o,a=[],u=-1,l=0,c=t.length;for(e instanceof Date||(e=new Date(+e));++u<c;)37===t.charCodeAt(u)&&(a.push(t.slice(l,u)),null!=(i=Ct[r=t.charAt(++u)])?r=t.charAt(++u):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),a.push(r),l=u+1);return a.push(t.slice(l,u)),a.join("")}}function S(t,n){return function(e){var r,i,o=Et(1900,void 0,1);if(M(o,t,e+="",0)!=e.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(n&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=jt(Et(o.y,0,1))).getUTCDay(),r=i>4||0===i?ut.ceil(r):ut(r),r=W.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=_t(Et(o.y,0,1))).getDay(),r=i>4||0===i?J.ceil(r):J(r),r=$.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?jt(Et(o.y,0,1)).getUTCDay():_t(Et(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,jt(o)):_t(o)}}function M(t,n,e,r){for(var i,o,a=0,u=n.length,l=e.length;a<u;){if(r>=l)return-1;if(37===(i=n.charCodeAt(a++))){if(i=n.charAt(a++),!(o=w[i in Ct?n.charAt(a++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return b.x=A(e,b),b.X=A(r,b),b.c=A(n,b),x.x=A(e,x),x.X=A(r,x),x.c=A(n,x),{format:function(t){var n=A(t+="",b);return n.toString=function(){return t},n},parse:function(t){var n=S(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=A(t+="",x);return n.toString=function(){return t},n},utcParse:function(t){var n=S(t+="",!0);return n.toString=function(){return t},n}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","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"]}),Pt=It.format,It.parse,Ot=It.utcFormat,It.utcParse;var Zn=e(48028),Qn=e(32524);function Kn(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a<o&&(e=r,r=i,i=e,e=o,o=a,a=e),t[r]=n.floor(o),t[i]=n.ceil(a),t}function Jn(t){return new Date(t)}function te(t){return t instanceof Date?+t:+new Date(+t)}function ne(t,n,e,r,i,o,a,u,l,c){var s=(0,Zn.Ay)(),f=s.invert,d=s.domain,h=c(".%L"),p=c(":%S"),v=c("%I:%M"),y=c("%I %p"),m=c("%a %d"),g=c("%b %d"),b=c("%B"),x=c("%Y");function w(t){return(l(t)<t?h:u(t)<t?p:a(t)<t?v:o(t)<t?y:r(t)<t?i(t)<t?m:g:e(t)<t?b:x)(t)}return s.invert=function(t){return new Date(f(t))},s.domain=function(t){return arguments.length?d(Array.from(t,te)):d().map(Jn)},s.ticks=function(n){var e=d();return t(e[0],e[e.length-1],null==n?10:n)},s.tickFormat=function(t,n){return null==n?w:c(n)},s.nice=function(t){var e=d();return t&&"function"==typeof t.range||(t=n(e[0],e[e.length-1],null==t?10:t)),t?d(Kn(e,t)):s},s.copy=function(){return(0,Zn.C)(s,ne(t,n,e,r,i,o,a,u,l,c))},s}function ee(){return Qn.C.apply(ne(Mt,kt,vt,ht,K,$,V,Y,q,Pt).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var re=e(33186);function ie(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return oe(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?oe(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oe(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function ae(){var t,n,e=(0,re.A)().unknown(void 0),r=e.domain,i=e.range,o=0,a=1,u=!1,l=0,c=0,s=.5;function f(){var e=r().length,f=a<o,d=f?a:o,h=f?o:a;t=(h-d)/Math.max(1,e-l+2*c),u&&(t=Math.floor(t)),d+=(h-d-t*(e-l))*s,n=t*(1-l),u&&(d=Math.round(d),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 d+t*n}));return i(f?p.reverse():p)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),f()):r()},e.range=function(t){var n;return arguments.length?(n=ie(t,2),o=n[0],a=n[1],o=+o,a=+a,f()):[o,a]},e.rangeRound=function(t){var n;return n=ie(t,2),o=n[0],a=n[1],o=+o,a=+a,u=!0,f()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(u=!!t,f()):u},e.padding=function(t){return arguments.length?(l=Math.min(1,c=+t),f()):l},e.paddingInner=function(t){return arguments.length?(l=Math.min(1,t),f()):l},e.paddingOuter=function(t){return arguments.length?(c=+t,f()):c},e.align=function(t){return arguments.length?(s=Math.max(0,Math.min(1,t)),f()):s},e.copy=function(){return ae(r(),[o,a]).round(u).paddingInner(l).paddingOuter(c).align(s)},Qn.C.apply(f(),arguments)}function ue(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return ue(n())},t}function le(){return ue(ae.apply(null,arguments).paddingInner(1))}var ce=e(8144),se=e(96576),fe=e(19734),de=e(83786),he=e(80835);function pe(t){return Math.log(t)}function ve(t){return Math.exp(t)}function ye(t){return-Math.log(-t)}function me(t){return-Math.exp(-t)}function ge(t){return isFinite(t)?+("1e"+t):t<0?0:t}function be(t){return function(n,e){return-t(-n,e)}}function xe(t){var n,e,r=t(pe,ve),i=r.domain,o=10;function a(){return n=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(n){return Math.log(n)/t})}(o),e=function(t){return 10===t?ge:t===Math.E?Math.exp:function(n){return Math.pow(t,n)}}(o),i()[0]<0?(n=be(n),e=be(e),t(ye,me)):t(pe,ve),r}
1return r.base=function(t){return arguments.length?(o=+t,a()):o},r.domain=function(t){return arguments.length?(i(t),a()):i()},r.ticks=function(t){var r=i(),a=r[0],u=r[r.length-1],l=u<a;if(l){var c=[u,a];a=c[0],u=c[1]}var s,f,d=n(a),h=n(u),p=null==t?10:+t,v=[];if(!(o%1)&&h-d<p){if(d=Math.floor(d),h=Math.ceil(h),a>0){for(;d<=h;++d)for(s=1;s<o;++s)if(!((f=d<0?s/e(-d):s*e(d))<a)){if(f>u)break;v.push(f)}}else for(;d<=h;++d)for(s=o-1;s>=1;--s)if(!((f=d>0?s/e(-d):s*e(d))<a)){if(f>u)break;v.push(f)}2*v.length<p&&(v=(0,O.Ay)(a,u,p))}else v=(0,O.Ay)(d,h,Math.min(h-d,p)).map(e);return l?v.reverse():v},r.tickFormat=function(t,i){if(null==t&&(t=10),null==i&&(i=10===o?"s":","),"function"!=typeof i&&(o%1||null!=(i=(0,de.A)(i)).precision||(i.trim=!0),i=(0,he.GP)(i)),t===1/0)return i;var a=Math.max(1,o*t/r.ticks().length);return function(t){var r=t/e(Math.round(n(t)));return r*o<o-.5&&(r*=o),r<=a?i(t):""}},r.nice=function(){return i(Kn(i(),{floor:function(t){return e(Math.floor(n(t)))},ceil:function(t){return e(Math.ceil(n(t)))}}))},r}function we(){var t=xe((0,Zn.Gu)()).domain([1,10]);return t.copy=function(){return(0,Zn.C)(t,we()).base(t.base())},Qn.C.apply(t,arguments),t}var Ae=e(73440);function Se(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function Me(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function ke(t){return t<0?-t*t:t*t}function _e(t){var n=t(Zn.D_,Zn.D_),e=1;return n.exponent=function(n){return arguments.length?1===(e=+n)?t(Zn.D_,Zn.D_):.5===e?t(Me,ke):t(Se(e),Se(1/e)):e},(0,Ae.C)(n)}function je(){var t=_e((0,Zn.Gu)());return t.copy=function(){return(0,Zn.C)(t,je()).exponent(t.exponent())},Qn.C.apply(t,arguments),t}function Ee(t,n,e){switch(t){case"log":return we(n,e);case"pow":return je(n,e);case"sqrt":return function(){return je.apply(null,arguments).exponent(.5)}(n,e);case"time":return ee(n,e);case"utc":return function(){return Qn.C.apply(ne(wt,At,yt,pt,at,W,X,B,q,Ot).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}(n,e);default:return(0,Ae.A)(n,e)}}var Ie=function(t,n){var e=t[1]-t[0],r=n[1]-n[0];return[t[0]-n[0]*e/r,t[1]+(100-n[1])*e/r]};function Pe(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return Oe(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Oe(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oe(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}var Ce=function(t,n,e,r,i){var o=Object.keys(n).reduce((function(o,a){return function(t,n,e,r,i,o,a){var u,l,c,s=r[n],f=null!==(u=null===(l=o[n])||void 0===l?void 0:l.series)&&void 0!==u?u:{},d=Pe(null!==(c=null==s?void 0:s({series:f,axis:e,axisIndex:i,isDefaultAxis:0===i,getFilters:a}))&&void 0!==c?c:[1/0,-1/0],2),h=d[0],p=d[1],v=Pe(t,2),y=v[0],m=v[1];return[Math.min(h,y),Math.max(p,m)]}(o,a,t,n,e,r,i)}),[1/0,-1/0]);return Number.isNaN(o[0])||Number.isNaN(o[1])?[1/0,-1/0]:o};function Te(t){return function(t){if(Array.isArray(t))return Le(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Re(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ne(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;
1!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||Re(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Re(t,n){if(t){if("string"==typeof t)return Le(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Le(t,n):void 0}}function Le(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}var Fe=function(t){return(null==t?void 0:t[0])instanceof Date};function ze(t,n){var e=ee(t.data,n);return function(n,r){return"tick"===r.location?e.tickFormat(t.tickNumber)(n):"".concat(n.toLocaleString())}}function De(t){var n=t.drawingArea,e=t.formattedSeries,i=t.axis,o=t.extremumGetters,a=t.axisDirection,u=t.zoomData,l=t.zoomOptions,c=t.getFilters,s={};return i.forEach((function(t,i){var f,d,h,p,v,y,m,g=t,b=null==l?void 0:l[g.id],x=null==u?void 0:u.find((function(t){return t.axisId===g.id})),w=x?[x.start,x.end]:[0,100],A=function(t,n,e){if("rotation"===n){var r=e.startAngle,i=void 0===r?0:r,o=e.endAngle,a=void 0===o?i+360:o;return e.reverse?[Math.PI*i/180,Math.PI*a/180]:[Math.PI*a/180,Math.PI*i/180]}if("radius"===n){var u=e.minRadius,l=void 0===u?0:u,c=e.maxRadius;return[l,void 0===c?Math.min(t.width,t.height)/2:c]}var s="x"===n?[t.left,t.left+t.width]:[t.top+t.height,t.top];return e.reverse?[s[1],s[0]]:s}(n,a,g),S=Ne(Ce(g,o,i,e,void 0!==x||b?void 0:c),2),M=S[0],k=S[1],_=null!==(f=g.data)&&void 0!==f?f:[];if((0,ce.w)(g)){var j,E,I=null!==(j=g.categoryGapRatio)&&void 0!==j?j:.2,P=null!==(E=g.barGapRatio)&&void 0!==E?E:.1,O="y"===a?[A[1],A[0]]:A,C=Ie(O,w);if(s[g.id]=(0,r.A)({categoryGapRatio:I,barGapRatio:P},g,{data:_,scale:ae(g.data,C).paddingInner(I).paddingOuter(I/2),tickNumber:g.data.length,colorScale:g.colorMap&&("ordinal"===g.colorMap.type?(0,se.$U)((0,r.A)({values:g.data},g.colorMap)):(0,se.yw)(g.colorMap))}),Fe(g.data)){var T,N=ze(g,O);s[g.id].valueFormatter=null!==(T=g.valueFormatter)&&void 0!==T?T:N}}if((0,ce.H)(g)){var R="y"===a?Te(A).reverse():A,L=Ie(R,w);if(s[g.id]=(0,r.A)({},g,{data:_,scale:le(g.data,L),tickNumber:g.data.length,colorScale:g.colorMap&&("ordinal"===g.colorMap.type?(0,se.$U)((0,r.A)({values:g.data},g.colorMap)):(0,se.yw)(g.colorMap))}),Fe(g.data)){var F,z=ze(g,R);s[g.id].valueFormatter=null!==(F=g.valueFormatter)&&void 0!==F?F:z}}if("band"!==g.scaleType&&"point"!==g.scaleType){var D=null!==(d=g.scaleType)&&void 0!==d?d:"linear",U=null!==(h=g.domainLimit)&&void 0!==h?h:"nice",H=[null!==(p=g.min)&&void 0!==p?p:M,null!==(v=g.max)&&void 0!==v?v:k];if("function"==typeof U){var G=U(M,k),q=G.min,Y=G.max;H[0]=q,H[1]=Y}var B=(0,fe.d)((0,r.A)({},g,{range:A,domain:H})),V=B/((w[1]-w[0])/100),X=Ee(D,H,Ie(A,w)),$="nice"===U?X.nice(B):X,W=Ne($.domain(),2),Z=W[0],Q=W[1],K=[null!==(y=g.min)&&void 0!==y?y:Z,null!==(m=g.max)&&void 0!==m?m:Q];s[g.id]=(0,r.A)({},g,{data:_,scaleType:D,scale:$.domain(K),tickNumber:V,colorScale:g.colorMap&&(0,se.yw)(g.colorMap)})}})),{axis:s,axisIds:i.map((function(t){return t.id}))}}var Ue=e(41071),He=e(71905);function Ge(t){var n=t.xAxis,e=t.yAxis,r=t.children,o=(0,Ue.NY)(),a=(0,S.N)(),u=function(t){var n=i.useContext(h.b),e=n.isInitialized,r=n.data;if(!e)throw new Error(["MUI X: Could not find the plugin context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return t?r.xExtremumGetters[t]:r.xExtremumGetters}(),l=function(t){var n=i.useContext(h.b),e=n.isInitialized,r=n.data;if(!e)throw new Error(["MUI X: Could not find the plugin context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return t?r.yExtremumGetters[t]:r.yExtremumGetters}(),c=i.useMemo((function(){return De({drawingArea:a,formattedSeries:o,axis:n,extremumGetters:u,axisDirection:"x"})}),[a,o,n,u]),s=i.useMemo((function(){return De({drawingArea:a,formattedSeries:o,axis:e,extremumGetters:l,axisDirection:"y"})}),[a,o,e,l]),f=i.useMemo((function(){return{isInitialized:!0,data:{xAxis:c.axis,yAxis:s.axis,xAxisIds:c.axisIds,yAxisIds:s.axisIds}}}),[c,s]);return(0,p.jsx)(He.Q.Provider,{value:f,children:r})}var qe=e(84356),Ye=e(61935),Be=e(74390),Ve=e(10581),Xe=function(t,n){return function(e){return!!t&&("series"===t.fade?e.seriesId===(null==n?void 0:n.seriesId)&&e.dataIndex!==(null==n?void 0:n.dataIndex):"global"===t.fade&&(e.seriesId!==(null==n?void 0:n.seriesId)||e.dataIndex!==(null==n?void 0:n.dataIndex)))}},$e=function(t,n){return function(e){return!!t&&("series"===t.highlight?e.seriesId===(null==n?void 0:n.seriesId):"item"===t.highlight&&(e.dataIndex===(null==n?void 0:n.dataIndex)&&e.seriesId===(null==n?void 0:n.seriesId)))}};function We(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;
1!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return Ze(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Ze(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ze(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}var Qe=["highlighted","faded"];function Ke(t){var n,e=t.children,o=t.highlightedItem,a=t.onHighlightChange,u=We((0,Be.A)({controlled:o,default:null,name:"HighlightedProvider",state:"highlightedItem"}),2),l=u[0],c=u[1],s=(0,Ue.NY)(),f=i.useMemo((function(){var t=new Map;return Object.keys(s).forEach((function(n){var e,i=s[n];Object.keys(null!==(e=null==i?void 0:i.series)&&void 0!==e?e:{}).forEach((function(n){var e,o,a,u,l,c=null==i?void 0:i.series[n];t.set(n,(e=null==c?void 0:c.highlightScope,a=(o=null!=e?e:{}).highlighted,u=o.faded,l=(0,m.A)(o,Qe),(0,r.A)({highlight:a,fade:u},l)))}))})),t}),[s]),d=l&&l.seriesId&&null!==(n=f.get(l.seriesId))&&void 0!==n?n:void 0,h=i.useMemo((function(){return{isInitialized:!0,data:{highlightScope:d,highlightedItem:l,setHighlighted:function(t){c(t),null==a||a(t)},clearHighlighted:function(){c(null),null==a||a(null)},isHighlighted:$e(d,l),isFaded:Xe(d,l)}}}),[l,d,c,a]);return(0,p.jsx)(Ve.T.Provider,{value:h,children:e})}function Je(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||nr(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tr(t){return function(t){if(Array.isArray(t))return er(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||nr(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nr(t,n){if(t){if("string"==typeof t)return er(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?er(t,n):void 0}}function er(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}var rr=function(t,n){return"x"===n?{x:t,y:null}:{x:null,y:t}},ir=function(t){var n,e=t.axis,r=t.getFilters,i=t.isDefaultAxis,o=null==r?void 0:r({currentAxisId:e.id,isDefaultAxis:i}),a=o?null===(n=e.data)||void 0===n?void 0:n.filter((function(t,n){return o({x:null,y:null},n)})):e.data;return[Math.min.apply(Math,tr(null!=a?a:[])),Math.max.apply(Math,tr(null!=a?a:[]))]},or=function(t){return function(n){var e=n.series,r=n.axis,i=n.getFilters,o=n.isDefaultAxis;return Object.keys(e).filter((function(t){var n,i=null!==(n=e[t].yAxisId)&&void 0!==n?n:e[t].yAxisKey;return i===r.id||o&&void 0===i})).reduce((function(n,a){var u,l,c,s=e[a].stackedData,f=null==i?void 0:i({currentAxisId:r.id,isDefaultAxis:o,seriesXAxisId:null!==(u=e[a].xAxisId)&&void 0!==u?u:e[a].xAxisKey,seriesYAxisId:null!==(l=e[a].yAxisId)&&void 0!==l?l:e[a].yAxisKey}),d=Je(null!==(c=null==s?void 0:s.reduce((function(n,e,r){return!f||f(rr(e[0],t),r)&&f(rr(e[1],t),r)?[Math.min.apply(Math,tr(e).concat([n[0]])),Math.max.apply(Math,tr(e).concat([n[1]]))]:n}
1),[1/0,-1/0]))&&void 0!==c?c:[1/0,-1/0],2),h=d[0],p=d[1];return[Math.min(h,n[0]),Math.max(p,n[1])]}),[1/0,-1/0])}},ar=e(21050),ur=e(66327);function lr(t,n){if((i=t.length)>1)for(var e,r,i,o=1,a=t[n[0]],u=a.length;o<i;++o)for(r=a,a=t[n[o]],e=0;e<u;++e)a[e][1]+=a[e][0]=isNaN(r[e][1])?r[e][0]:r[e][1]}function cr(t){for(var n=t.length,e=new Array(n);--n>=0;)e[n]=n;return e}function sr(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return fr(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?fr(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return a=t.done,t},e:function(t){u=!0,o=t},f:function(){try{a||null==e.return||e.return()}finally{if(u)throw o}}}}function fr(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function dr(t,n){return t[n]}function hr(t){var n=[];return n.key=t,n}function pr(){var t=(0,ur.A)([]),n=cr,e=lr,r=dr;function i(i){var o,a,u,l=Array.from(t.apply(this,arguments),hr),c=l.length,s=-1,f=sr(i);try{for(f.s();!(u=f.n()).done;){var d=u.value;for(o=0,++s;o<c;++o)(l[o][s]=[0,+r(d,l[o].key,s,i)]).data=d}}catch(t){f.e(t)}finally{f.f()}for(o=0,a=(0,ar.A)(n(l));o<c;++o)l[a[o]].index=o;return e(l,a),l}return i.keys=function(n){return arguments.length?(t="function"==typeof n?n:(0,ur.A)(Array.from(n)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:(0,ur.A)(+t),i):r},i.order=function(t){return arguments.length?(n=null==t?cr:"function"==typeof t?t:(0,ur.A)(Array.from(t)),i):n},i.offset=function(t){return arguments.length?(e=null==t?lr:t,i):e},i}function vr(t){var n=t.map(yr);return cr(t).sort((function(t,e){return n[t]-n[e]}))}function yr(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 mr(t){var n=t.map(gr);return cr(t).sort((function(t,e){return n[t]-n[e]}))}function gr(t){for(var n,e=0,r=-1,i=t.length;++r<i;)(n=+t[r][1])&&(e+=n);return e}var br={appearance:vr,ascending:mr,descending:function(t){return mr(t).reverse()},insideOut:function(t){var n,e,r=t.length,i=t.map(gr),o=vr(t),a=0,u=0,l=[],c=[];for(n=0;n<r;++n)e=o[n],a<u?(a+=i[e],l.push(e)):(u+=i[e],c.push(e));return c.reverse().concat(l)},none:cr,reverse:function(t){return cr(t).reverse()}},xr={expand:function(t,n){if((r=t.length)>0){for(var e,r,i,o=0,a=t[0].length;o<a;++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}lr(t,n)}},diverging:function(t,n){if((u=t.length)>0)for(var e,r,i,o,a,u,l=0,c=t[n[0]].length;l<c;++l)for(o=a=0,e=0;e<u;++e)(i=(r=t[n[e]][l])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):(r[0]=0,r[1]=i)},none:lr,silhouette:function(t,n){if((e=t.length)>0){for(var e,r=0,i=t[n[0]],o=i.length;r<o;++r){for(var a=0,u=0;a<e;++a)u+=t[a][r][1]||0;i[r][1]+=i[r][0]=-u/2}lr(t,n)}},wiggle:function(t,n){if((i=t.length)>0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,a=1;a<r;++a){for(var u=0,l=0,c=0;u<i;++u){for(var s=t[n[u]],f=s[a][1]||0,d=(f-(s[a-1][1]||0))/2,h=0;h<u;++h){var p=t[n[h]];d+=(p[a][1]||0)-(p[a-1][1]||0)}l+=f,c+=d*f}e[a-1][1]+=e[a-1][0]=o,l&&(o-=c/l)}e[a-1][1]+=e[a-1][0]=o,lr(t,n)}}},wr=function(t){var n=t.series,e=t.seriesOrder,r=t.defaultStrategy,i=[],o={};return e.forEach((function(t){var e=n[t],a=e.stack,u=e.stackOrder,l=e.stackOffset;if(void 0===a)i.push({ids:[t],stackingOrder:br.none,stackingOffset:xr.none});else if(void 0===o[a]){var c,s;o[a]=i.length,i.push({ids:[t],stackingOrder:br[null!==(c=null!=u?u:null==r?void 0:r.stackOrder)&&void 0!==c?c:"none"],stackingOffset:xr[null!==(s=null!=l?l:null==r?void 0:r.stackOffset)&&void 0!==s?s:"diverging"]})}else i[o[a]].ids.push(t),void 0!==u&&(i[o[a]].stackingOrder=br[u]),void 0!==l&&(i[o[a]].stackingOffset=xr[l])})),i};function Ar(t,n){var e={};return Object.keys(t).forEach((function(i){var o;e[i]=(0,r.A)({},t[i],{valueFormatter:null!==(o=t[i].valueFormatter)&&void 0!==o?o:n})})),e}function Sr(t){return Sr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sr(t)}function Mr(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;
1!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return kr(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?kr(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kr(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function _r(t,n,e){return(n=function(t){var n=function(t,n){if("object"!=Sr(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,n||"default");if("object"!=Sr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==Sr(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var jr={seriesType:"bar",seriesFormatter:function(t,n){var e=t.seriesOrder,i=t.series,o=wr(t),a=null!=n?n:[];e.forEach((function(t){var e=i[t].data;if(void 0!==e)e.forEach((function(n,e){a.length<=e?a.push(_r({},t,n)):a[e][t]=n}));else if(void 0===n)throw new Error(["MUI X: bar series with id='".concat(t,"' has no data."),"Either provide a data property to the series or use the dataset prop."].join("\n"))}));var u={};return o.forEach((function(t){var e=t.ids,o=t.stackingOffset,l=t.stackingOrder,c=pr().keys(e.map((function(t){var n=i[t].dataKey;return void 0===i[t].data&&void 0!==n?n:t}))).value((function(t,n){var e;return null!==(e=t[n])&&void 0!==e?e:0})).order(l).offset(o)(a);e.forEach((function(t,e){var o=i[t].dataKey;u[t]=(0,r.A)({layout:"vertical"},i[t],{data:o?n.map((function(t){var n=t[o];return"number"!=typeof n?0:n})):i[t].data,stackedData:c[e].map((function(t){var n=Mr(t,2);return[n[0],n[1]]}))})}))})),{seriesOrder:e,stackingGroups:o,series:Ar(u,(function(t){return null==t?"":t.toLocaleString()}))}},colorProcessor:e(94865).A,xExtremumGetter:function(t){return Object.keys(t.series).some((function(n){return"horizontal"===t.series[n].layout}))?or("x")(t):ir(t)},yExtremumGetter:function(t){return Object.keys(t.series).some((function(n){return"horizontal"===t.series[n].layout}))?ir(t):or("y")(t)}},Er=function(t,n){return[null===n[0]?t[0]:Math.min(t[0],n[0]),null===n[1]?t[1]:Math.max(t[1],n[1])]};function Ir(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return Pr(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Pr(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pr(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}var Or={seriesType:"scatter",seriesFormatter:function(t,n){var e=t.series,i=t.seriesOrder;return{series:Object.fromEntries(Object.entries(e).map((function(t){var e,i,o,a=Ir(t,2),u=a[0],l=a[1],c=null==l?void 0:l.datasetKeys,s=["x","y","id"].filter((function(t){return"string"!=typeof(null==c?void 0:c[t])}));if(null!=l&&l.datasetKeys&&s.length>0)throw new Error(["MUI X: scatter series with id='".concat(u,"' has incomplete datasetKeys."),"Properties ".concat(s.map((function(t){return'"'.concat(t,'"')})).join(", ")," are missing.")].join("\n"));var f=c?null!==(i=null==n?void 0:n.map((function(t){var n,e;return{x:null!==(n=t[c.x])&&void 0!==n?n:null,y:null!==(e=t[c.y])&&void 0!==e?e:null,z:c.z&&t[c.z],id:t[c.id]}})))&&void 0!==i?i:[]:null!==(e=l.data)&&void 0!==e?e:[];return[u,(0,r.A)({},l,{data:f,valueFormatter:null!==(o=l.valueFormatter)&&void 0!==o?o:function(t){return"(".concat(t.x,", ").concat(t.y,")")}})]}))),seriesOrder:i}},colorProcessor:function(t,n,e,r){var i=null==r?void 0:r.colorScale,o=null==e?void 0:e.colorScale,a=null==n?void 0:n.colorScale;return i?function(n){var e;if(void 0!==(null==r||null===(e=r.data)||void 0===e?void 0:e[n])){var o,a=i(null==r||null===(o=r.data)||void 0===o?void 0:o[n]);if(null!==a)return a}var u=t.data[n],l=null===u?t.color:i(u.z);return null===l?t.color:l}:o?function(n){var e=t.data[n],r=null===e?t.color:o(e.y);return null===r?t.color:r}:a?function(n){var e=t.data[n],r=null===e?t.color:a(e.x);return null===r?t.color:r}:function(){return t.color}},xExtremumGetter:function(t){var n=t.series,e=t.axis,r=t.isDefaultAxis,i=t.getFilters;return Object.keys(n).filter((function(t){var i,o=null!==(i=n[t].xAxisId)&&void 0!==i?i:n[t].xAxisKey;return o===e.id||void 0===o&&r})).reduce((function(t,o){var a,u,l,c=null==i?void 0:i({currentAxisId:e.id,isDefaultAxis:r,seriesXAxisId:null!==(a=n[o].xAxisId)&&void 0!==a?a:n[o].xAxisKey,seriesYAxisId:null!==(u=n[o].yAxisId)&&void 0!==u?u:n[o].yAxisKey}),s=null===(l=n[o].data)||void 0===l?void 0:l.reduce((function(t,n,e){return c&&!c(n,e)?t:Er(t,[n.x,n.x])}),[1/0,-1/0]);return Er(t,null!=s?s:[1/0,-1/0])}),[1/0,-1/0])},yExtremumGetter:function(t){var n=t.series,e=t.axis,r=t.isDefaultAxis,i=t.getFilters;return Object.keys(n).filter((function(t){var i,o=null!==(i=n[t].yAxisId)&&void 0!==i?i:n[t].yAxisKey;return o===e.id||void 0===o&&r})).reduce((function(t,o){var a,u,l,c=null==i?void 0:i({currentAxisId:e.id,isDefaultAxis:r,seriesXAxisId:null!==(a=n[o].xAxisId)&&void 0!==a?a:n[o].xAxisKey,seriesYAxisId:null!==(u=n[o].yAxisId)&&void 0!==u?u:n[o].yAxisKey}),s=null===(l=n[o].data)||void 0===l?void 0:l.reduce((function(t,n,e){return c&&!c(n,e)?t:Er(t,[n.y,n.y])}),[1/0,-1/0]);return Er(t,null!=s?s:[1/0,-1/0])}),[1/0,-1/0])}};function Cr(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;
1!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||Nr(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tr(t){return function(t){if(Array.isArray(t))return Rr(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Nr(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nr(t,n){if(t){if("string"==typeof t)return Rr(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Rr(t,n):void 0}}function Rr(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function Lr(t){return Lr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lr(t)}function Fr(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return zr(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?zr(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zr(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function Dr(t,n,e){return(n=function(t){var n=function(t,n){if("object"!=Lr(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,n||"default");if("object"!=Lr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==Lr(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var Ur=function(t,n){var e=t.seriesOrder,i=t.series,o=wr((0,r.A)({},t,{defaultStrategy:{stackOffset:"none"}})),a=null!=n?n:[];e.forEach((function(t){var n=i[t].data;void 0!==n&&n.forEach((function(n,e){a.length<=e?a.push(Dr({},t,n)):a[e][t]=n}))}));var u={};return o.forEach((function(t){var e=t.ids,o=t.stackingOrder,l=t.stackingOffset,c=pr().keys(e.map((function(t){var n=i[t].dataKey;return void 0===i[t].data&&void 0!==n?n:t}))).value((function(t,n){var e;return null!==(e=t[n])&&void 0!==e?e:0})).order(o).offset(l)(a);e.forEach((function(t,e){var o=i[t].dataKey;u[t]=(0,r.A)({},i[t],{data:o?n.map((function(t){var n=t[o];return"number"!=typeof n?null:n})):i[t].data,stackedData:c[e].map((function(t){var n=Fr(t,2);return[n[0],n[1]]}))})}))})),{seriesOrder:e,stackingGroups:o,series:Ar(u,(function(t){return null==t?"":t.toLocaleString()}))}},Hr={seriesType:"line",colorProcessor:e(16804).A,seriesFormatter:Ur,xExtremumGetter:function(t){var n,e,r=t.axis;return[Math.min.apply(Math,Tr(null!==(n=r.data)&&void 0!==n?n:[])),Math.max.apply(Math,Tr(null!==(e=r.data)&&void 0!==e?e:[]))]},yExtremumGetter:function(t){var n=t.series,e=t.axis,r=t.isDefaultAxis,i=t.getFilters;return Object.keys(n).filter((function(t){var i,o=null!==(i=n[t].yAxisId)&&void 0!==i?i:n[t].yAxisKey;return o===e.id||r&&void 0===o})).reduce((function(t,o){var a,u,l=n[o],c=l.area,s=l.stackedData,f=void 0!==c,d=null==i?void 0:i({currentAxisId:e.id,isDefaultAxis:r,seriesXAxisId:null!==(a=n[o].xAxisId)&&void 0!==a?a:n[o].xAxisKey,seriesYAxisId:null!==(u=n[o].yAxisId)&&void 0!==u?u:n[o].yAxisKey}),h=function(t,n,e){return n.reduce((function(n,r,i){var o=Cr(t(r),2),a=o[0],u=o[1];return!e||e({y:a,x:null},i)&&e({y:u,x:null},i)?[Math.min(a,u,n[0]),Math.max(a,u,n[1])]:n}),[1/0,-1/0])}(f&&"log"!==e.scaleType&&"string"!=typeof n[o].baseline?function(t){return t}:function(t){return[t[1],t[1]]},s,d),p=Cr(h,2),v=p[0],y=p[1];return[Math.min(v,t[0]),Math.max(y,t[1])]}),[1/0,-1/0])}};function Gr(t,n){return n<t?-1:n>t?1:n>=t?0:NaN}function qr(t){return t}var Yr=e(72197);var Br=e(37877),Vr=function(t){var n=t.seriesOrder,e=t.series,i={};
1return n.forEach((function(t){var n,o,a,u,l=function(){var t=qr,n=Gr,e=null,r=(0,ur.A)(0),i=(0,ur.A)(Yr.FA),o=(0,ur.A)(0);function a(a){var u,l,c,s,f,d=(a=(0,ar.A)(a)).length,h=0,p=new Array(d),v=new Array(d),y=+r.apply(this,arguments),m=Math.min(Yr.FA,Math.max(-Yr.FA,i.apply(this,arguments)-y)),g=Math.min(Math.abs(m)/d,o.apply(this,arguments)),b=g*(m<0?-1:1);for(u=0;u<d;++u)(f=v[p[u]=u]=+t(a[u],u,a))>0&&(h+=f);for(null!=n?p.sort((function(t,e){return n(v[t],v[e])})):null!=e&&p.sort((function(t,n){return e(a[t],a[n])})),u=0,c=h?(m-d*b)/h:0;u<d;++u,y=s)l=p[u],s=y+((f=v[l])>0?f*c:0)+b,v[l]={data:a[l],index:u,value:f,startAngle:y,endAngle:s,padAngle:g};return v}return a.value=function(n){return arguments.length?(t="function"==typeof n?n:(0,ur.A)(+n),a):t},a.sortValues=function(t){return arguments.length?(n=t,e=null,a):n},a.sort=function(t){return arguments.length?(e=t,n=null,a):e},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:(0,ur.A)(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:(0,ur.A)(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:(0,ur.A)(+t),a):o},a}().startAngle(2*Math.PI*(null!==(n=e[t].startAngle)&&void 0!==n?n:0)/360).endAngle(2*Math.PI*(null!==(o=e[t].endAngle)&&void 0!==o?o:360)/360).padAngle(2*Math.PI*(null!==(a=e[t].paddingAngle)&&void 0!==a?a:0)/360).sortValues(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"none";if("function"==typeof t)return t;switch(t){case"none":default:return null;case"desc":return function(t,n){return n-t};case"asc":return function(t,n){return t-n}}}(null!==(u=e[t].sortingValues)&&void 0!==u?u:"none"))(e[t].data.map((function(t){return t.value})));i[t]=(0,r.A)({valueFormatter:function(t){return t.value.toLocaleString()}},e[t],{data:e[t].data.map((function(n,e){var i;return(0,r.A)({},n,{id:null!==(i=n.id)&&void 0!==i?i:"auto-generated-pie-id-".concat(t,"-").concat(e)},l[e])})).map((function(n,i){var o,a,u;return(0,r.A)({},n,{formattedValue:null!==(o=null===(a=(u=e[t]).valueFormatter)||void 0===a?void 0:a.call(u,(0,r.A)({},n,{label:(0,Br.p)(n.label,"arc")}),{dataIndex:i}))&&void 0!==o?o:n.value.toLocaleString()})}))})})),{seriesOrder:n,series:i}},Xr=[jr,Or,Hr,{seriesType:"pie",colorProcessor:function(t){return function(n){return t.data[n].color}},seriesFormatter:Vr}];function $r(t){for(var n=null!=t?t:Xr,e={},r={},i={},o={},a={},u={},l=0;l<n.length;l+=1){var c=n[l],s=c.seriesType;e[s]=c.seriesFormatter,r[s]=c.colorProcessor,c.xExtremumGetter&&(i[s]=c.xExtremumGetter),c.yExtremumGetter&&(o[s]=c.yExtremumGetter),c.rotationExtremumGetter&&(a[s]=c.rotationExtremumGetter),c.radiusExtremumGetter&&(u[s]=c.radiusExtremumGetter)}return{seriesFormatters:e,colorProcessors:r,xExtremumGetters:i,yExtremumGetters:o,rotationExtremumGetters:a,radiusExtremumGetters:u}}function Wr(t){var n=t.children,e=t.plugins,r=i.useMemo((function(){return{isInitialized:!0,data:$r(e)}}),[e]);return(0,p.jsx)(h.b.Provider,{value:r,children:n})}var Zr=e(35568),Qr=e(42104);function Kr(t){return function(t){if(Array.isArray(t))return Jr(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return Jr(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Jr(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jr(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}var ti=function(t,n,e){var i,o="x"===e?Qr.nW:Qr.sk;return[].concat(Kr(null!==(i=null==t?void 0:t.map((function(t,n){return(0,r.A)({id:"defaultized-".concat(e,"-axis-").concat(n)},t)})))&&void 0!==i?i:[]),Kr(void 0===t||-1===t.findIndex((function(t){return t.id===o}))?[{id:o,scaleType:"linear"}]:[])).map((function(t){var i=t.dataKey;if(void 0===i||void 0!==t.data)return t;if(void 0===n)throw new Error("MUI X: ".concat(e,"-axis uses `dataKey` but no `dataset` is provided."));return(0,r.A)({},t,{data:n.map((function(t){return t[i]}))})}))};function ni(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;
1!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return ei(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?ei(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ei(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}var ri=["width","height","series","margin","xAxis","yAxis","zAxis","colors","dataset","sx","title","desc","disableAxisListener","highlightedItem","onHighlightChange","plugins","children","skipAnimation"],ii=function(t,n){var e=t.width,o=t.height,a=t.series,u=t.margin,l=t.xAxis,c=t.yAxis,s=t.zAxis,f=t.colors,d=t.dataset,h=t.sx,p=t.title,v=t.desc,y=t.disableAxisListener,g=t.highlightedItem,b=t.onHighlightChange,x=t.plugins,w=t.children,A=t.skipAnimation,S=(0,m.A)(t,ri),M=i.useRef(null),k=(0,Zr.A)(n,M),_=function(t,n,e){return[i.useMemo((function(){return ti(t,e,"x")}),[t,e]),i.useMemo((function(){return ti(n,e,"y")}),[n,e])]}(l,c,d),j=ni(_,2),E=j[0],I=j[1],P={skipAnimation:A},O={plugins:x};return{children:w,drawingProviderProps:{width:e,height:o,margin:u,svgRef:M},seriesProviderProps:{series:a,colors:f,dataset:d}
1,cartesianProviderProps:{xAxis:E,yAxis:I,dataset:d},zAxisContextProps:{zAxis:s,dataset:d},highlightedProviderProps:{highlightedItem:g,onHighlightChange:b},chartsSurfaceProps:(0,r.A)({},S,{width:e,height:o,ref:k,sx:h,title:p,desc:v,disableAxisListener:y}),pluginProviderProps:O,animationProviderProps:P,xAxis:E,yAxis:I}},oi=e(51581),ai=e(12441);function ui(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return li(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?li(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function li(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function ci(t){var n,e=t.children,r=t.skipAnimation,o="undefined"==typeof window||!(null!==(n=window)&&void 0!==n&&n.matchMedia),a=ui(i.useState(o||void 0),2),u=a[0],l=a[1];(0,oi.Es)((function(){var t;if(!o){var n=function(t){var n=t.matches||void 0;l(n),oi.RV.assign({skipAnimation:n})},e=window.matchMedia("(prefers-reduced-motion)");return n(e),null==e||null===(t=e.addEventListener)||void 0===t||t.call(e,"change",n),function(){var t;null==e||null===(t=e.removeEventListener)||void 0===t||t.call(e,"change",n)}}}),[]);var c=i.useMemo((function(){return{isInitialized:!0,data:{skipAnimation:r||u}}}),[u,r]);return(0,p.jsx)(ai.e.Provider,{value:c,children:e})}var si=i.forwardRef((function(t,n){var e=ii(t,n),i=e.children,a=e.drawingProviderProps,u=e.seriesProviderProps,l=e.cartesianProviderProps,c=e.zAxisContextProps,s=e.highlightedProviderProps,f=e.chartsSurfaceProps,d=e.pluginProviderProps,h=e.animationProviderProps;return(0,p.jsx)(o.QN,(0,r.A)({},a,{children:(0,p.jsx)(Wr,(0,r.A)({},d,{children:(0,p.jsx)(v,(0,r.A)({},u,{children:(0,p.jsx)(Ge,(0,r.A)({},l,{children:(0,p.jsx)(Ye.C,(0,r.A)({},c,{children:(0,p.jsx)(y.v,{children:(0,p.jsx)(Ke,(0,r.A)({},s,{children:(0,p.jsxs)(I,(0,r.A)({},f,{children:[(0,p.jsx)(qe.Y,{}),(0,p.jsx)(ci,(0,r.A)({},h,{children:i}))]}))}))})}))}))}))}))}))})),fi=(0,g.Ay)("div",{name:"MuiResponsiveChart",slot:"Container"})((function(t){var n,e,r=t.ownerState;return{width:null!==(n=r.width)&&void 0!==n?n:"100%",height:null!==(e=r.height)&&void 0!==e?e:"100%",display:"flex",position:"relative",flexGrow:1,flexDirection:"column",alignItems:"center",justifyContent:"center",overflow:"hidden","&>svg":{width:"100%",height:"100%"}}})),di=e(38138),hi=e(53702);function pi(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return vi(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?vi(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vi(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}var yi=["width","height","resolveSizeBeforeRender","margin","children","series","colors","dataset","desc","disableAxisListener","highlightedItem","onHighlightChange","plugins","sx","title","viewBox","xAxis","yAxis","zAxis","skipAnimation"],mi=function(t,n){var e=t.width,o=t.height,a=t.resolveSizeBeforeRender,u=t.margin,l=t.children,c=t.series,s=t.colors,f=t.dataset,d=t.desc,h=t.disableAxisListener,p=t.highlightedItem,v=t.onHighlightChange,y=t.plugins,g=t.sx,b=t.title,x=t.viewBox,w=t.xAxis,A=t.yAxis,S=t.zAxis,M=t.skipAnimation,k=(0,m.A)(t,yi),_=function(t,n,e){var r=i.useRef({displayError:!1,initialCompute:!0,
1computeRun:0}),o=i.useRef(null),a=pi(i.useState(0),2),u=a[0],l=a[1],c=pi(i.useState(0),2),s=c[0],f=c[1],d=i.useCallback((function(){var t=null==o?void 0:o.current;if(!t)return{};var n=(0,hi.A)(t).getComputedStyle(t),e=Math.floor(parseFloat(n.height))||0,r=Math.floor(parseFloat(n.width))||0;return l(r),f(e),{width:r,height:e}}),[]);return i.useEffect((function(){r.current.displayError=!0}),[]),(0,di.A)((function(){if(e&&r.current.initialCompute&&!(r.current.computeRun>20)){var t=d();t.width!==u||t.height!==s?r.current.computeRun+=1:r.current.initialCompute&&(r.current.initialCompute=!1)}}),[u,s,d,e]),(0,di.A)((function(){if(void 0!==t&&void 0!==n)return function(){};d();var e,r=o.current;if("undefined"==typeof ResizeObserver)return function(){};var i=new ResizeObserver((function(){e=requestAnimationFrame((function(){d()}))}));return r&&i.observe(r),function(){e&&cancelAnimationFrame(e),r&&i.unobserve(r)}}),[d,n,t]),{containerRef:o,width:null!=t?t:u,height:null!=n?n:s}}(e,o,a),j=_.containerRef,E=_.width,I=_.height;return{hasIntrinsicSize:E&&I,chartContainerProps:{margin:u,children:l,series:c,colors:s,dataset:f,desc:d,disableAxisListener:h,highlightedItem:p,onHighlightChange:v,plugins:y,sx:g,title:b,viewBox:x,xAxis:w,yAxis:A,zAxis:S,skipAnimation:M,width:E,height:I,ref:n},resizableChartContainerProps:(0,r.A)({},k,{ownerState:{width:e,height:o},ref:j})}},gi=i.forwardRef((function(t,n){var e=mi(t,n),i=e.hasIntrinsicSize,o=e.chartContainerProps,a=e.resizableChartContainerProps;return(0,p.jsx)(fi,(0,r.A)({},a,{children:i?(0,p.jsx)(si,(0,r.A)({},o)):null}))}))},42104:function(t,n,e){"use strict";e.d(n,{k6:function(){return o},nW:function(){return r},sk:function(){return i}});var r="DEFAULT_X_AXIS_KEY",i="DEFAULT_Y_AXIS_KEY",o={top:50,bottom:50,left:50,right:50}},12441:function(t,n,e){"use strict";e.d(n,{e:function(){return r}});var r=e(2057).createContext({isInitialized:!1,data:{skipAnimation:void 0}})},23694:function(t,n,e){"use strict";e.d(n,{x:function(){return o}});var r=e(2057),i=e(12441);function o(t){var n=r.useContext(i.e),e=n.isInitialized,o=n.data;if(!e)throw new Error(["MUI X: Could not find the animation ref context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return t||o.skipAnimation}},71905:function(t,n,e){"use strict";e.d(n,{Q:function(){return r}});var r=e(2057).createContext({isInitialized:!1,data:{xAxis:{},yAxis:{},xAxisIds:[],yAxisIds:[]}})},30140:function(t,n,e){"use strict";e.d(n,{T:function(){return o}});var r=e(2057),i=e(71905),o=function(){return r.useContext(i.Q).data}},91970:function(t,n,e){"use strict";e.d(n,{wf:function(){return c},QN:function(){return f},w7:function(){return s}});var r=e(52239),i=e(2057),o=e(29062),a=e(42104),u=function(t,n,e){var o=(0,r.A)({},a.k6,e);return i.useMemo((function(){return{left:o.left,top:o.top,right:o.right,bottom:o.bottom,width:Math.max(0,t-o.left-o.right),height:Math.max(0,n-o.top-o.bottom)}}),[t,n,o.top,o.bottom,o.left,o.right])},l=e(78685),c=i.createContext({top:0,left:0,bottom:0,right:0,height:300,width:400,chartId:"",isPointInside:function(){return!1}});var s=i.createContext({isInitialized:!1,data:{current:null}});function f(t){var n=t.width,e=t.height,a=t.margin,f=t.svgRef,d=t.children,h=u(n,e,a),p=(0,o.A)(),v=i.useCallback((function(t,n){var e=t.x,r=t.y;if(null!=n&&n.targetElement&&null!=n&&n.targetElement.closest("[data-drawing-container]"))return!0;var i=e>=h.left-1&&e<=h.left+h.width,o=r>=h.top-1&&r<=h.top+h.height;return"x"===(null==n?void 0:n.direction)?i:("y"===(null==n?void 0:n.direction)||i)&&o}),[h]),y=i.useMemo((function(){return(0,r.A)({chartId:null!=p?p:""},h,{isPointInside:v})}),[p,h,v]),m=i.useMemo((function(){return{isInitialized:!0,data:f}}),[f]);return(0,l.jsx)(s.Provider,{value:m,children:(0,l.jsx)(c.Provider,{value:y,children:d})})}},10581:function(t,n,e){"use strict";e.d(n,{T:function(){return r}});var r=e(2057).createContext({isInitialized:!1,data:{highlightedItem:null,setHighlighted:function(){},clearHighlighted:function(){},isHighlighted:function(){return!1},isFaded:function(){return!1}}})},9877:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(2057),i=e(10581);function o(){var t=r.useContext(i.T),n=t.isInitialized,e=t.data;if(!n)throw new Error(["MUI X: Could not find the highlighted ref context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return e}},98692:function(t,n,e){"use strict";e.d(n,{q:function(){return i}});var r=e(9877);function i(t){var n=(0,r.Z)();if(!t)return{isHighlighted:!1,isFaded:!1};var e=n.isHighlighted(t);return{isHighlighted:e,isFaded:!e&&n.isFaded(t)}}},26775:function(t,n,e){"use strict";e.d(n,{O:function(){return l},v:function(){return s}});var r=e(52239),i=e(2057),o=e(78685);function a(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;
1!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return u(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?u(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}var l=i.createContext({item:null,axis:{x:null,y:null},useVoronoiInteraction:!1,dispatch:function(){return null}});var c=function(t,n){switch(n.type){case"enterItem":return(0,r.A)({},t,{item:n.data});case"exitChart":return null===t.item&&null===t.axis.x&&null===t.axis.y?t:(0,r.A)({},t,{axis:{x:null,y:null},item:null});case"updateVoronoiUsage":return(0,r.A)({},t,{useVoronoiInteraction:n.useVoronoiInteraction});case"leaveItem":return null===t.item||Object.keys(n.data).some((function(e){return n.data[e]!==t.item[e]}))?t:(0,r.A)({},t,{item:null});case"updateAxis":return n.data.x===t.axis.x&&n.data.y===t.axis.y?t:(0,r.A)({},t,{axis:n.data});default:return t}};function s(t){var n=t.children,e=a(i.useReducer(c,{item:null,axis:{x:null,y:null},useVoronoiInteraction:!1}),2),u=e[0],s=e[1],f=i.useMemo((function(){return(0,r.A)({},u,{dispatch:s})}),[u]);return(0,o.jsx)(l.Provider,{value:f,children:n})}},74111:function(t,n,e){"use strict";e.d(n,{b:function(){return r}});var r=e(2057).createContext({isInitialized:!1,data:{colorProcessors:{},seriesFormatters:{},xExtremumGetters:{},yExtremumGetters:{},rotationExtremumGetters:{},radiusExtremumGetters:{}}})},74835:function(t,n,e){"use strict";e.d(n,{$:function(){return r}});var r=e(2057).createContext({isInitialized:!1,data:{}})},61935:function(t,n,e){"use strict";e.d(n,{C:function(){return l},L:function(){return u}});var r=e(52239),i=e(2057),o=e(96576),a=e(78685),u=i.createContext({zAxis:{},zAxisIds:[]});function l(t){var n=t.zAxis,e=t.dataset,l=t.children,c=i.useMemo((function(){return null==n?void 0:n.map((function(t){var n=t.dataKey;if(void 0===n||void 0!==t.data)return t;if(void 0===e)throw new Error("MUI X: z-axis uses `dataKey` but no `dataset` is provided.");return(0,r.A)({},t,{data:e.map((function(t){return t[n]}))})}))}),[n,e]),s=i.useMemo((function(){var t,n=null!==(t=null==c?void 0:c.map((function(t,n){return(0,r.A)({id:"defaultized-z-axis-".concat(n)},t)})))&&void 0!==t?t:[],e={};return n.forEach((function(t){e[t.id]=(0,r.A)({},t,{colorScale:t.colorMap&&("ordinal"===t.colorMap.type&&t.data?(0,o.$U)((0,r.A)({values:t.data},t.colorMap)):(0,o.yw)("continuous"===t.colorMap.type?(0,r.A)({min:t.min,max:t.max},t.colorMap):t.colorMap))})})),{zAxis:e,zAxisIds:n.map((function(t){return t.id}))}}),[c]);return(0,a.jsx)(u.Provider,{value:s,children:l})}},49417:function(t,n,e){"use strict";e.d(n,{R:function(){return o}});var r=e(2057),i=e(91970);function o(){var t=r.useContext(i.wf).chartId;return r.useMemo((function(){return t}),[t])}},19515:function(t,n,e){"use strict";e.d(n,{N:function(){return o}});var r=e(2057),i=e(91970);function o(){var t=r.useContext(i.wf),n=t.left,e=t.top,o=t.width,a=t.height,u=t.bottom,l=t.right,c=t.isPointInside;return r.useMemo((function(){return{left:n,top:e,width:o,height:a,bottom:u,right:l,isPointInside:c}}),[a,n,e,o,u,l,c])}},12629:function(t,n,e){"use strict";e.d(n,{D:function(){return a}});var r=e(2057),i=e(26775),o=e(9877),a=function(t){var n=r.useContext(i.O).dispatch,e=(0,o.Z)(),a=e.setHighlighted,u=e.clearHighlighted;if(t)return function(){return{}};return function(t){return{onPointerEnter:function(){n({type:"enterItem",data:t}),a({seriesId:t.seriesId,dataIndex:t.dataIndex})},onPointerLeave:function(e){e.currentTarget.hasPointerCapture(e.pointerId)&&e.currentTarget.releasePointerCapture(e.pointerId),n({type:"leaveItem",data:t}),u()},onPointerDown:function(t){t.currentTarget.hasPointerCapture(t.pointerId)&&t.currentTarget.releasePointerCapture(t.pointerId)}}}}},19458:function(t,n,e){"use strict";e.d(n,{b4:function(){return i}});var r=e(8548);function i(t){return(0,r.y)(t)?function(n){var e;return(null!==(e=t(n))&&void 0!==e?e:0)+t.bandwidth()/2}:function(n){return t(n)}}},41071:function(t,n,e){"use strict";e.d(n,{Jx:function(){return u},NY:function(){return o},P6:function(){return a},ey:function(){return l}});var r=e(2057),i=e(74835);function o(){var t=r.useContext(i.$),n=t.isInitialized,e=t.data;if(!n)throw new Error(["MUI X: Could not find the series ref context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return e}function a(){var t=o();return r.useMemo((function(){return t.pie}),[t.pie])}function u(){var t=o();return r.useMemo((function(){return t.line}),[t.line])}function l(){var t=o();return r.useMemo((function(){return t.bar}),[t.bar])}},49:function(t,n,e){"use strict";e.d(n,{n:function(){return o}});var r=e(2057),i=e(91970);function o(){var t=r.useContext(i.w7),n=t.isInitialized,e=t.data;if(!n)throw new Error(["MUI X: Could not find the svg ref context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return e}},19734:function(t,n,e){"use strict";e.d(n,{d:function(){return c},w:function(){return f}});var r=e(2057),i=e(8548),o=e(99803);function a(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return u(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?u(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function c(t){var n=t.tickMaxStep,e=t.tickMinStep,r=t.tickNumber,i=t.range,o=t.domain,a=void 0===e?999:Math.floor(Math.abs(o[1]-o[0])/e),u=void 0===n?2:Math.ceil(Math.abs(o[1]-o[0])/n),l=null!=r?r:Math.floor(Math.abs(i[1]-i[0])/50);return Math.min(a,Math.max(u,l))}var s={start:0,extremities:0,end:1,middle:.5};function f(t){var n=t.scale,e=t.tickNumber,u=t.valueFormatter,c=t.tickInterval,f=t.tickPlacement,d=void 0===f?"extremities":f,h=t.tickLabelPlacement,p=void 0===h?"middle":h;return r.useMemo((function(){if((0,i.y)(n)){var t=n.domain();if(n.bandwidth()>0){var r="function"==typeof c&&t.filter(c)||"object"===l(c)&&c||t;return[].concat(a(r.map((function(t){var e;return{value:t,formattedValue:null!==(e=null==u?void 0:u(t,{location:"tick"}))&&void 0!==e?e:"".concat(t),offset:n(t)-(n.step()-n.bandwidth())/2+s[d]*n.step(),labelOffset:"tick"===p?0:n.step()*(s[p]-s[d]
1)}}))),a("extremities"===d?[{formattedValue:void 0,offset:n.range()[1],labelOffset:0}]:[]))}return("function"==typeof c&&t.filter(c)||"object"===l(c)&&c||t).map((function(t){var e;return{value:t,formattedValue:null!==(e=null==u?void 0:u(t,{location:"tick"}))&&void 0!==e?e:"".concat(t),offset:n(t),labelOffset:0}}))}return n.domain().some(o.D)?[]:("object"===l(c)?c:n.ticks(e)).map((function(t){var r;return{value:t,formattedValue:null!==(r=null==u?void 0:u(t,{location:"tick"}))&&void 0!==r?r:n.tickFormat(e)(t),offset:n(t),labelOffset:0}}))}),[n,c,e,u,d,p])}},96576:function(t,n,e){"use strict";e.d(n,{yw:function(){return g},$U:function(){return m}});var r=e(31367),i=e(32524);function o(){var t,n=[.5],e=[0,1],a=1;function u(i){return null!=i&&i<=i?e[(0,r.Ay)(n,i,0,a)]:t}return u.domain=function(t){return arguments.length?(n=Array.from(t),a=Math.min(n.length,e.length-1),u):n.slice()},u.range=function(t){return arguments.length?(e=Array.from(t),a=Math.min(n.length,e.length-1),u):e.slice()},u.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},u.unknown=function(n){return arguments.length?(t=n,u):t},u.copy=function(){return o().domain(n).range(e).unknown(t)},i.C.apply(u,arguments)}var a=e(40085),u=e(68273),l=e(48028),c=e(73440);function s(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return f(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?f(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function d(){var t,n,e,r,i,o=0,c=1,f=l.D_,d=!1;function h(n){return null==n||isNaN(n=+n)?i:f(0===e?.5:(n=(r(n)-t)*e,d?Math.max(0,Math.min(1,n)):n))}function p(t){return function(n){var e,r,i;return arguments.length?(r=(e=s(n,2))[0],i=e[1],f=t(r,i),h):[f(0),f(1)]}}return h.domain=function(i){var a;return arguments.length?(a=s(i,2),o=a[0],c=a[1],t=r(o=+o),n=r(c=+c),e=t===n?0:1/(n-t),h):[o,c]},h.clamp=function(t){return arguments.length?(d=!!t,h):d},h.interpolator=function(t){return arguments.length?(f=t,h):f},h.range=p(a.A),h.rangeRound=p(u.A),h.unknown=function(t){return arguments.length?(i=t,h):i},function(i){return r=i,t=i(o),n=i(c),e=t===n?0:1/(n-t),h}}function h(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function p(){var t=(0,c.C)(d()(l.D_));return t.copy=function(){return h(t,p())},i.K.apply(t,arguments)}var v=e(33186);function y(t){var n,e;return"piecewise"===t.type?o(t.thresholds,t.colors):p([null!==(n=t.min)&&void 0!==n?n:0,null!==(e=t.max)&&void 0!==e?e:100],t.color)}function m(t){var n,e;return t.values?(0,v.A)(t.values,t.colors).unknown(null!==(e=t.unknownColor)&&void 0!==e?e:null):(0,v.A)(t.colors.map((function(t,n){return n})),t.colors).unknown(null!==(n=t.unknownColor)&&void 0!==n?n:null)}function g(t){return"ordinal"===t.type?m(t):y(t)}},84356:function(t,n,e){"use strict";e.d(n,{Y:function(){return x},Q:function(){return b}});var r=e(2057),i=e(30140),o=e(91970),a=e(19515),u=e(78685);function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function c(t,n,e){return(n=function(t){var n=function(t,n){if("object"!=l(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,n||"default");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}
1(t,"string");return"symbol"==l(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function s(t){var n=t.isReversed,e=t.gradientId,i=t.size,o=t.direction,a=t.scale,l=t.colorMap;return i<=0?null:(0,u.jsx)("linearGradient",c(c(c({id:e,x1:"0",x2:"0",y1:"0",y2:"0"},"".concat(o).concat(n?1:2),"".concat(i,"px")),"gradientUnits","userSpaceOnUse"),"children",l.thresholds.map((function(t,e){var o=a(t);if(void 0===o)return null;var c=n?1-o/i:o/i;return(0,u.jsxs)(r.Fragment,{children:[(0,u.jsx)("stop",{offset:c,stopColor:l.colors[e],stopOpacity:1}),(0,u.jsx)("stop",{offset:c,stopColor:l.colors[e+1],stopOpacity:1})]},t.toString()+e)}))))}var f=e(12536),d=e(73085);function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function p(t,n,e){return(n=function(t){var n=function(t,n){if("object"!=h(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,n||"default");if("object"!=h(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==h(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function v(t){return function(t){if(Array.isArray(t))return y(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return y(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?y(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}var m=10;function g(t){var n,e,r=t.gradientUnits,i=t.isReversed,o=t.gradientId,a=t.size,l=t.direction,c=t.scale,s=t.colorScale,h=t.colorMap,y=[null!==(n=h.min)&&void 0!==n?n:0,null!==(e=h.max)&&void 0!==e?e:100],g=y.map(c).filter((function(t){return void 0!==t}));if(2!==g.length)return null;var b="number"==typeof y[0]?(0,f.A)(y[0],y[1]):(0,d.A)(y[0],y[1]),x=Math.round((Math.max.apply(Math,v(g))-Math.min.apply(Math,v(g)))/m),w="".concat(y[0],"-").concat(y[1],"-");return(0,u.jsx)("linearGradient",p(p(p({id:o,x1:"0",x2:"0",y1:"0",y2:"0"},"".concat(l).concat(i?1:2),"objectBoundingBox"===r?1:"".concat(a,"px")),"gradientUnits",null!=r?r:"userSpaceOnUse"),"children",Array.from({length:x+1},(function(t,n){var e=b(n/x);if(void 0===e)return null;var r=c(e);if(void 0===r)return null;var o=i?1-r/a:r/a,l=s(e);return null===l?null:(0,u.jsx)("stop",{offset:o,stopColor:l,stopOpacity:1},w+n)}))))}function b(){var t=r.useContext(o.wf).chartId;return r.useCallback((function(n,e){return"".concat(t,"-gradient-").concat(e,"-").concat(n)}),[t])}function x(){var t=(0,a.N)(),n=t.top,e=t.height,r=t.bottom,o=t.left,l=t.width,c=t.right,f=n+e+r,d=o+l+c,h=b(),p=(0,i.T)(),v=p.xAxisIds,y=p.xAxis,m=p.yAxisIds,x=p.yAxis;return(0,u.jsxs)("defs",{children:[m.filter((function(t){return void 0!==x[t].colorMap})).map((function(t){var n=h(t,"y"),e=x[t],r=e.colorMap,i=e.scale,o=e.colorScale,a=e.reverse;return"piecewise"===(null==r?void 0:r.type)?(0,u.jsx)(s,{isReversed:!a,scale:i,colorMap:r,size:f,gradientId:n,direction:"y"},n):"continuous"===(null==r?void 0:r.type)?(0,u.jsx)(g,{isReversed:!a,scale:i,colorScale:o,colorMap:r,size:f,gradientId:n,direction:"y"},n):null})),v.filter((function(t){return void 0!==y[t].colorMap})).map((function(t){var n=h(t,"x"),e=y[t],r=e.colorMap,i=e.scale,o=e.reverse,a=e.colorScale;return"piecewise"===(null==r?void 0:r.type)?(0,u.jsx)(s,{isReversed:o,scale:i,colorMap:r,size:d,gradientId:n,direction:"x"},n):"continuous"===(null==r?void 0:r.type)?(0,u.jsx)(g,{isReversed:o,scale:i,colorScale:a,colorMap:r,size:d,gradientId:n,direction:"x"},n):null}))]})}},37877:function(t,n,e){"use strict";function r(t,n){return"function"==typeof t?t(n):t}e.d(n,{p:function(){return r}})},78127:function(t,n,e){"use strict";e.d(n,{q:function(){return p}});var r=e(52239);function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return o(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?o(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}var a={widthCache:{}
1,cacheCount:0},u={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},l=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"],c="mui_measurement_span";function s(t,n){return l.indexOf(t)>=0&&n===+n?"".concat(n,"px"):n}function f(t){return t.split("").reduce((function(t,n){return n===n.toUpperCase()?[].concat(i(t),["-",n.toLowerCase()]):[].concat(i(t),[n])}),[]).join("")}var d,h=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||"undefined"==typeof window)return{width:0,height:0};var e="".concat(t),i=function(t){return Object.keys(t).sort().reduce((function(n,e){return"".concat(n).concat(f(e),":").concat(s(e,t[e]),";")}),"")}(n),o="".concat(e,"-").concat(i);if(a.widthCache[o])return a.widthCache[o];try{var l=document.getElementById(c);null===l&&((l=document.createElement("span")).setAttribute("id",c),l.setAttribute("aria-hidden","true"),document.body.appendChild(l));var h=(0,r.A)({},u,n);Object.keys(h).map((function(t){return l.style[f(t)]=s(t,h[t]),t})),l.textContent=e;var p=l.getBoundingClientRect(),v={width:p.width,height:p.height};return a.widthCache[o]=v,a.cacheCount+1>2e3?(a.cacheCount=0,a.widthCache={}):a.cacheCount+=1,d&&clearTimeout(d),d=setTimeout((function(){l.textContent=""}),0),v}catch(t){return{width:0,height:0}}};function p(t){var n=t.style,e=t.needsComputation;return t.text.split("\n").map((function(t){return(0,r.A)({text:t},e?h(t,n):{width:0,height:0})}))}},8548:function(t,n,e){"use strict";function r(t){return void 0!==t.bandwidth}e.d(n,{y:function(){return r}})},99803:function(t,n,e){"use strict";function r(t){return"number"==typeof t&&!Number.isFinite(t)}e.d(n,{D:function(){return r}})},8144:function(t,n,e){"use strict";function r(t){return"band"===t.scaleType}function i(t){return"point"===t.scaleType}e.d(n,{H:function(){return i},w:function(){return r}})},40240:function(t,n,e){"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t){return"object"===r(t)&&"length"in t?t:Array.from(t)}e.d(n,{A:function(){return i}})},46553:function(t,n,e){"use strict";e.d(n,{A:function(){return u}});var r=e(5786),i=e(54921);function o(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===i.g&&n.documentElement.namespaceURI===i.g?n.createElement(t):n.createElementNS(e,t)}}function a(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function u(t){var n=(0,r.A)(t);return(n.local?a:o)(n)}},73661:function(t,n,e){"use strict";e.r(n),e.d(n,{create:function(){return o},creator:function(){return r.A},local:function(){return u},matcher:function(){return c.A},namespace:function(){return s.A},namespaces:function(){return f.A},pointer:function(){return d.A},pointers:function(){return p},select:function(){return i.A},selectAll:function(){return m},selection:function(){return y.Ay},selector:function(){return g.A},selectorAll:function(){return b.A},style:function(){return x.j},window:function(){return w.A}});var r=e(46553),i=e(22333);function o(t){return(0,i.A)((0,r.A)(t).call(document.documentElement))}var a=0;function u(){return new l}function l(){this._="@"+(++a).toString(36)}l.prototype=u.prototype={constructor:l,get:function(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._}};var c=e(72383),s=e(5786),f=e(54921),d=e(87696),h=e(10758);function p(t,n){return t.target&&(t=(0,h.A)(t),void 0===n&&(n=t.currentTarget),t=t.touches||[t]),Array.from(t,(function(t){return(0,d.A)(t,n)}))}var v=e(40240),y=e(74473);function m(t){return"string"==typeof t?new y.LN([document.querySelectorAll(t)],[document.documentElement]):new y.LN([null==t?[]:(0,v.A)(t)],y.zr)}var g=e(79772),b=e(39221),x=e(79501),w=e(55345)},72383:function(t,n,e){"use strict";function r(t){return function(){return this.matches(t)}}function i(t){return function(n){return n.matches(t)}}e.d(n,{A:function(){return r},j:function(){return i}})},5786:function(t,n,e){"use strict";e.d(n,{A:function(){return i}});var r=e(54921);function i(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.A.hasOwnProperty(n)?{space:r.A[n],local:t}:t}},54921:function(t,n,e){"use strict";e.d(n,{g:function(){return r}});var r="http://www.w3.org/1999/xhtml";n.A={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},87696:function(t,n,e){"use strict";e.d(n,{A:function(){return i}});var r=e(10758);function i(t,n){if(t=(0,r.A)(t),void 0===n&&(n=t.currentTarget),n){var e=n.ownerSVGElement||n;if(e.createSVGPoint){var i=e.createSVGPoint();return i.x=t.clientX,i.y=t.clientY,[(i=i.matrixTransform(n.getScreenCTM().inverse())).x,i.y]}if(n.getBoundingClientRect){var o=n.getBoundingClientRect();return[t.clientX-o.left-n.clientLeft,t.clientY-o.top-n.clientTop]}}return[t.pageX,t.pageY]}},22333:function(t,n,e){"use strict";e.d(n,{A:function(){return i}});var r=e(74473);function i(t){return"string"==typeof t?new r.LN([[document.querySelector(t)]],[document.documentElement]):new r.LN([[t]],r.zr)}},74473:function(t,n,e){"use strict";e.d(n,{LN:function(){return dt},Ay:function(){return pt},zr:function(){return ft}});var r=e(79772);var i=e(40240),o=e(39221);var a=e(72383),u=Array.prototype.find;function l(){return this.firstElementChild}var c=Array.prototype.filter;function s(){return this.children}function f(t){return new Array(t.length)}function d(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function h(t,n,e,r,i,o){for(var a,u=0,l=n.length,c=o.length;u<c;++u)(a=n[u])?(a.__data__=o[u],r[u]=a):e[u]=new d(t,o[u]);for(;u<l;++u)(a=n[u])&&(i[u]=a)}function p(t,n,e,r,i,o,a){var u,l,c,s=new Map,f=n.length,h=o.length,p=new Array(f);for(u=0;
vendor: 4,890 bytes, line 1
1u<f;++u)(l=n[u])&&(p[u]=c=a.call(l,l.__data__,u,n)+"",s.has(c)?i[u]=l:s.set(c,l));for(u=0;u<h;++u)c=a.call(t,o[u],u,o)+"",(l=s.get(c))?(r[u]=l,l.__data__=o[u],s.delete(c)):e[u]=new d(t,o[u]);for(u=0;u<f;++u)(l=n[u])&&s.get(p[u])===l&&(i[u]=l)}function v(t){return t.__data__}function y(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}function m(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return g(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?g(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return a=t.done,t},e:function(t){u=!0,o=t},f:function(){try{a||null==e.return||e.return()}finally{if(u)throw o}}}}function g(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}d.prototype={constructor:d,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 b=e(5786);function x(t){return function(){this.removeAttribute(t)}}function w(t){return function(){this.removeAttributeNS(t.space,t.local)}}function A(t,n){return function(){this.setAttribute(t,n)}}function S(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function M(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function k(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)}}var _=e(79501);function j(t){return function(){delete this[t]}}function E(t,n){return function(){this[t]=n}}function I(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function P(t){return t.trim().split(/^|\s+/)}function O(t){return t.classList||new C(t)}function C(t){this._node=t,this._names=P(t.getAttribute("class")||"")}function T(t,n){for(var e=O(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function N(t,n){for(var e=O(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function R(t){return function(){T(this,t)}}function L(t){return function(){N(this,t)}}function F(t,n){return function(){(n.apply(this,arguments)?T:N)(this,t)}}function z(){this.textContent=""}function D(t){return function(){this.textContent=t}}function U(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function H(){this.innerHTML=""}function G(t){return function(){this.innerHTML=t}}function q(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function Y(){this.nextSibling&&this.parentNode.appendChild(this)}function B(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}C.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 V=e(46553);function X(){return null}function $(){var t=this.parentNode;t&&t.removeChild(this)}function W(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function Z(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function Q(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 K(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 a=0,u=i.length;a<u;++a)if((r=i[a]).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]}}var J=e(55345);function tt(t,n,e){var r=(0,J.A)(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.dis
vendor: 5,080 bytes, line 1
1patchEvent(i)}function nt(t,n){return function(){return tt(this,t,n)}}function et(t,n){return function(){return tt(this,t,n.apply(this,arguments))}}function rt(t){return rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(t)}function it(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */it=function(){return n};var t,n={},e=Object.prototype,r=e.hasOwnProperty,i=Object.defineProperty||function(t,n,e){t[n]=e.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{c({},"")}catch(t){c=function(t,n,e){return t[n]=e}}function s(t,n,e,r){var o=n&&n.prototype instanceof m?n:m,a=Object.create(o.prototype),u=new P(r||[]);return i(a,"_invoke",{value:_(t,e,u)}),a}function f(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}n.wrap=s;var d="suspendedStart",h="suspendedYield",p="executing",v="completed",y={};function m(){}function g(){}function b(){}var x={};c(x,a,(function(){return this}));var w=Object.getPrototypeOf,A=w&&w(w(O([])));A&&A!==e&&r.call(A,a)&&(x=A);var S=b.prototype=m.prototype=Object.create(x);function M(t){["next","throw","return"].forEach((function(n){c(t,n,(function(t){return this._invoke(n,t)}))}))}function k(t,n){function e(i,o,a,u){var l=f(t[i],t,o);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==rt(s)&&r.call(s,"__await")?n.resolve(s.__await).then((function(t){e("next",t,a,u)}),(function(t){e("throw",t,a,u)})):n.resolve(s).then((function(t){c.value=t,a(c)}),(function(t){return e("throw",t,a,u)}))}u(l.arg)}var o;i(this,"_invoke",{value:function(t,r){function i(){return new n((function(n,i){e(t,r,n,i)}))}return o=o?o.then(i,i):i()}})}function _(n,e,r){var i=d;return function(o,a){if(i===p)throw Error("Generator is already running");if(i===v){if("throw"===o)throw a;return{value:t,done:!0}}for(r.method=o,r.arg=a;;){var u=r.delegate;if(u){var l=j(u,r);if(l){if(l===y)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var c=f(n,e,r);if("normal"===c.type){if(i=r.done?v:h,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=v,r.method="throw",r.arg=c.arg)}}}function j(n,e){var r=e.method,i=n.iterator[r];if(i===t)return e.delegate=null,"throw"===r&&n.iterator.return&&(e.method="return",e.arg=t,j(n,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var o=f(i,n.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var a=o.arg;return a?a.done?(e[n.resultName]=a.value,e.next=n.nextLoc,"return"!==e.method&&(e.method="next",e.arg=t),e.delegate=null,y):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function E(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function I(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(n){if(n||""===n){var e=n[a];if(e)return e.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var i=-1,o=function e(){for(;++i<n.length;)if(r.call(n,i))return e.value=n[i],e.done=!1,e;return e.value=t,e.done=!0,e};return o.next=o}}throw new TypeError(rt(n)+" is not iterable")}return g.prototype=b,i(S,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:g,configurable:!0}),g.displayName=c(b,l,"GeneratorFunction"),n.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===g||"GeneratorFunction"===(n.displayName||n.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,l,"GeneratorFunction")),t.prototype=Object.create(S),t},n.awrap=function(t){return{__await:t}},M(k.prototype),c(k.prototype,u,(function(){return this})),n.AsyncIterator=k,n.async=function(t,e,r,i,o){void 0===o&&(o=Promise);var a=new k(s(t,e,r,i),o);return n.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},M(S),c(S,l,"Generator"),c(S,a,(function(){return this})),c(S,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var n=Object(t),e=[];for(var r in n)e.push(r);return e.reverse(),function t(){for(;e.length;){var r=e.pop();if(r in n)return t.value=r,t.done=!1,t}return t.done=!0,t}},n.values=O,P.prototype={constructor:P,reset:function(n){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEac
1h(I),!n)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var e=this;function i(r,i){return u.type="throw",u.arg=n,e.next=r,i&&(e.method="next",e.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=n,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),y},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),I(e),y}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var i=r.arg;I(e)}return i}}throw Error("illegal catch attempt")},delegateYield:function(n,e,r){return this.delegate={iterator:O(n),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=t),y}},n}var ot=it().mark(at);function at(){var t,n,e,r,i,o,a;return it().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:t=this._groups,n=0,e=t.length;case 1:if(!(n<e)){u.next=13;break}r=t[n],i=0,o=r.length;case 3:if(!(i<o)){u.next=10;break}if(!(a=r[i])){u.next=7;break}return u.next=7,a;case 7:++i,u.next=3;break;case 10:++n,u.next=1;break;case 13:case"end":return u.stop()}}),ot,this)}function ut(t){return ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ut(t)}var lt,ct,st,ft=[null];function dt(t,n){this._groups=t,this._parents=n}function ht(){return new dt([[document.documentElement]],ft)}dt.prototype=ht.prototype=(lt={constructor:dt,select:function(t){"function"!=typeof t&&(t=(0,r.A)(t));for(var n=this._groups,e=n.length,i=new Array(e),o=0;o<e;++o)for(var a,u,l=n[o],c=l.length,s=i[o]=new Array(c),f=0;f<c;++f)(a=l[f])&&(u=t.call(a,a.__data__,f,l))&&("__data__"in a&&(u.__data__=a.__data__),s[f]=u);return new dt(i,this._parents)},selectAll:function(t){t="function"==typeof t?function(t){return function(){var n=t.apply(this,arguments);return null==n?[]:(0,i.A)(n)}}(t):(0,o.A)(t);for(var n=this._groups,e=n.length,r=[],a=[],u=0;u<e;++u)for(var l,c=n[u],s=c.length,f=0;f<s;++f)(l=c[f])&&(r.push(t.call(l,l.__data__,f,c)),a.push(l));return new dt(r,a)},selectChild:function(t){return this.select(null==t?l:function(t){return function(){return u.call(this.children,t)}}("function"==typeof t?t:(0,a.j)(t)))},selectChildren:function(t){return this.selectAll(null==t?s:function(t){return function(){return c.call(this.children,t)}}("function"==typeof t?t:(0,a.j)(t)))},filter:function(t){"function"!=typeof t&&(t=(0,a.A)(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u=n[i],l=u.length,c=r[i]=[],s=0;s<l;++s)(o=u[s])&&t.call(o,o.__data__,s,u)&&c.push(o);return new dt(r,this._parents)},data:function(t,n){if(!arguments.length)return Array.from(this,v);var e,r=n?p:h,o=this._parents,a=this._groups;"function"!=typeof t&&(e=t,t=function(){return e});for(var u=a.length,l=new Array(u),c=new Array(u),s=new Array(u),f=0;f<u;++f){var d=o[f],y=a[f],m=y.length,g=(0,i.A)(t.call(d,d&&d.__data__,f,o)),b=g.length,x=c[f]=new Array(b),w=l[f]=new Array(b);r(d,y,x,w,s[f]=new Array(m),g,n);for(var A,S,M=0,k=0;M<b;++M)if(A=x[M]){for(M>=k&&(k=M+1);!(S=w[k])&&++k<b;);A._next=S||null}}return(l=new dt(l,o))._enter=c,l._exit=s,l},enter:function(){return new dt(this._enter||this._groups.map(f),this._parents)},exit:function(){return new dt(this._exit||this._groups.map(f),this._parents)},join:function(t,n,e){var r=this.enter(),i=this,o=this.exit();return r="function"==typeof t?t(r):r.append(t+""),null!=n&&(i=n(i)),null==e?o.remove():e(o),r&&i?r.merge(i).order():i},merge:function(t){if(!(t instanceof dt))throw new Error("invalid merge");for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var l,c=n[u],s=e[u],f=c.length,d=a[u]=new Array(f),h=0;h<f;++h)(l=c[h]||s[h])&&(d[h]=l);for(;u<r;++u)a[u]=n[u];return new dt(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,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=y);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o<r;++o){for(var a,u=e[o],l=u.length,c=i[o]=new Array(l),s=0;s<l;++s)(a=u[s])&&(c[s]=a);c.sort(n)}return new dt(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 a=r[i];if(a)return a}return null},size:function(){var t,n=0,e=m(this);try{for(e.s();!(t=e.n()).done;)t.value,++n}catch(t){e.e(t)}finally{e.f()}return n},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],a=0,u=o.length;a<u;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,n){var e=(0,b.A)(t);
1if(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?w:x:"function"==typeof n?e.local?k:M:e.local?S:A)(e,n))},style:_.A,property:function(t,n){return arguments.length>1?this.each((null==n?j:"function"==typeof n?I:E)(t,n)):this.node()[t]},classed:function(t,n){var e=P(t+"");if(arguments.length<2){for(var r=O(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?F:n?R:L)(e,n))},text:function(t){return arguments.length?this.each(null==t?z:("function"==typeof t?U:D)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?H:("function"==typeof t?q:G)(t)):this.node().innerHTML},raise:function(){return this.each(Y)},lower:function(){return this.each(B)},append:function(t){var n="function"==typeof t?t:(0,V.A)(t);return this.select((function(){return this.appendChild(n.apply(this,arguments))}))},insert:function(t,n){var e="function"==typeof t?t:(0,V.A)(t),i=null==n?X:"function"==typeof n?n:(0,r.A)(n);return this.select((function(){return this.insertBefore(e.apply(this,arguments),i.apply(this,arguments)||null)}))},remove:function(){return this.each($)},clone:function(t){return this.select(t?Z:W)},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+""),a=o.length;if(!(arguments.length<2)){for(u=n?K:Q,r=0;r<a;++r)this.each(u(o[r],n,e));return this}var u=this.node().__on;if(u)for(var l,c=0,s=u.length;c<s;++c)for(r=0,l=u[c];r<a;++r)if((i=o[r]).type===l.type&&i.name===l.name)return l.value},dispatch:function(t,n){return this.each(("function"==typeof n?et:nt)(t,n))}},ct=Symbol.iterator,st=at,(ct=function(t){var n=function(t,n){if("object"!=ut(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,n||"default");if("object"!=ut(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==ut(n)?n:n+""}(ct))in lt?Object.defineProperty(lt,ct,{value:st,enumerable:!0,configurable:!0,writable:!0}):lt[ct]=st,lt);var pt=ht},79501:function(t,n,e){"use strict";e.d(n,{A:function(){return u},j:function(){return l}});var r=e(55345);function i(t){return function(){this.style.removeProperty(t)}}function o(t,n,e){return function(){this.style.setProperty(t,n,e)}}function a(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function u(t,n,e){return arguments.length>1?this.each((null==n?i:"function"==typeof n?a:o)(t,n,null==e?"":e)):l(this.node(),t)}function l(t,n){return t.style.getPropertyValue(n)||(0,r.A)(t).getComputedStyle(t,null).getPropertyValue(n)}},79772:function(t,n,e){"use strict";function r(){}function i(t){return null==t?r:function(){return this.querySelector(t)}}e.d(n,{A:function(){return i}})},39221:function(t,n,e){"use strict";function r(){return[]}function i(t){return null==t?r:function(){return this.querySelectorAll(t)}}e.d(n,{A:function(){return i}})},10758:function(t,n,e){"use strict";function r(t){for(var n;n=t.sourceEvent;)t=n;return t}e.d(n,{A:function(){return r}})},55345:function(t,n,e){"use strict";function r(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}e.d(n,{A:function(){return r}})},41883:function(t,n,e){"use strict";e.r(n),e.d(n,{zoom:function(){return On},zoomIdentity:function(){return wn},zoomTransform:function(){return An}});var r={value:function(){}};function i(){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 o(r)}function o(t){this._=t}function a(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}function u(t,n,e){for(var i=0,o=t.length;i<o;++i)if(t[i].name===n){t[i]=r,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=e&&t.push({name:n,value:e}),t}o.prototype=i.prototype={constructor:o,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}}
vendor: 4,392 bytes, line 1
1))),l=-1,c=o.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++l<c;)if(e=(t=o[l]).type)i[e]=u(i[e],t.name,n);else if(null==n)for(e in i)i[e]=u(i[e],t.name,null);return this}for(;++l<c;)if((e=(t=o[l]).type)&&(e=a(i[e],t.name)))return e},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new o(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,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 l=i,c=e(22333);function s(t){t.preventDefault(),t.stopImmediatePropagation()}function f(t){return((t=Math.exp(t))+1/t)/2}var d=function t(n,e,r){function i(t,i){var o,a,u=t[0],l=t[1],c=t[2],s=i[0],d=i[1],h=i[2],p=s-u,v=d-l,y=p*p+v*v;if(y<1e-12)a=Math.log(h/c)/n,o=function(t){return[u+t*p,l+t*v,c*Math.exp(n*t*a)]};else{var m=Math.sqrt(y),g=(h*h-c*c+r*y)/(2*c*e*m),b=(h*h-c*c-r*y)/(2*h*e*m),x=Math.log(Math.sqrt(g*g+1)-g),w=Math.log(Math.sqrt(b*b+1)-b);a=(w-x)/n,o=function(t){var r,i=t*a,o=f(x),s=c/(e*m)*(o*(r=n*i+x,((r=Math.exp(2*r))-1)/(r+1))-function(t){return((t=Math.exp(t))-1/t)/2}(x));return[u+s*p,l+s*v,c*o/f(n*i+x)]}}return o.duration=1e3*a*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),h=e(87696),p=e(74473);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}var y,m,g=0,b=0,x=0,w=0,A=0,S=0,M="object"===("undefined"==typeof performance?"undefined":v(performance))&&performance.now?performance:Date,k="object"===("undefined"==typeof window?"undefined":v(window))&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function _(){return A||(k(j),A=M.now()+S)}function j(){A=0}function E(){this._call=this._time=this._next=null}function I(t,n,e){var r=new E;return r.restart(t,n,e),r}function P(){A=(w=M.now())+S,g=b=0;try{!function(){_(),++g;for(var t,n=y;n;)(t=A-n._time)>=0&&n._call.call(null,t),n=n._next;--g}()}finally{g=0,function(){var t,n,e=y,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:y=n);m=t,C(r)}(),A=0}}function O(){var t=M.now(),n=t-w;n>1e3&&(S-=n,w=t)}function C(t){g||(b&&(b=clearTimeout(b)),t-A>24?(t<1/0&&(b=setTimeout(P,t-M.now()-S)),x&&(x=clearInterval(x))):(x||(w=M.now(),x=setInterval(O,1e3)),g=1,k(P)))}function T(t,n,e){var r=new E;return n=null==n?0:+n,r.restart((function(e){r.stop(),t(e+n)}),n,e),r}E.prototype=I.prototype={constructor:E,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?_():+e)+(null==n?0:+n),this._next||m===this||(m?m._next=this:y=this,m=this),this._call=t,this._time=e,C()},stop:function(){this._call&&(this._call=null,this._time=1/0,C())}};var N=l("start","end","cancel","interrupt"),R=[],L=2,F=5,z=6;function D(t,n,e,r,i,o){var a=t.__transition;if(a){if(e in a)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(t){e.state=1,e.timer.restart(a,e.delay,e.time),e.delay<=t&&a(t-e.delay)}function a(o){var c,s,f,d;if(1!==e.state)return l();for(c in i)if((d=i[c]).name===e.name){if(3===d.state)return T(a);4===d.state?(d.state=z,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete i[c]):+c<n&&(d.state=z,d.timer.stop(),d.on.call("cancel",t,t.__data__,d.index,d.group),delete i[c])}if(T((function(){3===e.state&&(e.state=4,e.timer.restart(u,e.delay,e.time),u(o))})),e.state=L,e.on.call("start",t,t.__data__,e.index,e.group),e.state===L){for(e.state=3,r=new Array(f=e.tween.length),c=0,s=-1;c<f;++c)(d=e.tween[c].value.call(t,t.__data__,e.index,e.group))&&(r[++s]=d);r.length=s+1}}function u(n){for(var i=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(l),e.state=F,1),o=-1,a=r.length;++o<a;)r[o].call(t,i);e.state===F&&(e.on.call("end",t,t.__data__,e.index,e.group),l())}function l(){for(var r in e.state=z,e.timer.stop(),delete i[n],i)return;delete t.__transition}i[n]=e,e.timer=I(o,0,e.time)}
vendor: 7,665 bytes, line 1
1(t,e,{name:n,index:r,group:i,on:N,tween:R,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function U(t,n){var e=G(t,n);if(e.state>0)throw new Error("too late; already scheduled");return e}function H(t,n){var e=G(t,n);if(e.state>3)throw new Error("too late; already running");return e}function G(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function q(t,n){var e,r,i,o=t.__transition,a=!0;if(o){for(i in n=null==n?null:n+"",o)(e=o[i]).name===n?(r=e.state>L&&e.state<F,e.state=z,e.timer.stop(),e.on.call(r?"interrupt":"cancel",t,t.__data__,e.index,e.group),delete o[i]):a=!1;a&&delete t.__transition}}function Y(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}var B,V=180/Math.PI,X={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function $(t,n,e,r,i,o){var a,u,l;return(a=Math.sqrt(t*t+n*n))&&(t/=a,n/=a),(l=t*e+n*r)&&(e-=t*l,r-=n*l),(u=Math.sqrt(e*e+r*r))&&(e/=u,r/=u,l/=u),t*r<n*e&&(t=-t,n=-n,l=-l,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*V,skewX:Math.atan(l)*V,scaleX:a,scaleY:u}}function W(t,n,e,r){function i(t){return t.length?t.pop()+" ":""}return function(o,a){var u=[],l=[];return o=t(o),a=t(a),function(t,r,i,o,a,u){if(t!==i||r!==o){var l=a.push("translate(",null,n,null,e);u.push({i:l-4,x:Y(t,i)},{i:l-2,x:Y(r,o)})}else(i||o)&&a.push("translate("+i+n+o+e)}(o.translateX,o.translateY,a.translateX,a.translateY,u,l),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:Y(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}(o.rotate,a.rotate,u,l),function(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:Y(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}(o.skewX,a.skewX,u,l),function(t,n,e,r,o,a){if(t!==e||n!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:Y(t,e)},{i:u-2,x:Y(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,u,l),o=a=null,function(t){for(var n,e=-1,r=l.length;++e<r;)u[(n=l[e]).i]=n.x(t);return u.join("")}}}var Z=W((function(t){var n=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return n.isIdentity?X:$(n.a,n.b,n.c,n.d,n.e,n.f)}),"px, ","px)","deg)"),Q=W((function(t){return null==t?X:(B||(B=document.createElementNS("http://www.w3.org/2000/svg","g")),B.setAttribute("transform",t),(t=B.transform.baseVal.consolidate())?$((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):X)}),", ",")",")"),K=e(5786);function J(t,n){var e,r;return function(){var i=H(this,t),o=i.tween;if(o!==e)for(var a=0,u=(r=e=o).length;a<u;++a)if(r[a].name===n){(r=r.slice()).splice(a,1);break}i.tween=r}}function tt(t,n,e){var r,i;if("function"!=typeof e)throw new Error;return function(){var o=H(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var u={name:n,value:e},l=0,c=i.length;l<c;++l)if(i[l].name===n){i[l]=u;break}l===c&&i.push(u)}o.tween=i}}function nt(t,n,e){var r=t._id;return t.each((function(){var t=H(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)})),function(t){return G(t,r).value[n]}}function et(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function rt(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function it(){}var ot=.7,at=1/ot,ut="\\s*([+-]?\\d+)\\s*",lt="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",ct="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",st=/^#([0-9a-f]{3,8})$/,ft=new RegExp("^rgb\\("+[ut,ut,ut]+"\\)$"),dt=new RegExp("^rgb\\("+[ct,ct,ct]+"\\)$"),ht=new RegExp("^rgba\\("+[ut,ut,ut,lt]+"\\)$"),pt=new RegExp("^rgba\\("+[ct,ct,ct,lt]+"\\)$"),vt=new RegExp("^hsl\\("+[lt,ct,ct]+"\\)$"),yt=new RegExp("^hsla\\("+[lt,ct,ct,lt]+"\\)$"),mt={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 gt(){return this.rgb().formatHex()}function bt(){return this.rgb().formatRgb()}function xt(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=st.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?wt(n):3===e?new Mt(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?At(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?At(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=ft.exec(t))?new Mt(n[1],n[2],n[3],1):(n=dt.exec(t))?new Mt(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=ht.exec(t))?At(n[1],n[2],n[3],n[4]):(n=pt.exec(t))?At(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=vt.exec(t))?Et(n[1],n[2]/100,n[3]/100,1):(n=yt.exec(t))?Et(n[1],n[2]/100,n[3]/100,n[4]):mt.hasOwnProperty(t)?wt(mt[t]):"transparent"===t?new Mt(NaN,NaN,NaN,0):null}function wt(t){return new Mt(t>>16&255,t>>8&255,255&t,1)}function At(t,n,e,r){return r<=0&&(t=n=e=NaN),new Mt(t,n,e,r)}function St(t,n,e,r){return 1===arguments.length?((i=t)instanceof it||(i=xt(i)),i?new Mt((i=i.rgb()).r,i.g,i.b,i.opacity):new Mt):new Mt(t,n,e,null==r?1:r);var i}function Mt(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function kt(){return"#"+jt(this.r)+jt(this.g)+jt(this.b)}function _t(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||
vendor: 7,844 bytes, line 1
10))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function jt(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Et(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new Pt(t,n,e,r)}function It(t){if(t instanceof Pt)return new Pt(t.h,t.s,t.l,t.opacity);if(t instanceof it||(t=xt(t)),!t)return new Pt;if(t instanceof Pt)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),a=NaN,u=o-i,l=(o+i)/2;return u?(a=n===o?(e-r)/u+6*(e<r):e===o?(r-n)/u+2:(n-e)/u+4,u/=l<.5?o+i:2-o-i,a*=60):u=l>0&&l<1?0:a,new Pt(a,u,l,t.opacity)}function Pt(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Ot(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function Ct(t,n,e,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*n+(4-6*o+3*a)*e+(1+3*t+3*o-3*a)*r+a*i)/6}et(it,xt,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:gt,formatHex:gt,formatHsl:function(){return It(this).formatHsl()},formatRgb:bt,toString:bt}),et(Mt,St,rt(it,{brighter:function(t){return t=null==t?at:Math.pow(at,t),new Mt(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?ot:Math.pow(ot,t),new Mt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:kt,formatHex:kt,formatRgb:_t,toString:_t})),et(Pt,(function(t,n,e,r){return 1===arguments.length?It(t):new Pt(t,n,e,null==r?1:r)}),rt(it,{brighter:function(t){return t=null==t?at:Math.pow(at,t),new Pt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?ot:Math.pow(ot,t),new Pt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){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 Mt(Ot(t>=240?t-240:t+120,i,r),Ot(t,i,r),Ot(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var Tt=function(t){return function(){return t}};function Nt(t,n){return function(e){return t+e*n}}function Rt(t){return 1==(t=+t)?Lt: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):Tt(isNaN(n)?e:n)}}function Lt(t,n){var e=n-t;return e?Nt(t,e):Tt(isNaN(t)?n:t)}var Ft=function t(n){var e=Rt(n);function r(t,n){var r=e((t=St(t)).r,(n=St(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),a=Lt(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=a(n),t+""}}return r.gamma=t,r}(1);function zt(t){return function(n){var e,r,i=n.length,o=new Array(i),a=new Array(i),u=new Array(i);for(e=0;e<i;++e)r=St(n[e]),o[e]=r.r||0,a[e]=r.g||0,u[e]=r.b||0;return o=t(o),a=t(a),u=t(u),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=u(t),r+""}}}zt((function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,u=r<n-1?t[r+2]:2*o-i;return Ct((e-r/n)*n,a,i,o,u)}})),zt((function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),i=t[(r+n-1)%n],o=t[r%n],a=t[(r+1)%n],u=t[(r+2)%n];return Ct((e-r/n)*n,i,o,a,u)}}));var Dt=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ut=new RegExp(Dt.source,"g");function Ht(t,n){var e,r,i,o=Dt.lastIndex=Ut.lastIndex=0,a=-1,u=[],l=[];for(t+="",n+="";(e=Dt.exec(t))&&(r=Ut.exec(n));)(i=r.index)>o&&(i=n.slice(o,i),u[a]?u[a]+=i:u[++a]=i),(e=e[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,l.push({i:a,x:Y(e,r)})),o=Ut.lastIndex;return o<n.length&&(i=n.slice(o),u[a]?u[a]+=i:u[++a]=i),u.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)u[(e=l[r]).i]=e.x(t);return u.join("")})}function Gt(t,n){var e;return("number"==typeof n?Y:n instanceof xt?Ft:(e=xt(n))?(n=e,Ft):Ht)(t,n)}function qt(t){return function(){this.removeAttribute(t)}}function Yt(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Bt(t,n,e){var r,i,o=e+"";return function(){var a=this.getAttribute(t);return a===o?null:a===r?i:i=n(r=a,e)}}function Vt(t,n,e){var r,i,o=e+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=n(r=a,e)}}function Xt(t,n,e){var r,i,o;return function(){var a,u,l=e(this);if(null!=l)return(a=this.getAttribute(t))===(u=l+"")?null:a===r&&u===i?o:(i=u,o=n(r=a,l));this.removeAttribute(t)}}function $t(t,n,e){var r,i,o;return function(){var a,u,l=e(this);if(null!=l)return(a=this.getAttributeNS(t.space,t.local))===(u=l+"")?null:a===r&&u===i?o:(i=u,o=n(r=a,l));this.removeAttributeNS(t.space,t.local)}}function Wt(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 Zt(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 Qt(t,n){return function(){U(this,t).delay=+n.apply(this,arguments)}}function Kt(t,n){return n=+n,function(){U(this,t).delay=n}}function Jt(t,n){return function(){H(this,t).duration=+n.apply(this,arguments)}}function tn(t,n){return n=+n,function(){H(this,t).duration=n}}var nn=e(72383);var en=e(79772);var rn=e(39221);var on=p.Ay.prototype.constructor;var an=e(79501);function un(t){return function(){this.style.removeProperty(t)}}function ln(t){return ln="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ln(t)}var cn=0;function sn(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function fn(){return++cn}var dn,hn,pn,vn=p.Ay.prototype;sn.prototype=function(t){return(0,p.Ay)().transition(t)}.prototype=(dn={constructor:sn,select:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=(0,en.A)(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var u,l,c=r[a],s=c.length,f=o[a]=new Array(s),d=0;d<s;++d)(u=c[d])&&(l=t.call(u,u.__data__,d,c))&&("__data__"in u&&(l.__data__=u.__data__),f[d]=l,D(f[d],n,e,d,f,G(u,e)));return new sn(o,this._parents,n,e)},selectAll:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=(0,rn.A)(t));for(var r=this._groups,i=r.length,o=[],a=[],u=0;u<i;++u)for(var l,c=r[u],s=c.length,f=0;f<s;++f)if(l=c[f]){for(var d,h=t.call(l,l.__data__,f,c),p=G(l,e),v=0,y=h.length;v<y;++v)(d=h[v])&&D(d,n,e,v,h,p);o.push(h),a.push(l)}return new sn(o,a,n,e)},filter:function(t){"function"!=typeof t&&(t=(0,nn.A)(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,a=n[i],u=a.length,l=r[i]=[],c=0;c<u;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&l.push(o);return new sn(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),a=new Array(r),u=0;u<o;++u)for(var l,c=n[u],s=e[u],f=c.length,d=a[u]=new Array(f),h=0;h<f;++h)(l=c[h]||s[h])&&(d[h]=l);for(;u<r;++u)a[u]=n[u];return new sn(a,this._parents,this._name,this._id)},selection:function(){return new on(this._groups,this._parents)},transition:function(){for(var t=this._name,n=this._id,e=fn(),r=this._groups,i=r.length,o=0;o<i;
vendor: 8,707 bytes, line 1
1++o)for(var a,u=r[o],l=u.length,c=0;c<l;++c)if(a=u[c]){var s=G(a,n);D(a,t,e,c,u,{time:s.time+s.delay+s.duration,delay:0,duration:s.duration,ease:s.ease})}return new sn(r,this._parents,t,e)},call:vn.call,nodes:vn.nodes,node:vn.node,size:vn.size,empty:vn.empty,each:vn.each,on:function(t,n){var e=this._id;return arguments.length<2?G(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)?U:H;return function(){var a=o(this,t),u=a.on;u!==r&&(i=(r=u).copy()).on(n,e),a.on=i}}(e,t,n))},attr:function(t,n){var e=(0,K.A)(t),r="transform"===e?Q:Gt;return this.attrTween(t,"function"==typeof n?(e.local?$t:Xt)(e,r,nt(this,"attr."+t,n)):null==n?(e.local?Yt:qt)(e):(e.local?Vt:Bt)(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=(0,K.A)(t);return this.tween(e,(r.local?Wt:Zt)(r,n))},style:function(t,n,e){var r="transform"==(t+="")?Z:Gt;return null==n?this.styleTween(t,function(t,n){var e,r,i;return function(){var o=(0,an.j)(this,t),a=(this.style.removeProperty(t),(0,an.j)(this,t));return o===a?null:o===e&&a===r?i:i=n(e=o,r=a)}}(t,r)).on("end.style."+t,un(t)):"function"==typeof n?this.styleTween(t,function(t,n,e){var r,i,o;return function(){var a=(0,an.j)(this,t),u=e(this),l=u+"";return null==u&&(this.style.removeProperty(t),l=u=(0,an.j)(this,t)),a===l?null:a===r&&l===i?o:(i=l,o=n(r=a,u))}}(t,r,nt(this,"style."+t,n))).each(function(t,n){var e,r,i,o,a="style."+n,u="end."+a;return function(){var l=H(this,t),c=l.on,s=null==l.value[a]?o||(o=un(n)):void 0;c===e&&i===s||(r=(e=c).copy()).on(u,i=s),l.on=r}}(this._id,t)):this.styleTween(t,function(t,n,e){var r,i,o=e+"";return function(){var a=(0,an.j)(this,t);return a===o?null:a===r?i:i=n(r=a,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}}(nt(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=G(this.node(),e).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==n?J:tt)(e,t,n))},delay:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?Qt:Kt)(n,t)):G(this.node(),n).delay},duration:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?Jt:tn)(n,t)):G(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(){H(this,t).ease=n}}(n,t)):G(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;H(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,a){var u={value:a},l={value:function(){0==--i&&o()}};e.each((function(){var e=H(this,r),i=e.on;i!==t&&((n=(t=i).copy())._.cancel.push(u),n._.interrupt.push(u),n._.end.push(l)),e.on=n})),0===i&&o()}))}},hn=Symbol.iterator,pn=vn[Symbol.iterator],(hn=function(t){var n=function(t,n){if("object"!=ln(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,n||"default");if("object"!=ln(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==ln(n)?n:n+""}(hn))in dn?Object.defineProperty(dn,hn,{value:pn,enumerable:!0,configurable:!0,writable:!0}):dn[hn]=pn,dn);var yn={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function mn(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))throw new Error("transition ".concat(n," not found"));return e}p.Ay.prototype.interrupt=function(t){return this.each((function(){q(this,t)}))},p.Ay.prototype.transition=function(t){var n,e;t instanceof sn?(n=t._id,t=t._name):(n=fn(),(e=yn).time=_(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],l=u.length,c=0;c<l;++c)(a=u[c])&&D(a,t,n,c,u,e||mn(a,n));return new sn(r,this._parents,t,n)};var gn=function(t){return function(){return t}};function bn(t,n){var e=n.sourceEvent,r=n.target,i=n.transform,o=n.dispatch;Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},transform:{value:i,enumerable:!0,configurable:!0},_:{value:o}})}function xn(t,n,e){this.k=t,this.x=n,this.y=e}xn.prototype={constructor:xn,scale:function(t){return 1===t?this:new xn(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new xn(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 wn=new xn(1,0,0);function An(t){for(;!t.__zoom;)if(!(t=t.parentNode))return wn;return t.__zoom}function Sn(t){t.stopImmediatePropagation()}function Mn(t){t.preventDefault(),t.stopImmediatePropagation()}function kn(t){return!(t.ctrlKey&&"wheel"!==t.type||t.button)}function _n(){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 jn(){return this.__zoom||wn}function En(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function In(){return navigator.maxTouchPoints||"ontouchstart"in this}function Pn(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],a=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}function On(){var t,n,e,r=kn,i=_n,o=Pn,a=En,u=In,f=[0,1/0],p=[[-1/0,-1/0],[1/0,1/0]],v=250,y=d,m=l("start","zoom","end"),g=0,b=10;function x(t){t.property("__zoom",jn).on("wheel.zoom",j).on("mousedown.zoom",E).on("dblclick.zoom",I).filter(u).on("touchstart.zoom",P).on("touchmove.zoom",O).on("touchend.zoom touchcancel.zoom",C).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function w(t,n){return(n=Math.max(f[0],Math.min(f[1],n)))===t.k?t:new xn(n,t.x,t.y)}function A(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 xn(t.k,r,i)}function S(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function M(t,n,e,r){t.on("start.zoom",(function(){k(this,arguments).event(r).start()})).on("interrupt.zoom end.zoom",(function(){k(this,arguments).event(r).end()})).tween("zoom",(function(){var t=this,o=arguments,a=k(t,o).event(r),u=i.apply(t,o),l=null==e?S(u):"function"==typeof e?e.apply(t,o):e,c=Math.max(u[1][0]-u[0][0],u[1][1]-u[0][1]),s=t.__zoom,f="function"==typeof n?n.apply(t,o):n,d=y(s.invert(l).concat(c/s.k),f.invert(l).concat(c/f.k));return function(t){if(1===t)t=f;else{var n=d(t),e=c/n[2];t=new xn(e,l[0]-n[0]*e,l[1]-n[1]*e)}
1a.zoom(null,t)}}))}function k(t,n,e){return!e&&t.__zooming||new _(t,n)}function _(t,n){this.that=t,this.args=n,this.active=0,this.sourceEvent=null,this.extent=i.apply(t,n),this.taps=0}function j(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),i=1;i<n;i++)e[i-1]=arguments[i];if(r.apply(this,arguments)){var u=k(this,e).event(t),l=this.__zoom,c=Math.max(f[0],Math.min(f[1],l.k*Math.pow(2,a.apply(this,arguments)))),s=(0,h.A)(t);if(u.wheel)u.mouse[0][0]===s[0]&&u.mouse[0][1]===s[1]||(u.mouse[1]=l.invert(u.mouse[0]=s)),clearTimeout(u.wheel);else{if(l.k===c)return;u.mouse=[s,l.invert(s)],q(this),u.start()}Mn(t),u.wheel=setTimeout((function(){u.wheel=null,u.end()}),150),u.zoom("mouse",o(A(w(l,c),u.mouse[0],u.mouse[1]),u.extent,p))}}function E(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];if(!e&&r.apply(this,arguments)){var u=k(this,i,!0).event(t),l=(0,c.A)(t.view).on("mousemove.zoom",(function(t){if(Mn(t),!u.moved){var n=t.clientX-v,e=t.clientY-y;u.moved=n*n+e*e>g}u.event(t).zoom("mouse",o(A(u.that.__zoom,u.mouse[0]=(0,h.A)(t,d),u.mouse[1]),u.extent,p))}),!0).on("mouseup.zoom",(function(t){l.on("mousemove.zoom mouseup.zoom",null),function(t,n){var e=t.document.documentElement,r=(0,c.A)(t).on("dragstart.drag",null);n&&(r.on("click.drag",s,!0),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in e?r.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)}(t.view,u.moved),Mn(t),u.event(t).end()}),!0),f=(0,h.A)(t,d),d=t.currentTarget,v=t.clientX,y=t.clientY;!function(t){var n=t.document.documentElement,e=(0,c.A)(t).on("dragstart.drag",s,!0);"onselectstart"in n?e.on("selectstart.drag",s,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}(t.view),Sn(t),u.mouse=[f,this.__zoom.invert(f)],q(this),u.start()}}function I(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),a=1;a<n;a++)e[a-1]=arguments[a];if(r.apply(this,arguments)){var u=this.__zoom,l=(0,h.A)(t.changedTouches?t.changedTouches[0]:t,this),s=u.invert(l),f=u.k*(t.shiftKey?.5:2),d=o(A(w(u,f),l,s),i.apply(this,e),p);Mn(t),v>0?(0,c.A)(this).transition().duration(v).call(M,d,l,t):(0,c.A)(this).call(x.transform,d,l,t)}}function P(e){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];if(r.apply(this,arguments)){var u,l,c,s,f=e.touches,d=f.length,p=k(this,o,e.changedTouches.length===d).event(e);for(Sn(e),l=0;l<d;++l)c=f[l],s=[s=(0,h.A)(c,this),this.__zoom.invert(s),c.identifier],p.touch0?p.touch1||p.touch0[2]===s[2]||(p.touch1=s,p.taps=0):(p.touch0=s,u=!0,p.taps=1+!!t);t&&(t=clearTimeout(t)),u&&(p.taps<2&&(n=s[0],t=setTimeout((function(){t=null}),500)),q(this),p.start())}}function O(t){if(this.__zooming){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];var i,a,u,l,c=k(this,e).event(t),s=t.changedTouches,f=s.length;for(Mn(t),i=0;i<f;++i)a=s[i],u=(0,h.A)(a,this),c.touch0&&c.touch0[2]===a.identifier?c.touch0[0]=u:c.touch1&&c.touch1[2]===a.identifier&&(c.touch1[0]=u);if(a=c.that.__zoom,c.touch1){var d=c.touch0[0],v=c.touch0[1],y=c.touch1[0],m=c.touch1[1],g=(g=y[0]-d[0])*g+(g=y[1]-d[1])*g,b=(b=m[0]-v[0])*b+(b=m[1]-v[1])*b;a=w(a,Math.sqrt(g/b)),u=[(d[0]+y[0])/2,(d[1]+y[1])/2],l=[(v[0]+m[0])/2,(v[1]+m[1])/2]}else{if(!c.touch0)return;u=c.touch0[0],l=c.touch0[1]}c.zoom("touch",o(A(a,u,l),c.extent,p))}}function C(t){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];if(this.__zooming){var a,u,l=k(this,i).event(t),s=t.changedTouches,f=s.length;for(Sn(t),e&&clearTimeout(e),e=setTimeout((function(){e=null}),500),a=0;a<f;++a)u=s[a],l.touch0&&l.touch0[2]===u.identifier?delete l.touch0:l.touch1&&l.touch1[2]===u.identifier&&delete l.touch1;if(l.touch1&&!l.touch0&&(l.touch0=l.touch1,delete l.touch1),l.touch0)l.touch0[1]=this.__zoom.invert(l.touch0[0]);else if(l.end(),2===l.taps&&(u=(0,h.A)(u,this),Math.hypot(n[0]-u[0],n[1]-u[1])<b)){var d=(0,c.A)(this).on("dblclick.zoom");d&&d.apply(this,arguments)}}}return x.transform=function(t,n,e,r){var i=t.selection?t.selection():t;i.property("__zoom",jn),t!==i?M(t,n,e,r):i.interrupt().each((function(){k(this,arguments).event(r).start().zoom(null,"function"==typeof n?n.apply(this,arguments):n).end()}))},x.scaleBy=function(t,n,e,r){x.scaleTo(t,(function(){return this.__zoom.k*("function"==typeof n?n.apply(this,arguments):n)}),e,r)},x.scaleTo=function(t,n,e,r){x.transform(t,(function(){var t=i.apply(this,arguments),r=this.__zoom,a=null==e?S(t):"function"==typeof e?e.apply(this,arguments):e,u=r.invert(a),l="function"==typeof n?n.apply(this,arguments):n;return o(A(w(r,l),a,u),t,p)}),e,r)},x.translateBy=function(t,n,e,r){x.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),p)}),null,r)},x.translateTo=function(t,n,e,r,a){x.transform(t,(function(){var t=i.apply(this,arguments),a=this.__zoom,u=null==r?S(t):"function"==typeof r?r.apply(this,arguments):r;return o(wn.translate(u[0],u[1]).scale(a.k).translate("function"==typeof n?-n.apply(this,arguments):-n,"function"==typeof e?-e.apply(this,arguments):-e),t,p)}),r,a)},_.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit
1("start")),this},zoom:function(t,n){return this.mouse&&"mouse"!==t&&(this.mouse[1]=n.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=n.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=n.invert(this.touch1[0])),this.that.__zoom=n,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){var n=(0,c.A)(this.that).datum();m.call(t,this.that,new bn(t,{sourceEvent:this.sourceEvent,target:x,type:t,transform:this.that.__zoom,dispatch:m}),n)}},x.wheelDelta=function(t){return arguments.length?(a="function"==typeof t?t:gn(+t),x):a},x.filter=function(t){return arguments.length?(r="function"==typeof t?t:gn(!!t),x):r},x.touchable=function(t){return arguments.length?(u="function"==typeof t?t:gn(!!t),x):u},x.extent=function(t){return arguments.length?(i="function"==typeof t?t:gn([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),x):i},x.scaleExtent=function(t){return arguments.length?(f[0]=+t[0],f[1]=+t[1],x):[f[0],f[1]]},x.translateExtent=function(t){return arguments.length?(p[0][0]=+t[0][0],p[1][0]=+t[1][0],p[0][1]=+t[0][1],p[1][1]=+t[1][1],x):[[p[0][0],p[0][1]],[p[1][0],p[1][1]]]},x.constrain=function(t){return arguments.length?(o=t,x):o},x.duration=function(t){return arguments.length?(v=+t,x):v},x.interpolate=function(t){return arguments.length?(y=t,x):y},x.on=function(){var t=m.on.apply(m,arguments);return t===m?x:t},x.clickDistance=function(t){return arguments.length?(g=(t=+t)*t,x):Math.sqrt(g)},x.tapDistance=function(t){return arguments.length?(b=+t,x):b},x}An.prototype=xn.prototype},98519:function(t,n,e){"use strict";var r=e(79008);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,n,e,i,o,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function n(){return t}t.isRequired=t;var e={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:n,element:t,elementType:t,instanceOf:n,node:t,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:o,resetWarningCache:i}
1;return e.PropTypes=e,e}},55947:function(t,n,e){t.exports=e(98519)()},79008:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},17559:function(t,n,e){var r,i,o,a;function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}a=function(t,n,e,r,i,o,a){"use strict";function l(t){return t&&"object"==u(t)&&"default"in t?t:{default:t}}var c=l(n),s=l(e),f=function(t){if(t&&t.__esModule)return t;var n=Object.create(null);return t&&Object.keys(t).forEach((function(e){if("default"!==e){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})}})),n.default=t,Object.freeze(n)}(r);function d(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function h(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?d(Object(e),!0).forEach((function(n){v(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):d(Object(e)).forEac
1h((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function p(t){return p="function"==typeof Symbol&&"symbol"==u(Symbol.iterator)?function(t){return u(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":u(t)},p(t)}function v(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function y(){return y=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},y.apply(this,arguments)}function m(t,n){if(null==t)return{};var e,r,i=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(i[e]=t[e])}return i}function g(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o=[],a=!0,u=!1;try{for(e=e.call(t);!(a=(r=e.next()).done)&&(o.push(r.value),!n||o.length!==n);a=!0);}catch(t){u=!0,i=t}finally{try{a||null==e.return||e.return()}finally{if(u)throw i}}return o}}(t,n)||function(t,n){if(t){if("string"==typeof t)return b(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?b(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var x=["width","height","projection","projectionConfig"],w=f.geoPath,A=m(f,["geoPath"]),S=n.createContext(),M=function(t){var e=t.width,r=t.height,i=t.projection,o=t.projectionConfig,a=m(t,x),u=g(o.center||[],2),l=u[0],s=u[1],f=g(o.rotate||[],3),d=f[0],h=f[1],p=f[2],v=g(o.parallels||[],2),b=v[0],M=v[1],k=o.scale||null,_=n.useMemo((function(){return function(t){var n=t.projectionConfig,e=void 0===n?{}:n,r=t.projection,i=void 0===r?"geoEqualEarth":r,o=t.width,a=void 0===o?800:o,u=t.height,l=void 0===u?600:u;if("function"==typeof i)return i;var c=A[i]().translate([a/2,l/2]);return[c.center?"center":null,c.rotate?"rotate":null,c.scale?"scale":null,c.parallels?"parallels":null].forEach((function(t){t&&(c=c[t](e[t]||c[t]()))})),c}({projectionConfig:{center:l||0===l||s||0===s?[l,s]:null,rotate:d||0===d||h||0===h?[d,h,p]:null,parallels:b||0===b||M||0===M?[b,M]:null,scale:k},projection:i,width:e,height:r})}),[e,r,i,l,s,d,h,p,b,M,k]),j=n.useCallback(_,[_]),E=n.useMemo((function(){return{width:e,height:r,projection:j,path:w().projection(j)}}),[e,r,j]);return c.default.createElement(S.Provider,y({value:E},a))};M.propTypes={width:s.default.number,height:s.default.number,projection:s.default.oneOfType([s.default.string,s.default.func]),projectionConfig:s.default.object};var k=["width","height","projection","projectionConfig","className"],_=n.forwardRef((function(t,n){var e=t.width,r=void 0===e?800:e,i=t.height,o=void 0===i?600:i,a=t.projection,u=void 0===a?"geoEqualEarth":a,l=t.projectionConfig,s=void 0===l?{}:l,f=t.className,d=void 0===f?"":f,h=m(t,k);return c.default.createElement(M,{width:r,height:o,projection:u,projectionConfig:s},c.default.createElement("svg",y({ref:n,viewBox:"0 0 ".concat(r," ").concat(o),className:"rsm-svg ".concat(d)},h)))}));function j(t,n,e){var r=(t*e.k-t)/2,i=(n*e.k-n)/2;return[t/2-(r+e.x)/e.k,n/2-(i+e.y)/e.k]}function E(t,n){if("Topology"!==t.type)return n?n(t.features||t):t.features||t;var e=i.feature(t,t.objects[Object.keys(t.objects)[0]]).features;return n?n(e):e}function I(t){return"Topology"===t.type?{outline:i.mesh(t,t.objects[Object.keys(t.objects)[0]],(function(t,n){return t===n})),borders:i.mesh(t,t.objects[Object.keys(t.objects)[0]],(function(t,n){return t!==n}))}:null}function P(t,n){return t?t.map((function(t,e){return h(h({},t),{},{rsmKey:"geo-".concat(e),svgPath:n(t)})})):[]}function O(t){var e=t.geography,r=t.parseGeographies,i=n.useContext(S).path,o=g(n.useState({}),2),a=o[0],u=o[1];n.useEffect((function(){var t;"undefined"!==("undefined"==typeof window?"undefined":p(window))&&e&&("string"==typeof e?(t=e,fetch(t).then((function(t){if(!t.ok)throw Error(t.statusText);return t.json()})).catch((function(t){console.log("There was a problem when fetching the data: ",t)}))).then((function(t){t&&u({geographies:E(t,r),mesh:I(t)})}
1)):u({geographies:E(e,r),mesh:I(e)}))}),[e,r]);var l=n.useMemo((function(){var t=a.mesh||{},n=function(t,n,e){return t&&n?{outline:h(h({},t),{},{rsmKey:"outline",svgPath:e(t)}),borders:h(h({},n),{},{rsmKey:"borders",svgPath:e(n)})}:{}}(t.outline,t.borders,i);return{geographies:P(a.geographies,i),outline:n.outline,borders:n.borders}}),[a,i]);return{geographies:l.geographies,outline:l.outline,borders:l.borders}}_.displayName="ComposableMap",_.propTypes={width:s.default.number,height:s.default.number,projection:s.default.oneOfType([s.default.string,s.default.func]),projectionConfig:s.default.object,className:s.default.string};var C=["geography","children","parseGeographies","className"],T=n.forwardRef((function(t,e){var r=t.geography,i=t.children,o=t.parseGeographies,a=t.className,u=void 0===a?"":a,l=m(t,C),s=n.useContext(S),f=s.path,d=s.projection,h=O({geography:r,parseGeographies:o}),p=h.geographies,v=h.outline,g=h.borders;return c.default.createElement("g",y({ref:e,className:"rsm-geographies ".concat(u)},l),p&&p.length>0&&i({geographies:p,outline:v,borders:g,path:f,projection:d}))}));T.displayName="Geographies",T.propTypes={geography:s.default.oneOfType([s.default.string,s.default.object,s.default.array]),children:s.default.func,parseGeographies:s.default.func,className:s.default.string};var N=["geography","onMouseEnter","onMouseLeave","onMouseDown","onMouseUp","onFocus","onBlur","style","className"],R=n.forwardRef((function(t,e){var r=t.geography,i=t.onMouseEnter,o=t.onMouseLeave,a=t.onMouseDown,u=t.onMouseUp,l=t.onFocus,s=t.onBlur,f=t.style,d=void 0===f?{}:f,h=t.className,p=void 0===h?"":h,v=m(t,N),b=g(n.useState(!1),2),x=b[0],w=b[1],A=g(n.useState(!1),2),S=A[0],M=A[1];return c.default.createElement("path",y({ref:e,tabIndex:"0",className:"rsm-geography ".concat(p),d:r.svgPath,onMouseEnter:function(t){M(!0),i&&i(t)},onMouseLeave:function(t){M(!1),x&&w(!1),o&&o(t)},onFocus:function(t){M(!0),l&&l(t)},onBlur:function(t){M(!1),x&&w(!1),s&&s(t)},onMouseDown:function(t){w(!0),a&&a(t)},onMouseUp:function(t){w(!1),u&&u(t)},style:d[x||S?x?"pressed":"hover":"default"]},v))}));R.displayName="Geography",R.propTypes={geography:s.default.object,onMouseEnter:s.default.func,onMouseLeave:s.default.func,onMouseDown:s.default.func,onMouseUp:s.default.func,onFocus:s.default.func,onBlur:s.default.func,style:s.default.object,className:s.default.string};var L=n.memo(R),F=["fill","stroke","step","className"],z=n.forwardRef((function(t,e){var i=t.fill,o=void 0===i?"transparent":i,a=t.stroke,u=void 0===a?"currentcolor":a,l=t.step,s=void 0===l?[10,10]:l,f=t.className,d=void 0===f?"":f,h=m(t,F),p=n.useContext(S).path;return c.default.createElement("path",y({ref:e,d:p(r.geoGraticule().step(s)()),fill:o,stroke:u,className:"rsm-graticule ".concat(d)},h))}));z.displayName="Graticule",z.propTypes={fill:s.default.string,stroke:s.default.string,step:s.default.array,className:s.default.string};var D=n.memo(z),U=["value"],H=n.createContext(),G={x:0,y:0,k:1,transformString:"translate(0 0) scale(1)"}
1,q=function(t){var n=t.value,e=void 0===n?G:n,r=m(t,U);return c.default.createElement(H.Provider,y({value:e},r))};function Y(t){var e=t.center,r=t.filterZoomEvent,i=t.onMoveStart,u=t.onMoveEnd,l=t.onMove,c=t.translateExtent,s=void 0===c?[[-1/0,-1/0],[1/0,1/0]]:c,f=t.scaleExtent,d=void 0===f?[1,8]:f,h=t.zoom,p=void 0===h?1:h,v=n.useContext(S),y=v.width,m=v.height,b=v.projection,x=g(e,2),w=x[0],A=x[1],M=g(n.useState({x:0,y:0,k:1}),2),k=M[0],_=M[1],E=n.useRef({x:0,y:0,k:1}),I=n.useRef(),P=n.useRef(),O=n.useRef(!1),C=g(s,2),T=C[0],N=C[1],R=g(T,2),L=R[0],F=R[1],z=g(N,2),D=z[0],U=z[1],H=g(d,2),G=H[0],q=H[1];return n.useEffect((function(){var t=a.select(I.current),n=o.zoom().filter((function(t){return r?r(t):!!t&&!t.ctrlKey&&!t.button})).scaleExtent([G,q]).translateExtent([[L,F],[D,U]]).on("start",(function(t){i&&!O.current&&i({coordinates:b.invert(j(y,m,t.transform)),zoom:t.transform.k},t)})).on("zoom",(function(t){if(!O.current){var n=t.transform,e=t.sourceEvent;_({x:n.x,y:n.y,k:n.k,dragging:e}),l&&l({x:n.x,y:n.y,zoom:n.k,dragging:e},t)}})).on("end",(function(t){if(O.current)O.current=!1;else{var n=g(b.invert(j(y,m,t.transform)),2),e=n[0],r=n[1];E.current={x:e,y:r,k:t.transform.k},u&&u({coordinates:[e,r],zoom:t.transform.k},t)}}));P.current=n,t.call(n)}),[y,m,L,F,D,U,G,q,b,i,l,u,r]),n.useEffect((function(){if(w!==E.current.x||A!==E.current.y||p!==E.current.k){var t=b([w,A]),n=t[0]*p,e=t[1]*p,r=a.select(I.current);O.current=!0,r.call(P.current.transform,o.zoomIdentity.translate(y/2-n,m/2-e).scale(p)),_({x:y/2-n,y:m/2-e,k:p}),E.current={x:w,y:A,k:p}}}),[w,A,p,y,m,b]),{mapRef:I,position:k,transformString:"translate(".concat(k.x," ").concat(k.y,") scale(").concat(k.k,")")}}q.propTypes={x:s.default.number,y:s.default.number,k:s.default.number,transformString:s.default.string};var B=["center","zoom","minZoom","maxZoom","translateExtent","filterZoomEvent","onMoveStart","onMove","onMoveEnd","className"],V=n.forwardRef((function(t,e){var r=t.center,i=void 0===r?[0,0]:r,o=t.zoom,a=void 0===o?1:o,u=t.minZoom,l=void 0===u?1:u,s=t.maxZoom,f=void 0===s?8:s,d=t.translateExtent,h=t.filterZoomEvent,p=t.onMoveStart,v=t.onMove,g=t.onMoveEnd,b=t.className,x=m(t,B),w=n.useContext(S),A=w.width,M=w.height,k=Y({center:i,filterZoomEvent:h,onMoveStart:p,onMove:v,onMoveEnd:g,scaleExtent:[l,f],translateExtent:d,zoom:a}),_=k.mapRef,j=k.transformString,E=k.position;return c.default.createElement(q,{value:{x:E.x,y:E.y,k:E.k,transformString:j}},c.default.createElement("g",{ref:_},c.default.createElement("rect",{width:A,height:M,fill:"transparent"}),c.default.createElement("g",y({ref:e,transform:j,className:"rsm-zoomable-group ".concat(b)},x))))}));V.displayName="ZoomableGroup",V.propTypes={center:s.default.array,zoom:s.default.number,minZoom:s.default.number,maxZoom:s.default.number,translateExtent:s.default.arrayOf(s.default.array),onMoveStart:s.default.func,onMove:s.default.func,onMoveEnd:s.default.func,className:s.default.string};var X=["id","fill","stroke","strokeWidth","className"],$=n.forwardRef((function(t,e){var r=t.id,i=void 0===r?"rsm-sphere":r,o=t.fill,a=void 0===o?"transparent":o,u=t.stroke,l=void 0===u?"currentcolor":u,s=t.strokeWidth,f=void 0===s?.5:s,d=t.className,h=void 0===d?"":d,p=m(t,X),v=n.useContext(S).path,g=n.useMemo((function(){return v({type:"Sphere"})}),[v]);return c.default.createElement(n.Fragment,null,c.default.createElement("defs",null,c.default.createElement("clipPath",{id:i},c.default.createElement("path",{d:g}))),c.default.createElement("path",y({ref:e,d:g,fill:a,stroke:l,strokeWidth:f,style:{pointerEvents:"none"},className:"rsm-sphere ".concat(h)},p)))}));$.displayName="Sphere",$.propTypes={id:s.default.string,fill:s.default.string,stroke:s.default.string,strokeWidth:s.default.number,className:s.default.string};var W=n.memo($),Z=["coordinates","children","onMouseEnter","onMouseLeave","onMouseDown","onMouseUp","onFocus","onBlur","style","className"],Q=n.forwardRef((function(t,e){var r=t.coordinates,i=t.children,o=t.onMouseEnter,a=t.onMouseLeave,u=t.onMouseDown,l=t.onMouseUp,s=t.onFocus,f=t.onBlur,d=t.style,h=void 0===d?{}:d,p=t.className,v=void 0===p?"":p,b=m(t,Z),x=n.useContext(S).projection,w=g(n.useState(!1),2),A=w[0],M=w[1],k=g(n.useState(!1),2),_=k[0],j=k[1],E=g(x(r),2),I=E[0],P=E[1];return c.default.createElement("g",y({ref:e,transform:"translate(".concat(I,", ").concat(P,")"),className:"rsm-marker ".concat(v),onMouseEnter:function(t){j(!0),o&&o(t)},onMouseLeave:function(t){j(!1),A&&M(!1),a&&a(t)},onFocus:function(t){j(!0),s&&s(t)},onBlur:function(t){j(!1),A&&M(!1),f&&f(t)},onMouseDown:function(t){M(!0),u&&u(t)},onMouseUp:function(t){M(!1),l&&l(t)}
1,style:h[A||_?A?"pressed":"hover":"default"]},b),i)}));Q.displayName="Marker",Q.propTypes={coordinates:s.default.array,children:s.default.oneOfType([s.default.node,s.default.arrayOf(s.default.node)]),onMouseEnter:s.default.func,onMouseLeave:s.default.func,onMouseDown:s.default.func,onMouseUp:s.default.func,onFocus:s.default.func,onBlur:s.default.func,style:s.default.object,className:s.default.string};var K=["from","to","coordinates","stroke","strokeWidth","fill","className"],J=n.forwardRef((function(t,e){var r=t.from,i=void 0===r?[0,0]:r,o=t.to,a=void 0===o?[0,0]:o,u=t.coordinates,l=t.stroke,s=void 0===l?"currentcolor":l,f=t.strokeWidth,d=void 0===f?3:f,h=t.fill,p=void 0===h?"transparent":h,v=t.className,g=void 0===v?"":v,b=m(t,K),x=n.useContext(S).path,w={type:"LineString",coordinates:u||[i,a]};return c.default.createElement("path",y({ref:e,d:x(w),className:"rsm-line ".concat(g),stroke:s,strokeWidth:d,fill:p},b))}));J.displayName="Line",J.propTypes={from:s.default.array,to:s.default.array,coordinates:s.default.array,stroke:s.default.string,strokeWidth:s.default.number,fill:s.default.string,className:s.default.string};var tt=["subject","children","connectorProps","dx","dy","curve","className"],nt=n.forwardRef((function(t,e){var r=t.subject,i=t.children,o=t.connectorProps,a=t.dx,u=void 0===a?30:a,l=t.dy,s=void 0===l?30:l,f=t.curve,d=void 0===f?0:f,h=t.className,p=void 0===h?"":h,v=m(t,tt),b=g((0,n.useContext(S).projection)(r),2),x=b[0],w=b[1],A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5,r=Array.isArray(e)?e:[e,e],i=t/2*r[0],o=n/2*r[1];return"M".concat(0,",",0," Q",-t/2-i,",").concat(-n/2+o," ").concat(-t,",").concat(-n)}(u,s,d);return c.default.createElement("g",y({ref:e,transform:"translate(".concat(x+u,", ").concat(w+s,")"),className:"rsm-annotation ".concat(p)},v),c.default.createElement("path",y({d:A,fill:"transparent",stroke:"#000"},o)),i)}));nt.displayName="Annotation",nt.propTypes={subject:s.default.array,children:s.default.oneOfType([s.default.node,s.default.arrayOf(s.default.node)]),dx:s.default.number,dy:s.default.number,curve:s.default.number,connectorProps:s.default.object,className:s.default.string},t.Annotation=nt,t.ComposableMap=_,t.Geographies=T,t.Geography=L,t.Graticule=D,t.Line=J,t.MapContext=S,t.MapProvider=M,t.Marker=Q,t.Sphere=W,t.ZoomPanContext=H,t.ZoomPanProvider=q,t.ZoomableGroup=V,t.useGeographies=O,t.useMapContext=function(){return n.useContext(S)},t.useZoomPan=Y,t.useZoomPanContext=function(){return n.useContext(H)}
1,Object.defineProperty(t,"__esModule",{value:!0})},"object"==u(n)?a(n,e(2057),e(55947),e(90685),e(2968),e(41883),e(73661)):(i=[n,e(2057),e(55947),e(90685),e(2968),e(41883),e(73661)],void 0===(o="function"==typeof(r=a)?r.apply(n,i):r)||(t.exports=o))},90685:function(t,n,e){"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,o(r.key),r)}}function o(t){var n=function(t,n){if("object"!=r(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,n||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==r(n)?n:n+""}e.r(n),e.d(n,{geoAlbers:function(){return Pr},geoAlbersUsa:function(){return Or},geoArea:function(){return ut},geoAzimuthalEqualArea:function(){return Rr},geoAzimuthalEqualAreaRaw:function(){return Nr},geoAzimuthalEquidistant:function(){return Fr},geoAzimuthalEquidistantRaw:function(){return Lr},geoBounds:function(){return Gt},geoCentroid:function(){return tn},geoCircle:function(){return dn},geoClipAntimeridian:function(){return Pn},geoClipCircle:function(){return On},geoClipExtent:function(){return Dn},geoClipRectangle:function(){return zn},geoConicConformal:function(){return qr},geoConicConformalRaw:function(){return Gr},geoConicEqualArea:function(){return Ir},geoConicEqualAreaRaw:function(){return Er},geoConicEquidistant:function(){return Xr},geoConicEquidistantRaw:function(){return Vr},geoContains:function(){return ee},geoDistance:function(){return Xn},geoEqualEarth:function(){return ti},geoEqualEarthRaw:function(){return Jr},geoEquirectangular:function(){return Br},geoEquirectangularRaw:function(){return Yr},geoGnomonic:function(){return ei},geoGnomonicRaw:function(){return ni},geoGraticule:function(){return ae},geoGraticule10:function(){return ue},geoIdentity:function(){return ri},geoInterpolate:function(){return le},geoLength:function(){return Yn},geoMercator:function(){return Dr},geoMercatorRaw:function(){return zr},geoNaturalEarth1:function(){return oi},geoNaturalEarth1Raw:function(){return ii},geoOrthographic:function(){return ui},geoOrthographicRaw:function(){return ai},geoPath:function(){return fr},geoProjection:function(){return kr},geoProjectionMutator:function(){return _r},geoRotation:function(){return cn},geoStereographic:function(){return ci},geoStereographicRaw:function(){return li},geoStream:function(){return F},geoTransform:function(){return dr},geoTransverseMercator:function(){return fi},geoTransverseMercatorRaw:function(){return si}});var a=function(){return t=function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this._partials=new Float64Array(32),this._n=0},(n=[{key:"add",value:function(t){for(var n=this._partials,e=0,r=0;r<this._n&&r<32;r++){var i=n[r],o=t+i,a=Math.abs(t)<Math.abs(i)?t-(o-i):i-(o-t);a&&(n[e++]=a),t=o}return n[e]=t,this._n=e+1,this}},{key:"valueOf",value:function(){var t,n,e,r=this._partials,i=this._n,o=0;if(i>0){for(o=r[--i];i>0&&(t=o,!(e=(n=r[--i])-((o=t+n)-t))););i>0&&(e<0&&r[i-1]<0||e>0&&r[i-1]>0)&&(n=2*e)==(t=o+n)-o&&(o=t)}return o}}])&&i(t.prototype,n),e&&i(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,e}();var u=1e-6,l=1e-12,c=Math.PI,s=c/2,f=c/4,d=2*c,h=180/c,p=c/180,v=Math.abs,y=Math.atan,m=Math.atan2,g=Math.cos,b=Math.ceil,x=Math.exp,w=(Math.floor,Math.hypot),A=Math.log,S=Math.pow,M=Math.sin,k=Math.sign||function(t){return t>0?1:t<0?-1:0},_=Math.sqrt,j=Math.tan;function E(t){return t>1?0:t<-1?c:Math.acos(t)}function I(t){return t>1?s:t<-1?-s:Math.asin(t)}function P(t){return(t=M(t/2))*t}function O(){}function C(t,n){t&&N.hasOwnProperty(t.type)&&N[t.type](t,n)}var T={Feature:function(t,n){C(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)C(e[r].geometry,n)}},N={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){R(t.coordinates,n,0)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)R(e[r],n,0)},Polygon:function(t,n){L(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)L(e[r],n)},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)C(e[r],n)}};function R(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 L(t,n){var e=-1,r=t.length;for(n.polygonStart();++e<r;)R(t[e],n,1);n.polygonEnd()}function F(t,n){t&&T.hasOwnProperty(t.type)?T[t.type](t,n):C(t,n)}var z,D,U,H,G,q,Y,B,V,X,$,W,Z,Q,K,J,tt=new a,nt=new a,et={point:O,lineStart:O,lineEnd:O,polygonStart:function(){tt=new a,et.lineStart=rt,et.lineEnd=it},polygonEnd:function(){var t=+tt;nt.add(t<0?d+t:t),this.lineStart=this.lineEnd=this.point=O},sphere:function(){nt.add(d)}};function rt(){et.point=ot}function it(){at(z,D)}function ot(t,n){et.point=at,z=t,D=n,U=t*=p,H=g(n=(n*=p)/2+f),G=M(n)}function at(t,n){var e=(t*=p)-U,r=e>=0?1:-1,i=r*e,o=g(n=(n*=p)/2+f),a=M(n),u=G*a,l=H*o+u*g(i),c=u*r*M(i);tt.add(m(c,l)),U=t,H=o,G=a}function ut(t){return nt=new a,F(t,et),2*nt}function lt(t){return[m(t[1],t[0]),I(t[2])]}function ct(t){var n=t[0],e=t[1],r=g(e);return[r*g(n),r*M(n),M(e)]}function st(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function ft(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 dt(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function ht(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function pt(t){var n=_(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}
1var vt,yt,mt,gt,bt,xt,wt,At,St,Mt,kt,_t,jt,Et,It,Pt,Ot={point:Ct,lineStart:Nt,lineEnd:Rt,polygonStart:function(){Ot.point=Lt,Ot.lineStart=Ft,Ot.lineEnd=zt,Q=new a,et.polygonStart()},polygonEnd:function(){et.polygonEnd(),Ot.point=Ct,Ot.lineStart=Nt,Ot.lineEnd=Rt,tt<0?(q=-(B=180),Y=-(V=90)):Q>u?V=90:Q<-u&&(Y=-90),J[0]=q,J[1]=B},sphere:function(){q=-(B=180),Y=-(V=90)}};function Ct(t,n){K.push(J=[q=t,B=t]),n<Y&&(Y=n),n>V&&(V=n)}function Tt(t,n){var e=ct([t*p,n*p]);if(Z){var r=ft(Z,e),i=ft([r[1],-r[0],0],r);pt(i),i=lt(i);var o,a=t-X,u=a>0?1:-1,l=i[0]*h*u,c=v(a)>180;c^(u*X<l&&l<u*t)?(o=i[1]*h)>V&&(V=o):c^(u*X<(l=(l+360)%360-180)&&l<u*t)?(o=-i[1]*h)<Y&&(Y=o):(n<Y&&(Y=n),n>V&&(V=n)),c?t<X?Dt(q,t)>Dt(q,B)&&(B=t):Dt(t,B)>Dt(q,B)&&(q=t):B>=q?(t<q&&(q=t),t>B&&(B=t)):t>X?Dt(q,t)>Dt(q,B)&&(B=t):Dt(t,B)>Dt(q,B)&&(q=t)}else K.push(J=[q=t,B=t]);n<Y&&(Y=n),n>V&&(V=n),Z=e,X=t}function Nt(){Ot.point=Tt}function Rt(){J[0]=q,J[1]=B,Ot.point=Ct,Z=null}function Lt(t,n){if(Z){var e=t-X;Q.add(v(e)>180?e+(e>0?360:-360):e)}else $=t,W=n;et.point(t,n),Tt(t,n)}function Ft(){et.lineStart()}function zt(){Lt($,W),et.lineEnd(),v(Q)>u&&(q=-(B=180)),J[0]=q,J[1]=B,Z=null}function Dt(t,n){return(n-=t)<0?n+360:n}function Ut(t,n){return t[0]-n[0]}function Ht(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n<t[0]||t[1]<n}function Gt(t){var n,e,r,i,o,a,u;if(V=B=-(q=Y=1/0),K=[],F(t,Ot),e=K.length){for(K.sort(Ut),n=1,o=[r=K[0]];n<e;++n)Ht(r,(i=K[n])[0])||Ht(r,i[1])?(Dt(r[0],i[1])>Dt(r[0],r[1])&&(r[1]=i[1]),Dt(i[0],r[1])>Dt(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,n=0,r=o[e=o.length-1];n<=e;r=i,++n)i=o[n],(u=Dt(r[1],i[0]))>a&&(a=u,q=i[0],B=r[1])}return K=J=null,q===1/0||Y===1/0?[[NaN,NaN],[NaN,NaN]]:[[q,Y],[B,V]]}var qt={sphere:O,point:Yt,lineStart:Vt,lineEnd:Wt,polygonStart:function(){qt.lineStart=Zt,qt.lineEnd=Qt},polygonEnd:function(){qt.lineStart=Vt,qt.lineEnd=Wt}};function Yt(t,n){t*=p;var e=g(n*=p);Bt(e*g(t),e*M(t),M(n))}function Bt(t,n,e){++vt,mt+=(t-mt)/vt,gt+=(n-gt)/vt,bt+=(e-bt)/vt}function Vt(){qt.point=Xt}function Xt(t,n){t*=p;var e=g(n*=p);Et=e*g(t),It=e*M(t),Pt=M(n),qt.point=$t,Bt(Et,It,Pt)}function $t(t,n){t*=p;var e=g(n*=p),r=e*g(t),i=e*M(t),o=M(n),a=m(_((a=It*o-Pt*i)*a+(a=Pt*r-Et*o)*a+(a=Et*i-It*r)*a),Et*r+It*i+Pt*o);yt+=a,xt+=a*(Et+(Et=r)),wt+=a*(It+(It=i)),At+=a*(Pt+(Pt=o)),Bt(Et,It,Pt)}function Wt(){qt.point=Yt}function Zt(){qt.point=Kt}function Qt(){Jt(_t,jt),qt.point=Yt}function Kt(t,n){_t=t,jt=n,t*=p,n*=p,qt.point=Jt;var e=g(n);Et=e*g(t),It=e*M(t),Pt=M(n),Bt(Et,It,Pt)}function Jt(t,n){t*=p;var e=g(n*=p),r=e*g(t),i=e*M(t),o=M(n),a=It*o-Pt*i,u=Pt*r-Et*o,l=Et*i-It*r,c=w(a,u,l),s=I(c),f=c&&-s/c;St.add(f*a),Mt.add(f*u),kt.add(f*l),yt+=s,xt+=s*(Et+(Et=r)),wt+=s*(It+(It=i)),At+=s*(Pt+(Pt=o)),Bt(Et,It,Pt)}function tn(t){vt=yt=mt=gt=bt=xt=wt=At=0,St=new a,Mt=new a,kt=new a,F(t,qt);var n=+St,e=+Mt,r=+kt,i=w(n,e,r);return i<l&&(n=xt,e=wt,r=At,yt<u&&(n=mt,e=gt,r=bt),(i=w(n,e,r))<l)?[NaN,NaN]:[m(e,n)*h,I(r/i)*h]}function nn(t){return function(){return t}}function en(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 rn(t,n){return[v(t)>c?t+Math.round(-t/d)*d:t,n]}function on(t,n,e){return(t%=d)?n||e?en(un(t),ln(n,e)):un(t):n||e?ln(n,e):rn}function an(t){return function(n,e){return[(n+=t)>c?n-d:n<-c?n+d:n,e]}}function un(t){var n=an(t);return n.invert=an(-t),n}function ln(t,n){var e=g(t),r=M(t),i=g(n),o=M(n);function a(t,n){var a=g(n),u=g(t)*a,l=M(t)*a,c=M(n),s=c*e+u*r;return[m(l*i-s*o,u*e-c*r),I(s*i+l*o)]}return a.invert=function(t,n){var a=g(n),u=g(t)*a,l=M(t)*a,c=M(n),s=c*i-l*o;return[m(l*i+c*o,u*e+s*r),I(s*e-u*r)]},a}function cn(t){function n(n){return(n=t(n[0]*p,n[1]*p))[0]*=h,n[1]*=h,n}return t=on(t[0]*p,t[1]*p,t.length>2?t[2]*p:0),n.invert=function(n){return(n=t.invert(n[0]*p,n[1]*p))[0]*=h,n[1]*=h,n},n}function sn(t,n,e,r,i,o){if(e){var a=g(n),u=M(n),l=r*e;null==i?(i=n+r*d,o=n-l/2):(i=fn(a,i),o=fn(a,o),(r>0?i<o:i>o)&&(i+=r*d));for(var c,s=i;r>0?s>o:s<o;s-=l)c=lt([a,-u*g(s),-u*M(s)]),t.point(c[0],c[1])}}function fn(t,n){(n=ct(n))[0]-=t,pt(n);var e=E(-n[1]);return((-n[2]<0?-e:e)+d-u)%d}function dn(){var t,n,e=nn([0,0]),r=nn(90),i=nn(6),o={point:function(e,r){t.push(e=n(e,r)),e[0]*=h,e[1]*=h}};function a(){var a=e.apply(this,arguments),u=r.apply(this,arguments)*p,l=i.apply(this,arguments)*p;return t=[],n=on(-a[0]*p,-a[1]*p,0).invert,sn(o,u,l,1),a={type:"Polygon",coordinates:[t]},t=n=null,a}return a.center=function(t){return arguments.length?(e="function"==typeof t?t:nn([+t[0],+t[1]]),a):e},a.radius=function(t){return arguments.length?(r="function"==typeof t?t:nn(+t),a):r},a.precision=function(t){return arguments.length?(i="function"==typeof t?t:nn(+t),a):i},a}function hn(){var t,n=[];return{point:function(n,e,r){t.push([n,e,r])},lineStart:function(){n.push(t=[])},lineEnd:O,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}function pn(t,n){return v(t[0]-n[0])<u&&v(t[1]-n[1])<u}function vn(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 yn(t,n,e,r,i){var o,a,l=[],c=[];if(t.forEach((function(t){if(!((n=t.length-1)<=0)){var n,e,r=t[0],a=t[n];if(pn(r,a)){if(!r[2]&&!a[2]){for(i.lineStart(),o=0;o<n;++o)i.point((r=t[o])[0],r[1]);return void i.lineEnd()}a[0]+=2*u}l.push(e=new vn(r,t,null,!0)),c.push(e.o=new vn(r,null,e,!1)),l.push(e=new vn(a,t,null,!1)),c.push(e.o=new vn(a,null,e,!0))}})),l.length){for(c.sort(n),mn(l),mn(c),o=0,a=c.length;o<a;++o)c[o].e=e=!e;for(var s,f,d=l[0];;){for(var h=d,p=!0;h.v;)if((h=h.n)===d)return;s=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(o=0,a=s.length;o<a;++o)i.point((f=s[o])[0],f[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(p)for(s=h.p.z,o=s.length-1;o>=0;--o)i.point((f=s[o])[0],f[1]);else r(h.x,h.p.x,-1,i);h=h.p}s=(h=h.o).z,p=!p}while(!h.v);i.lineEnd()}}}function mn(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 gn(t){return v(t[0])<=c?t[0]:k(t[0])*((v(t[0])+c)%d-c)}function bn(t,n){var e=gn(n),r=n[1],i=M(r),o=[M(e),-g(e),0],h=0,p=0,v=new a;1===i?r=s+u:-1===i&&(r=-s-u);for(var y=0,b=t.length;y<b;++y)if(w=(x=t[y]).length)for(var x,w,A=x[w-1],S=gn(A),k=A[1]/2+f,_=M(k),j=g(k),E=0;E<w;++E,S=O,_=T,j=N,A=P){var P=x[E],O=gn(P),C=P[1]/2+f,T=M(C),N=g(C),R=O-S,L=R>=0?1:-1,F=L*R,z=F>c,D=_*T;if(v.add(m(D*L*M(F),j*N+D*g(F))),h+=z?R+L*d:R,z^S>=e^O>=e){var U=ft(ct(A),ct(P));pt(U);var H=ft(o,U);pt(H);var G=(z^R>=0?-1:1)*I(H[2]);(r>G||r===G&&(U[0]||U[1]))&&(p+=z^R>=0?1:-1)}}return(h<-u||h<u&&v<-l)^1&p}function xn(t){return xn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xn(t)}function wn(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */wn=function(){return n};var t,n={},e=Object.prototype,r=e.hasOwnProperty,i=Object.defineProperty||function(t,n,e){t[n]=e.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{c({},"")}catch(t){c=function(t,n,e){return t[n]=e}}function s(t,n,e,r){var o=n&&n.prototype instanceof m?n:m,a=Object.create(o.prototype),u=new P(r||[]);return i(a,"_invoke",{value:_(t,e,u)}),a}function f(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}n.wrap=s;var d="suspendedStart",h="suspendedYield",p="executing",v="completed",y={};function m(){}function g(){}function b(){}var x={};c(x,a,(function(){return this}));var w=Object.getPrototypeOf,A=w&&w(w(O([])));A&&A!==e&&r.call(A,a)&&(x=A);var S=b.prototype=m.prototype=Object.create(x);function M(t){["next","throw","return"].forEach((function(n){c(t,n,(function(t){return this._invoke(n,t)}))}))}function k(t,n){function e(i,o,a,u){var l=f(t[i],t,o);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==xn(s)&&r.call(s,"__await")?n.resolve(s.__await).then((function(t){e("next",t,a,u)}),(function(t){e("throw",t,a,u)})):n.resolve(s).then((function(t){c.value=t,a(c)}),(function(t){return e("throw",t,a,u)}))}u(l.arg)}var o;i(this,"_invoke",{value:function(t,r){function i(){return new n((function(n,i){e(t,r,n,i)}))}return o=o?o.then(i,i):i()}})}function _(n,e,r){var i=d;return function(o,a){if(i===p)throw Error("Generator is already running");if(i===v){if("throw"===o)throw a;return{value:t,done:!0}}for(r.method=o,r.arg=a;;){var u=r.delegate;if(u){var l=j(u,r);if(l){if(l===y)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var c=f(n,e,r);if("normal"===c.type){if(i=r.done?v:h,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=v,r.method="throw",r.arg=c.arg)}}}function j(n,e){var r=e.method,i=n.iterator[r];if(i===t)return e.delegate=null,"throw"===r&&n.iterator.return&&
1(e.method="return",e.arg=t,j(n,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var o=f(i,n.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var a=o.arg;return a?a.done?(e[n.resultName]=a.value,e.next=n.nextLoc,"return"!==e.method&&(e.method="next",e.arg=t),e.delegate=null,y):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function E(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function I(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(n){if(n||""===n){var e=n[a];if(e)return e.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var i=-1,o=function e(){for(;++i<n.length;)if(r.call(n,i))return e.value=n[i],e.done=!1,e;return e.value=t,e.done=!0,e};return o.next=o}}throw new TypeError(xn(n)+" is not iterable")}return g.prototype=b,i(S,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:g,configurable:!0}),g.displayName=c(b,l,"GeneratorFunction"),n.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===g||"GeneratorFunction"===(n.displayName||n.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,l,"GeneratorFunction")),t.prototype=Object.create(S),t},n.awrap=function(t){return{__await:t}},M(k.prototype),c(k.prototype,u,(function(){return this})),n.AsyncIterator=k,n.async=function(t,e,r,i,o){void 0===o&&(o=Promise);var a=new k(s(t,e,r,i),o);return n.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},M(S),c(S,l,"Generator"),c(S,a,(function(){return this})),c(S,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var n=Object(t),e=[];for(var r in n)e.push(r);return e.reverse(),function t(){for(;e.length;){var r=e.pop();if(r in n)return t.value=r,t.done=!1,t}return t.done=!0,t}},n.values=O,P.prototype={constructor:P,reset:function(n){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(I),!n)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var e=this;function i(r,i){return u.type="throw",u.arg=n,e.next=r,i&&(e.method="next",e.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=n,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),y},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),I(e),y}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var i=r.arg;I(e)}return i}}throw Error("illegal catch attempt")},delegateYield:function(n,e,r){return this.delegate={iterator:O(n),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=t),y}},n}rn.invert=rn;var An=wn().mark(kn);function Sn(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return Mn(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Mn(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return a=t.done,t},e:function(t){u=!0,o=t},f:function(){try{a||null==e.return||e.return()}finally{if(u)throw o}}}}function Mn(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function kn(t){var n,e,r;return wn().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:n=Sn(t),i.prev=1,n.s();case 3:if((e=n.n()).done){i.next=8;break}return r=e.value,i.delegateYield(r,"t0",6);case 6:i.next=3;break;case 8:i.next=13;break;case 10:i.prev=10,i.t1=i.catch(1),n.e(i.t1);case 13:return i.prev=13,n.f(),i.finish(13);case 16:case"end":return i.stop()}}),An,null,[[1,10,13,16]])}function _n(t){return Array.from(kn(t))}function jn(t,n,e,r){return function(i){var o,a,u,l=n(i),c=hn(),s=n(c),f=!1,d={point:h,lineStart:v,lineEnd:y,polygonStart:function(){d.point=m,d.lineStart=g,d.lineEnd=b,a=[],o=[]},polygonEnd:function(){d.point=h,d.lineStart=v,d.lineEnd=y,a=_n(a);var t=bn(o,r);a.length?(f||(i.polygonStart(),f=!0),yn(a,In,t,e,i)):t&&(f||(i.polygonStart(),f=!0),i.lineStart(),e(null,null,1,i),i.lineEnd()),f&&(i.polygonEnd(),f=!1),a=o=null},sphere:function(){i.polygonStart(),i.lineStart(),e(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function h(n,e){t(n,e)&&i.point(n,e)}function p(t,n){l.point(t,n)}function v(){d.point=p,l.lineStart()}function y(){d.point=h,l.lineEnd()}function m(t,n){u.push([t,n]),s.point(t,n)}function g(){s.lineStart(),u=[]}function b(){m(u[0][0],u[0][1]),s.lineEnd();var t,n,e,r,l=s.clean(),d=c.result(),h=d.length;if(u.pop(),o.push(u),u=null,h)if(1&l){if((n=(e=d[0]).length-1)>0){for(f||(i.polygonStart(),f=!0),i.lineStart(),t=0;t<n;++t)i.point((r=e[t])[0],r[1]);i.lineEnd()}}else h>1&&2&l&&d.push(d.pop().concat(d.shift())),a.push(d.filter(En))}return d}}function En(t){return t.length>1}function In(t,n){return((t=t.x)[0]<0?t[1]-s-u:s-t[1])-((n=n.x)[0]<0?n[1]-s-u:s-n[1])}var Pn=jn((function(){return!0}),(function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,a){var l=o>0?c:-c,f=v(o-e);v(f-c)<u?(t.point(e,r=(r+a)/2>0?s:-s),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(l,r),t.point(o,r),n=0):i!==l&&f>=c&&(v(e-i)<u&&(e-=i*u),v(o-l)<u&&(o-=l*u),r=function(t,n,e,r){var i,o,a=M(t-e);return v(a)>u?y((M(n)*(o=g(r))*M(e)-M(r)*(i=g(n))*M(t))/(i*o*a)):(n+r)/2}(e,r,o,a),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(l,r),n=0),t.point(e=o,r=a),i=l},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}}),(function(t,n,e,r){var i;if(null==t)i=e*s,r.point(-c,i),r.point(0,i),r.point(c,i),r.point(c,0),r.point(c,-i),r.point(0,-i),r.point(-c,-i),r.point(-c,0),r.point(-c,i);else if(v(t[0]-n[0])>u){var o=t[0]<n[0]?c:-c;i=e*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(n[0],n[1])}),[-c,-s]);function On(t){var n=g(t),e=6*p,r=n>0,i=v(n)>u;function o(t,e){return g(t)*g(e)>n}function a(t,e,r){var i=[1,0,0],o=ft(ct(t),ct(e)),a=st(o,o),l=o[0],s=a-l*l;if(!s)return!r&&t;var f=n*a/s,d=-n*l/s,h=ft(i,o),p=ht(i,f);dt(p,ht(o,d));var y=h,m=st(p,y),g=st(y,y),b=m*m-g*(st(p,p)-1);if(!(b<0)){var x=_(b),w=ht(y,(-m-x)/g);if(dt(w,p),w=lt(w),!r)return w;var A,S=t[0],M=e[0],k=t[1],j=e[1];M<S&&(A=S,S=M,M=A);var E=M-S,I=v(E-c)<u;if(!I&&j<k&&(A=k,k=j,j=A),I||E<u?I?k+j>
vendor: 8,206 bytes, line 1
10^w[1]<(v(w[0]-S)<u?k:j):k<=w[1]&&w[1]<=j:E>c^(S<=w[0]&&w[0]<=M)){var P=ht(y,(-m+x)/g);return dt(P,p),[w,lt(P)]}}}function l(n,e){var i=r?t:c-t,o=0;return n<-i?o|=1:n>i&&(o|=2),e<-i?o|=4:e>i&&(o|=8),o}return jn(o,(function(t){var n,e,u,s,f;return{lineStart:function(){s=u=!1,f=1},point:function(d,h){var p,v=[d,h],y=o(d,h),m=r?y?0:l(d,h):y?l(d+(d<0?c:-c),h):0;if(!n&&(s=u=y)&&t.lineStart(),y!==u&&(!(p=a(n,v))||pn(n,p)||pn(v,p))&&(v[2]=1),y!==u)f=0,y?(t.lineStart(),p=a(v,n),t.point(p[0],p[1])):(p=a(n,v),t.point(p[0],p[1],2),t.lineEnd()),n=p;else if(i&&n&&r^y){var g;m&e||!(g=a(v,n,!0))||(f=0,r?(t.lineStart(),t.point(g[0][0],g[0][1]),t.point(g[1][0],g[1][1]),t.lineEnd()):(t.point(g[1][0],g[1][1]),t.lineEnd(),t.lineStart(),t.point(g[0][0],g[0][1],3)))}!y||n&&pn(n,v)||t.point(v[0],v[1]),n=v,u=y,e=m},lineEnd:function(){u&&t.lineEnd(),n=null},clean:function(){return f|(s&&u)<<1}}}),(function(n,r,i,o){sn(o,t,e,i,n,r)}),r?[0,-t]:[-c,t-c])}var Cn,Tn,Nn,Rn,Ln=1e9,Fn=-Ln;function zn(t,n,e,r){function i(i,o){return t<=i&&i<=e&&n<=o&&o<=r}function o(i,o,u,l){var s=0,f=0;if(null==i||(s=a(i,u))!==(f=a(o,u))||c(i,o)<0^u>0)do{l.point(0===s||3===s?t:e,s>1?r:n)}while((s=(s+u+4)%4)!==f);else l.point(o[0],o[1])}function a(r,i){return v(r[0]-t)<u?i>0?0:3:v(r[0]-e)<u?i>0?2:1:v(r[1]-n)<u?i>0?1:0:i>0?3:2}function l(t,n){return c(t.x,n.x)}function c(t,n){var e=a(t,1),r=a(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(a){var u,c,s,f,d,h,p,v,y,m,g,b=a,x=hn(),w={point:A,lineStart:function(){w.point=S,c&&c.push(s=[]);m=!0,y=!1,p=v=NaN},lineEnd:function(){u&&(S(f,d),h&&y&&x.rejoin(),u.push(x.result()));w.point=A,y&&b.lineEnd()},polygonStart:function(){b=x,u=[],c=[],g=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,i=c.length;e<i;++e)for(var o,a,u=c[e],l=1,s=u.length,f=u[0],d=f[0],h=f[1];l<s;++l)o=d,a=h,d=(f=u[l])[0],h=f[1],a<=r?h>r&&(d-o)*(r-a)>(h-a)*(t-o)&&++n:h<=r&&(d-o)*(r-a)<(h-a)*(t-o)&&--n;return n}(),e=g&&n,i=(u=_n(u)).length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),i&&yn(u,l,n,o,a),a.polygonEnd());b=a,u=c=s=null}};function A(t,n){i(t,n)&&b.point(t,n)}function S(o,a){var u=i(o,a);if(c&&s.push([o,a]),m)f=o,d=a,h=u,m=!1,u&&(b.lineStart(),b.point(o,a));else if(u&&y)b.point(o,a);else{var l=[p=Math.max(Fn,Math.min(Ln,p)),v=Math.max(Fn,Math.min(Ln,v))],x=[o=Math.max(Fn,Math.min(Ln,o)),a=Math.max(Fn,Math.min(Ln,a))];!function(t,n,e,r,i,o){var a,u=t[0],l=t[1],c=0,s=1,f=n[0]-u,d=n[1]-l;if(a=e-u,f||!(a>0)){if(a/=f,f<0){if(a<c)return;a<s&&(s=a)}else if(f>0){if(a>s)return;a>c&&(c=a)}if(a=i-u,f||!(a<0)){if(a/=f,f<0){if(a>s)return;a>c&&(c=a)}else if(f>0){if(a<c)return;a<s&&(s=a)}if(a=r-l,d||!(a>0)){if(a/=d,d<0){if(a<c)return;a<s&&(s=a)}else if(d>0){if(a>s)return;a>c&&(c=a)}if(a=o-l,d||!(a<0)){if(a/=d,d<0){if(a>s)return;a>c&&(c=a)}else if(d>0){if(a<c)return;a<s&&(s=a)}return c>0&&(t[0]=u+c*f,t[1]=l+c*d),s<1&&(n[0]=u+s*f,n[1]=l+s*d),!0}}}}}(l,x,t,n,e,r)?u&&(b.lineStart(),b.point(o,a),g=!1):(y||(b.lineStart(),b.point(l[0],l[1])),b.point(x[0],x[1]),u||b.lineEnd(),g=!1)}p=o,v=a,y=u}return w}}function Dn(){var t,n,e,r=0,i=0,o=960,a=500;return e={stream:function(e){return t&&n===e?t:t=zn(r,i,o,a)(n=e)},extent:function(u){return arguments.length?(r=+u[0][0],i=+u[0][1],o=+u[1][0],a=+u[1][1],t=n=null,e):[[r,i],[o,a]]}}}var Un={sphere:O,point:O,lineStart:function(){Un.point=Gn,Un.lineEnd=Hn},lineEnd:O,polygonStart:O,polygonEnd:O};function Hn(){Un.point=Un.lineEnd=O}function Gn(t,n){Tn=t*=p,Nn=M(n*=p),Rn=g(n),Un.point=qn}function qn(t,n){t*=p;var e=M(n*=p),r=g(n),i=v(t-Tn),o=g(i),a=r*M(i),u=Rn*e-Nn*r*o,l=Nn*e+Rn*r*o;Cn.add(m(_(a*a+u*u),l)),Tn=t,Nn=e,Rn=r}function Yn(t){return Cn=new a,F(t,Un),+Cn}var Bn=[null,null],Vn={type:"LineString",coordinates:Bn};function Xn(t,n){return Bn[0]=t,Bn[1]=n,Yn(Vn)}var $n={Feature:function(t,n){return Zn(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)if(Zn(e[r].geometry,n))return!0;return!1}},Wn={Sphere:function(){return!0},Point:function(t,n){return Qn(t.coordinates,n)},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(Qn(e[r],n))return!0;return!1},LineString:function(t,n){return Kn(t.coordinates,n)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(Kn(e[r],n))return!0;return!1},Polygon:function(t,n){return Jn(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(Jn(e[r],n))return!0;return!1},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)if(Zn(e[r],n))return!0;return!1}};function Zn(t,n){return!(!t||!Wn.hasOwnProperty(t.type))&&Wn[t.type](t,n)}function Qn(t,n){return 0===Xn(t,n)}function Kn(t,n){for(var e,r,i,o=0,a=t.length;o<a;o++){if(0===(r=Xn(t[o],n)))return!0;if(o>0&&(i=Xn(t[o],t[o-1]))>0&&e<=i&&r<=i&&(e+r-i)*(1-Math.pow((e-r)/i,2))<l*i)return!0;e=r}return!1}function Jn(t,n){return!!bn(t.map(te),ne(n))}function te(t){return(t=t.map(ne)).pop(),t}function ne(t){return[t[0]*p,t[1]*p]}function ee(t,n){return(t&&$n.hasOwnProperty(t.type)?$n[t.type]:Zn)(t,n)}function re(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 ie(t,n,e){var r=re(t,n-u,e).concat(n);return function(t){return r.map((function(n){return[t,n]}))}}function oe(t,n,e){var r=re(t,n-u,e).concat(n);return function(t){return r.map((function(n){return[n,t]}))}}function ae(){var t,n,e,r,i,o,a,l,c,s,f,d,h=10,p=h,y=90,m=360,g=2.5;function x(){return{type:"MultiLineString",coordinates:w()}}function w(){return re(b(r/y)*y,e,y).map(f).concat(re(b(l/m)*m,a,m).map(d)).concat(re(b(n/h)*h,t,h).filter((function(t){return v(t%y)>u})).map(c)).concat(re(b(o/p)*p,i,p).filter((function(t){return v(t%m)>u})).map(s))}return x.lines=function(){return w().map((function(t){return{type:"LineString",coordinates:t}}))},x.outline=function(){return{type:"Polygon",coordinates:[f(r).concat(d(a).slice(1),f(e).reverse().slice(1),d(l).reverse().slice(1))]}},x.extent=function(t){return arguments.length?x.extentMajor(t).extentMinor(t):x.extentMinor()},x.extentMajor=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],l=+t[0][1],a=+t[1][1],r>e&&(t=r,r=e,e=t),l>a&&(t=l,l=a,a=t),x.precision(g)):[[r,l],[e,a]]},x.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),x.precision(g)):[[n,o],[t,i]]},x.step=function(t){return arguments.length?x.stepMajor(t).stepMinor(t):x.stepMinor()},x.stepMajor=function(t){return arguments.length?(y=+t[0],m=+t[1],x):[y,m]},x.stepMinor=function(t){return arguments.length?(h=+t[0],p=+t[1],x):[h,p]},x.precision=function(u){return arguments.length?(g=+u,c=ie(o,i,90),s=oe(n,t,g),f=ie(l,a,90),d=oe(r,e,g),x):g},x.extentMajor([[-180,-90+u],[180,90-u]]).extentMinor([[-180,-80-u],[180,80+u]])}function ue(){return ae()()}function le(t,n){var e=t[0]*p,r=t[1]*p,i=n[0]*p,o=n[1]*p,a=g(r),u=M(r),l=g(o),c=M(o),s=a*g(e),f=a*M(e),d=l*g(i),v=l*M(i),y=2*I(_(P(o-r)+a*l*P(i-e))),b=M(y),x=y?function(t){var n=M(t*=y)/b,e=M(y-t)/b,r=e*s+n*d,i=e*f+n*v,o=e*u+n*c;return[m(i,r)*h,m(o,_(r*r+i*i))*h]}:function(){return[e*h,r*h]};return x.distance=y,x}var ce,se,fe,de,he=function(t){return t},pe=new a,ve=new a,ye={point:O,lineStart:O,lineEnd:O,polygonStart:function(){ye.lineStart=me,ye.lineEnd=xe},polygonEnd:function(){ye.lineStart=ye.lineEnd=ye.point=O,pe.add(v(ve)),ve=new a},result:function(){var t=pe/2;return pe=new a,t}};function me(){ye.point=ge}function ge(t,n){ye.point=be,ce=fe=t,se=de=n}function be(t,n){ve.add(de*t-fe*n),fe=t,de=n}function xe(){be(ce,se)}var we=ye,Ae=1/0,Se=Ae,Me=-Ae,ke=Me,_e={point:function(t,n){t<Ae&&(Ae=t);t>Me&&(Me=t);n<Se&&(Se=n);n>ke&&(ke=n)},lineStart:O,lineEnd:O,polygonStart:O,polygonEnd:O,result:function(){var t=[[Ae,Se],[Me,ke]];return Me=ke=-(Se=Ae=1/0),t}};var je,Ee,Ie,Pe,Oe=_e,Ce=0,Te=0,Ne=0,Re=0,Le=0,Fe=0,ze=0,De=0,Ue=0,He={point:Ge,lineStart:qe,lineEnd:Ve,polygonStart:function(){He.lineStart=Xe,He.lineEnd=$e},polygonEnd:function(){He.point=Ge,He.lineStart=qe,He.lineEnd=Ve},result:function(){var t=Ue?[ze/Ue,De/Ue]:Fe?[Re/Fe,Le/Fe]:Ne?[Ce/Ne,Te/Ne]:[NaN,NaN];
vendor: 4,644 bytes, line 1
1return Ce=Te=Ne=Re=Le=Fe=ze=De=Ue=0,t}};function Ge(t,n){Ce+=t,Te+=n,++Ne}function qe(){He.point=Ye}function Ye(t,n){He.point=Be,Ge(Ie=t,Pe=n)}function Be(t,n){var e=t-Ie,r=n-Pe,i=_(e*e+r*r);Re+=i*(Ie+t)/2,Le+=i*(Pe+n)/2,Fe+=i,Ge(Ie=t,Pe=n)}function Ve(){He.point=Ge}function Xe(){He.point=We}function $e(){Ze(je,Ee)}function We(t,n){He.point=Ze,Ge(je=Ie=t,Ee=Pe=n)}function Ze(t,n){var e=t-Ie,r=n-Pe,i=_(e*e+r*r);Re+=i*(Ie+t)/2,Le+=i*(Pe+n)/2,Fe+=i,ze+=(i=Pe*t-Ie*n)*(Ie+t),De+=i*(Pe+n),Ue+=3*i,Ge(Ie=t,Pe=n)}var Qe=He;function Ke(t){this._context=t}Ke.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,d)}},result:O};var Je,tr,nr,er,rr,ir=new a,or={point:O,lineStart:function(){or.point=ar},lineEnd:function(){Je&&ur(tr,nr),or.point=O},polygonStart:function(){Je=!0},polygonEnd:function(){Je=null},result:function(){var t=+ir;return ir=new a,t}};function ar(t,n){or.point=ur,tr=er=t,nr=rr=n}function ur(t,n){er-=t,rr-=n,ir.add(_(er*er+rr*rr)),er=t,rr=n}var lr=or;function cr(){this._string=[]}function sr(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function fr(t,n){var e,r,i=4.5;function o(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),F(t,e(r))),r.result()}return o.area=function(t){return F(t,e(we)),we.result()},o.measure=function(t){return F(t,e(lr)),lr.result()},o.bounds=function(t){return F(t,e(Oe)),Oe.result()},o.centroid=function(t){return F(t,e(Qe)),Qe.result()},o.projection=function(n){return arguments.length?(e=null==n?(t=null,he):(t=n).stream,o):t},o.context=function(t){return arguments.length?(r=null==t?(n=null,new cr):new Ke(n=t),"function"!=typeof i&&r.pointRadius(i),o):n},o.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),o):i},o.projection(t).context(n)}function dr(t){return{stream:hr(t)}}function hr(t){return function(n){var e=new pr;for(var r in t)e[r]=t[r];return e.stream=n,e}}function pr(){}function vr(t,n,e){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),F(e,t.stream(Oe)),n(Oe.result()),null!=r&&t.clipExtent(r),t}function yr(t,n,e){return vr(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])),a=+n[0][0]+(r-o*(e[1][0]+e[0][0]))/2,u=+n[0][1]+(i-o*(e[1][1]+e[0][1]))/2;t.scale(150*o).translate([a,u])}),e)}function mr(t,n,e){return yr(t,[[0,0],n],e)}function gr(t,n,e){return vr(t,(function(e){var r=+n,i=r/(e[1][0]-e[0][0]),o=(r-i*(e[1][0]+e[0][0]))/2,a=-i*e[0][1];t.scale(150*i).translate([o,a])}),e)}function br(t,n,e){return vr(t,(function(e){var r=+n,i=r/(e[1][1]-e[0][1]),o=-i*e[0][0],a=(r-i*(e[1][1]+e[0][1]))/2;t.scale(150*i).translate([o,a])}),e)}cr.prototype={_radius:4.5,_circle:sr(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:null==this._circle&&(this._circle=sr(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}},pr.prototype={constructor:pr,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 xr=16,wr=g(30*p);function Ar(t,n){return+n?function(t,n){function e(r,i,o,a,l,c,s,f,d,h,p,y,g,b){var x=s-r,w=f-i,A=x*x+w*w;if(A>4*n&&g--){var S=a+h,M=l+p,k=c+y,j=_(S*S+M*M+k*k),E=I(k/=j),P=v(v(k)-1)<u||v(o-d)<u?(o+d)/2:m(M,S),O=t(P,E),C=O[0],T=O[1],N=C-r,R=T-i,L=w*N-x*R;(L*L/A>n||v((x*N+w*R)/A-.5)>.3||a*h+l*p+c*y<wr)&&(e(r,i,o,a,l,c,C,T,P,S/=j,M/=j,k,g,b),b.point(C,T),e(C,T,P,S,M,k,s,f,d,h,p,y,g,b))}}return function(n){var r,i,o,a,u,l,c,s,f,d,h,p,v={point:y,lineStart:m,lineEnd:b,polygonStart:function(){n.pol
vendor: 4,952 bytes, line 1
1ygonStart(),v.lineStart=x},polygonEnd:function(){n.polygonEnd(),v.lineStart=m}};function y(e,r){e=t(e,r),n.point(e[0],e[1])}function m(){s=NaN,v.point=g,n.lineStart()}function g(r,i){var o=ct([r,i]),a=t(r,i);e(s,f,c,d,h,p,s=a[0],f=a[1],c=r,d=o[0],h=o[1],p=o[2],xr,n),n.point(s,f)}function b(){v.point=y,n.lineEnd()}function x(){m(),v.point=w,v.lineEnd=A}function w(t,n){g(r=t,n),i=s,o=f,a=d,u=h,l=p,v.point=g}function A(){e(s,f,c,d,h,p,i,o,r,a,u,l,xr,n),v.lineEnd=b,b()}return v}}(t,n):function(t){return hr({point:function(n,e){n=t(n,e),this.stream.point(n[0],n[1])}})}(t)}var Sr=hr({point:function(t,n){this.stream.point(t*p,n*p)}});function Mr(t,n,e,r,i,o){if(!o)return function(t,n,e,r,i){function o(o,a){return[n+t*(o*=r),e-t*(a*=i)]}return o.invert=function(o,a){return[(o-n)/t*r,(e-a)/t*i]},o}(t,n,e,r,i);var a=g(o),u=M(o),l=a*t,c=u*t,s=a/t,f=u/t,d=(u*e-a*n)/t,h=(u*n+a*e)/t;function p(t,o){return[l*(t*=r)-c*(o*=i)+n,e-c*t-l*o]}return p.invert=function(t,n){return[r*(s*t-f*n+d),i*(h-f*t-s*n)]},p}function kr(t){return _r((function(){return t}))()}function _r(t){var n,e,r,i,o,a,u,l,c,s,f=150,d=480,v=250,y=0,m=0,g=0,b=0,x=0,w=0,A=1,S=1,M=null,k=Pn,j=null,E=he,I=.5;function P(t){return l(t[0]*p,t[1]*p)}function O(t){return(t=l.invert(t[0],t[1]))&&[t[0]*h,t[1]*h]}function C(){var t=Mr(f,0,0,A,S,w).apply(null,n(y,m)),r=Mr(f,d-t[0],v-t[1],A,S,w);return e=on(g,b,x),u=en(n,r),l=en(e,u),a=Ar(u,I),T()}function T(){return c=s=null,P}return P.stream=function(t){return c&&s===t?c:c=Sr(function(t){return hr({point:function(n,e){var r=t(n,e);return this.stream.point(r[0],r[1])}})}(e)(k(a(E(s=t)))))},P.preclip=function(t){return arguments.length?(k=t,M=void 0,T()):k},P.postclip=function(t){return arguments.length?(E=t,j=r=i=o=null,T()):E},P.clipAngle=function(t){return arguments.length?(k=+t?On(M=t*p):(M=null,Pn),T()):M*h},P.clipExtent=function(t){return arguments.length?(E=null==t?(j=r=i=o=null,he):zn(j=+t[0][0],r=+t[0][1],i=+t[1][0],o=+t[1][1]),T()):null==j?null:[[j,r],[i,o]]},P.scale=function(t){return arguments.length?(f=+t,C()):f},P.translate=function(t){return arguments.length?(d=+t[0],v=+t[1],C()):[d,v]},P.center=function(t){return arguments.length?(y=t[0]%360*p,m=t[1]%360*p,C()):[y*h,m*h]},P.rotate=function(t){return arguments.length?(g=t[0]%360*p,b=t[1]%360*p,x=t.length>2?t[2]%360*p:0,C()):[g*h,b*h,x*h]},P.angle=function(t){return arguments.length?(w=t%360*p,C()):w*h},P.reflectX=function(t){return arguments.length?(A=t?-1:1,C()):A<0},P.reflectY=function(t){return arguments.length?(S=t?-1:1,C()):S<0},P.precision=function(t){return arguments.length?(a=Ar(u,I=t*t),T()):_(I)},P.fitExtent=function(t,n){return yr(P,t,n)},P.fitSize=function(t,n){return mr(P,t,n)},P.fitWidth=function(t,n){return gr(P,t,n)},P.fitHeight=function(t,n){return br(P,t,n)},function(){return n=t.apply(this,arguments),P.invert=n.invert&&O,C()}}function jr(t){var n=0,e=c/3,r=_r(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*p,e=t[1]*p):[n*h,e*h]},i}function Er(t,n){var e=M(t),r=(e+M(n))/2;if(v(r)<u)return function(t){var n=g(t);function e(t,e){return[t*n,M(e)/n]}return e.invert=function(t,e){return[t/n,I(e*n)]},e}(t);var i=1+e*(2*r-e),o=_(i)/r;function a(t,n){var e=_(i-2*r*M(n))/r;return[e*M(t*=r),o-e*g(t)]}return a.invert=function(t,n){var e=o-n,a=m(t,v(e))*k(e);return e*r<0&&(a-=c*k(t)*k(e)),[a/r,I((i-(t*t+e*e)*r*r)/(2*r))]},a}function Ir(){return jr(Er).scale(155.424).center([0,33.6442])}function Pr(){return Ir().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function Or(){var t,n,e,r,i,o,a=Pr(),l=Ir().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=Ir().rotate([157,0]).center([-3,19.9]).parallels([8,18]),s={point:function(t,n){o=[t,n]}};function f(t){var n=t[0],a=t[1];return o=null,e.point(n,a),o||(r.point(n,a),o)||(i.point(n,a),o)}function d(){return t=n=null,f}return f.invert=function(t){var n=a.scale(),e=a.translate(),r=(t[0]-e[0])/n,i=(t[1]-e[1])/n;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?l:i>=.166&&i<.234&&r>=-.214&&r<-.115?c:a).invert(t)},f.stream=function(e){return t&&n===e?t:(r=[a.stream(n=e),l.stream(e),c.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e<i;)r[e].point(t,n)},sphere:function(){for(var t=-1;++t<i;)r[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)r[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)r[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)r[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)r[t].polygonEnd()}});var r,i},f.precision=function(t){return arguments.length?(a.precision(t),l.precision(t),c.precision(t),d()):a.precision()},f.scale=function(t){return arguments.length?(a.scale(t),l.scale(.35*t),c.scale(t),f.translate(a.translate())):a.scale()},f.translate=function(t){if(!arguments.length)return a.translate();var n=a.scale(),o=+t[0],f=+t[1];return e=a.translate(t).clipExtent([[o-.455*n,f-.238*n],[o+.455*n,f+.238*n]]).stream(s),r=l.translate([o-.307
vendor: 4,876 bytes, line 1
1*n,f+.201*n]).clipExtent([[o-.425*n+u,f+.12*n+u],[o-.214*n-u,f+.234*n-u]]).stream(s),i=c.translate([o-.205*n,f+.212*n]).clipExtent([[o-.214*n+u,f+.166*n+u],[o-.115*n-u,f+.234*n-u]]).stream(s),d()},f.fitExtent=function(t,n){return yr(f,t,n)},f.fitSize=function(t,n){return mr(f,t,n)},f.fitWidth=function(t,n){return gr(f,t,n)},f.fitHeight=function(t,n){return br(f,t,n)},f.scale(1070)}function Cr(t){return function(n,e){var r=g(n),i=g(e),o=t(r*i);return o===1/0?[2,0]:[o*i*M(n),o*M(e)]}}function Tr(t){return function(n,e){var r=_(n*n+e*e),i=t(r),o=M(i),a=g(i);return[m(n*o,r*a),I(r&&e*o/r)]}}var Nr=Cr((function(t){return _(2/(1+t))}));function Rr(){return kr(Nr).scale(124.75).clipAngle(179.999)}Nr.invert=Tr((function(t){return 2*I(t/2)}));var Lr=Cr((function(t){return(t=E(t))&&t/M(t)}));function Fr(){return kr(Lr).scale(79.4188).clipAngle(179.999)}function zr(t,n){return[t,A(j((s+n)/2))]}function Dr(){return Ur(zr).scale(961/d)}function Ur(t){var n,e,r,i=kr(t),o=i.center,a=i.scale,u=i.translate,l=i.clipExtent,s=null;function f(){var o=c*a(),u=i(cn(i.rotate()).invert([0,0]));return l(null==s?[[u[0]-o,u[1]-o],[u[0]+o,u[1]+o]]:t===zr?[[Math.max(u[0]-o,s),n],[Math.min(u[0]+o,e),r]]:[[s,Math.max(u[1]-o,n)],[e,Math.min(u[1]+o,r)]])}return i.scale=function(t){return arguments.length?(a(t),f()):a()},i.translate=function(t){return arguments.length?(u(t),f()):u()},i.center=function(t){return arguments.length?(o(t),f()):o()},i.clipExtent=function(t){return arguments.length?(null==t?s=n=e=r=null:(s=+t[0][0],n=+t[0][1],e=+t[1][0],r=+t[1][1]),f()):null==s?null:[[s,n],[e,r]]},f()}function Hr(t){return j((s+t)/2)}function Gr(t,n){var e=g(t),r=t===n?M(t):A(e/g(n))/A(Hr(n)/Hr(t)),i=e*S(Hr(t),r)/r;if(!r)return zr;function o(t,n){i>0?n<-s+u&&(n=-s+u):n>s-u&&(n=s-u);var e=i/S(Hr(n),r);return[e*M(r*t),i-e*g(r*t)]}return o.invert=function(t,n){var e=i-n,o=k(r)*_(t*t+e*e),a=m(t,v(e))*k(e);return e*r<0&&(a-=c*k(t)*k(e)),[a/r,2*y(S(i/o,1/r))-s]},o}function qr(){return jr(Gr).scale(109.5).parallels([30,30])}function Yr(t,n){return[t,n]}function Br(){return kr(Yr).scale(152.63)}function Vr(t,n){var e=g(t),r=t===n?M(t):(e-g(n))/(n-t),i=e/r+t;if(v(r)<u)return Yr;function o(t,n){var e=i-n,o=r*t;return[e*M(o),i-e*g(o)]}return o.invert=function(t,n){var e=i-n,o=m(t,v(e))*k(e);return e*r<0&&(o-=c*k(t)*k(e)),[o/r,i-k(r)*_(t*t+e*e)]},o}function Xr(){return jr(Vr).scale(131.154).center([0,13.9389])}Lr.invert=Tr((function(t){return t})),zr.invert=function(t,n){return[t,2*y(x(n))-s]},Yr.invert=Yr;var $r=1.340264,Wr=-.081106,Zr=893e-6,Qr=.003796,Kr=_(3)/2;function Jr(t,n){var e=I(Kr*M(n)),r=e*e,i=r*r*r;return[t*g(e)/(Kr*($r+3*Wr*r+i*(7*Zr+9*Qr*r))),e*($r+Wr*r+i*(Zr+Qr*r))]}function ti(){return kr(Jr).scale(177.158)}function ni(t,n){var e=g(n),r=g(t)*e;return[e*M(t)/r,M(n)/r]}function ei(){return kr(ni).scale(144.049).clipAngle(60)}function ri(){var t,n,e,r,i,o,a,u=1,l=0,c=0,s=1,f=1,d=0,v=null,y=1,m=1,b=hr({point:function(t,n){var e=A([t,n]);this.stream.point(e[0],e[1])}}),x=he;function w(){return y=u*s,m=u*f,o=a=null,A}function A(e){var r=e[0]*y,i=e[1]*m;if(d){var o=i*t-r*n;r=r*t+i*n,i=o}return[r+l,i+c]}return A.invert=function(e){var r=e[0]-l,i=e[1]-c;if(d){var o=i*t+r*n;r=r*t-i*n,i=o}return[r/y,i/m]},A.stream=function(t){return o&&a===t?o:o=b(x(a=t))},A.postclip=function(t){return arguments.length?(x=t,v=e=r=i=null,w()):x},A.clipExtent=function(t){return arguments.length?(x=null==t?(v=e=r=i=null,he):zn(v=+t[0][0],e=+t[0][1],r=+t[1][0],i=+t[1][1]),w()):null==v?null:[[v,e],[r,i]]},A.scale=function(t){return arguments.length?(u=+t,w()):u},A.translate=function(t){return arguments.length?(l=+t[0],c=+t[1],w()):[l,c]},A.angle=function(e){return arguments.length?(n=M(d=e%360*p),t=g(d),w()):d*h},A.reflectX=function(t){return arguments.length?(s=t?-1:1,w()):s<0},A.reflectY=function(t){return arguments.length?(f=t?-1:1,w()):f<0},A.fitExtent=function(t,n){return yr(A,t,n)},A.fitSize=function(t,n){return mr(A,t,n)},A.fitWidth=function(t,n){return gr(A,t,n)},A.fitHeight=function(t,n){return br(A,t,n)},A}function ii(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 oi(){return kr(ii).scale(175.295)}function ai(t,n){return[g(n)*M(t),M(n)]}function ui(){return kr(ai).scale(249.5).clipAngle(90+u)}function li(t,n){var e=g(n),r=1+g(t)*e;return[e*M(t)/r,M(n)/r]}function ci(){return kr(li).scale(250).clipAngle(142)}function si(t,n){return[A(j((s+n)/2)),-t]}function fi(){var t=Ur(si),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)}Jr.invert=function(t,n){for(var e,r=n,i=r*r,o=i*i*i,a=0;a<12&&(o=(i=(r-=e=(r*($r+Wr*i+o*(Zr+Qr*i))-n)/($r+3*Wr*i+o*(7*Zr+9*Qr*i))
vendor: 2,653 bytes, line 1
1)*r)*i*i,!(v(e)<l));++a);return[Kr*t*($r+3*Wr*i+o*(7*Zr+9*Qr*i))/g(r),I(M(r)/Kr)]},ni.invert=Tr(y),ii.invert=function(t,n){var e,r=n,i=25;do{var o=r*r,a=o*o;r-=e=(r*(1.007226+o*(.015085+a*(.028874*o-.044475-.005916*a)))-n)/(1.007226+o*(.045255+a*(.259866*o-.311325-.005916*11*a)))}while(v(e)>u&&--i>0);return[t/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]},ai.invert=Tr(I),li.invert=Tr((function(t){return 2*y(t)})),si.invert=function(t,n){return[-n,2*y(x(t))-s]}},2968:function(t,n,e){"use strict";function r(t){return t}function i(t){if(null==t)return r;var n,e,i=t.scale[0],o=t.scale[1],a=t.translate[0],u=t.translate[1];return function(t,r){r||(n=e=0);var l=2,c=t.length,s=new Array(c);for(s[0]=(n+=t[0])*i+a,s[1]=(e+=t[1])*o+u;l<c;)s[l]=t[l],++l;return s}}function o(t){var n,e=i(t.transform),r=1/0,o=r,a=-r,u=-r;function l(t){(t=e(t))[0]<r&&(r=t[0]),t[0]>a&&(a=t[0]),t[1]<o&&(o=t[1]),t[1]>u&&(u=t[1])}function c(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(c);break;case"Point":l(t.coordinates);break;case"MultiPoint":t.coordinates.forEach(l)}}for(n in t.arcs.forEach((function(t){for(var n,i=-1,l=t.length;++i<l;)(n=e(t[i],i))[0]<r&&(r=n[0]),n[0]>a&&(a=n[0]),n[1]<o&&(o=n[1]),n[1]>u&&(u=n[1])})),t.objects)c(t.objects[n]);return[r,o,a,u]}function a(t,n){return"string"==typeof n&&(n=t.objects[n]),"GeometryCollection"===n.type?{type:"FeatureCollection",features:n.geometries.map((function(n){return u(t,n)}))}:u(t,n)}function u(t,n){var e=n.id,r=n.bbox,i=null==n.properties?{}:n.properties,o=l(t,n);return null==e&&null==r?{type:"Feature",properties:i,geometry:o}:null==r?{type:"Feature",id:e,properties:i,geometry:o}:{type:"Feature",id:e,bbox:r,properties:i,geometry:o}}function l(t,n){var e=i(t.transform),r=t.arcs;function o(t,n){n.length&&n.pop();for(var i=r[t<0?~t:t],o=0,a=i.length;o<a;++o)n.push(e(i[o],o));t<0&&function(t,n){for(var e,r=t.length,i=r-n;i<--r;)e=t[i],t[i++]=t[r],t[r]=e}(n,a)}function a(t){return e(t)}function u(t){for(var n=[],e=0,r=t.length;e<r;++e)o(t[e],n);return n.length<2&&n.push(n[0]),n}function l(t){for(var n=u(t);n.length<4;)n.push(n[0]);return n}function c(t){return t.map(l)}return function t(n){var e,r=n.type;switch(r){case"GeometryCollection":return{type:r,geometries:n.geometries.map(t)};case"Point":e=a(n.coordinates);break;case"MultiPoint":e=n.coordinates.map(a);break;case"LineString":e=u(n.arcs);break;case"MultiLineString":e=n.arcs.map(u);break;case"Polygon":e=c(n.arcs);break;case"MultiPolygon":e=n.arcs.map(c);break;default:return null}return{type:r,coordinates:e}}(n)}function c(t,n){var e={},r={},i={},o=[],a=-1;function u(t,n){for(var r in t){var i=t[r];
vendor: 5,959 bytes, line 1
1delete n[i.start],delete i.start,delete i.end,i.forEach((function(t){e[t<0?~t:t]=1})),o.push(i)}}return n.forEach((function(e,r){var i,o=t.arcs[e<0?~e:e];o.length<3&&!o[1][0]&&!o[1][1]&&(i=n[++a],n[a]=e,n[r]=i)})),n.forEach((function(n){var e,o,a=function(n){var e,r=t.arcs[n<0?~n:n],i=r[0];t.transform?(e=[0,0],r.forEach((function(t){e[0]+=t[0],e[1]+=t[1]}))):e=r[r.length-1];return n<0?[e,i]:[i,e]}(n),u=a[0],l=a[1];if(e=i[u])if(delete i[e.end],e.push(n),e.end=l,o=r[l]){delete r[o.start];var c=o===e?e:e.concat(o);r[c.start=e.start]=i[c.end=o.end]=c}else r[e.start]=i[e.end]=e;else if(e=r[l])if(delete r[e.start],e.unshift(n),e.start=u,o=i[u]){delete i[o.end];var s=o===e?e:o.concat(e);r[s.start=o.start]=i[s.end=e.end]=s}else r[e.start]=i[e.end]=e;else r[(e=[n]).start=u]=i[e.end=l]=e})),u(i,r),u(r,i),n.forEach((function(t){e[t<0?~t:t]||o.push([t])})),o}function s(t){return l(t,f.apply(this,arguments))}function f(t,n,e){var r,i,o;if(arguments.length>1)r=function(t,n,e){var r,i=[],o=[];function a(t){var n=t<0?~t:t;(o[n]||(o[n]=[])).push({i:t,g:r})}function u(t){t.forEach(a)}function l(t){t.forEach(u)}function c(t){t.forEach(l)}function s(t){switch(r=t,t.type){case"GeometryCollection":t.geometries.forEach(s);break;case"LineString":u(t.arcs);break;case"MultiLineString":case"Polygon":l(t.arcs);break;case"MultiPolygon":c(t.arcs)}}return s(n),o.forEach(null==e?function(t){i.push(t[0].i)}:function(t){e(t[0].g,t[t.length-1].g)&&i.push(t[0].i)}),i}(0,n,e);else for(i=0,r=new Array(o=t.arcs.length);i<o;++i)r[i]=i;return{type:"MultiLineString",arcs:c(t,r)}}function d(t){return l(t,h.apply(this,arguments))}function h(t,n){var e={},r=[],i=[];function o(t){t.forEach((function(n){n.forEach((function(n){(e[n=n<0?~n:n]||(e[n]=[])).push(t)}))})),r.push(t)}function a(n){return function(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e<r;)n=i,i=t[e],o+=n[0]*i[1]-n[1]*i[0];return Math.abs(o)}(l(t,{type:"Polygon",arcs:[n]}).coordinates[0])}return n.forEach((function t(n){switch(n.type){case"GeometryCollection":n.geometries.forEach(t);break;case"Polygon":o(n.arcs);break;case"MultiPolygon":n.arcs.forEach(o)}})),r.forEach((function(t){if(!t._){var n=[],r=[t];for(t._=1,i.push(n);t=r.pop();)n.push(t),t.forEach((function(t){t.forEach((function(t){e[t<0?~t:t].forEach((function(t){t._||(t._=1,r.push(t))}))}))}))}})),r.forEach((function(t){delete t._})),{type:"MultiPolygon",arcs:i.map((function(n){var r,i=[];if(n.forEach((function(t){t.forEach((function(t){t.forEach((function(t){e[t<0?~t:t].length<2&&i.push(t)}))}))})),(r=(i=c(t,i)).length)>1)for(var o,u,l=1,s=a(i[0]);l<r;++l)(o=a(i[l]))>s&&(u=i[0],i[0]=i[l],i[l]=u,s=o);return i})).filter((function(t){return t.length>0}))}}function p(t,n){for(var e=0,r=t.length;e<r;){var i=e+r>>>1;t[i]<n?e=i+1:r=i}return e}function v(t){var n={},e=t.map((function(){return[]}));function r(t,e){t.forEach((function(t){t<0&&(t=~t);var r=n[t];r?r.push(e):n[t]=[e]}))}function i(t,n){t.forEach((function(t){r(t,n)}))}var o={LineString:r,MultiLineString:i,Polygon:i,MultiPolygon:function(t,n){t.forEach((function(t){i(t,n)}))}};for(var a in t.forEach((function t(n,e){"GeometryCollection"===n.type?n.geometries.forEach((function(n){t(n,e)})):n.type in o&&o[n.type](n.arcs,e)})),n)for(var u=n[a],l=u.length,c=0;c<l;++c)for(var s=c+1;s<l;++s){var f,d=u[c],h=u[s];(f=e[d])[a=p(f,h)]!==h&&f.splice(a,0,h),(f=e[h])[a=p(f,d)]!==d&&f.splice(a,0,d)}return e}function y(t){if(null==t)return r;var n,e,i=t.scale[0],o=t.scale[1],a=t.translate[0],u=t.translate[1];return function(t,r){r||(n=e=0);var l=2,c=t.length,s=new Array(c),f=Math.round((t[0]-a)/i),d=Math.round((t[1]-u)/o);for(s[0]=f-n,n=f,s[1]=d-e,e=d;l<c;)s[l]=t[l],++l;return s}}function m(t,n){if(t.transform)throw new Error("already quantized");if(n&&n.scale)l=t.bbox;else{if(!((e=Math.floor(n))>=2))throw new Error("n must be ≥2");var e,r=(l=t.bbox||o(t))[0],i=l[1],a=l[2],u=l[3];n={scale:[a-r?(a-r)/(e-1):1,u-i?(u-i)/(e-1):1],translate:[r,i]}}var l,c,s=y(n),f=t.objects,d={};function h(t){return s(t)}function p(t){var n;switch(t.type){case"GeometryCollection":n={type:"GeometryCollection",geometries:t.geometries.map(p)};break;case"Point":n={type:"Point",coordinates:h(t.coordinates)};break;case"MultiPoint":n={type:"MultiPoint",coordinates:t.coordinates.map(h)};break;default:return t}return null!=t.id&&(n.id=t.id),null!=t.bbox&&(n.bbox=t.bbox),null!=t.properties&&(n.properties=t.properties),n}for(c in f)d[c]=p(f[c]);return{type:"Topology",bbox:l,transform:n,objects:d,arcs:t.arcs.map((function(t){var n,e=0,r=1,i=t.length,o=new Array(i);for(o[0]=s(t[0],0);++e<i;)((n=s(t[e],e))[0]||n[1])&&(o[r++]=n);return 1===r&&(o[r++]=[0,0]),o.length=r,o}))}}e.r(n),e.d(n,{bbox:function(){return o},feature:function(){return a},merge:function(){return d},mergeArcs:function(){return h},mesh:function(){return s},meshArcs:function(){return f},neighbors:function(){return v},quantize:function(){return m},transform:function(){return i},untransform:function(){return y}})},51581:function(t,n,e){"use strict";function r(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return i(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?i(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}e.d(n,{RV:function(){return R},CS:function(){return ci},to:function(){return Cr},Es:function(){return on},zh:function(){return kr},pn:function(){return _r}});var o=w(),a=function(t){return m(t,o)},u=w();a.write=function(t){return m(t,u)}
1;var l=w();a.onStart=function(t){return m(t,l)};var c=w();a.onFrame=function(t){return m(t,c)};var s=w();a.onFinish=function(t){return m(t,s)};var f=[];a.setTimeout=function(t,n){var e=a.now()+n,r=function(){var t=f.findIndex((function(t){return t.cancel==r}));~t&&f.splice(t,1),v-=~t?1:0},i={time:e,handler:t,cancel:r};return f.splice(d(e),0,i),v+=1,g(),i};var d=function(t){return~(~f.findIndex((function(n){return n.time>t}))||~f.length)};a.cancel=function(t){l.delete(t),c.delete(t),s.delete(t),o.delete(t),u.delete(t)},a.sync=function(t){y=!0,a.batchedUpdates(t),y=!1},a.throttle=function(t){var n;function e(){try{t.apply(void 0,r(n))}finally{n=null}}function i(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];n=r,a.onStart(e)}return i.handler=t,i.cancel=function(){l.delete(e),n=null},i};var h="undefined"!=typeof window?window.requestAnimationFrame:function(){};a.use=function(t){return h=t},a.now="undefined"!=typeof performance?function(){return performance.now()}:Date.now,a.batchedUpdates=function(t){return t()},a.catch=console.error,a.frameLoop="always",a.advance=function(){"demand"!==a.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):x()};var p=-1,v=0,y=!1;function m(t,n){y?(n.delete(t),t(0)):(n.add(t),g())}function g(){p<0&&(p=0,"demand"!==a.frameLoop&&h(b))}function b(){~p&&(h(b),a.batchedUpdates(x))}function x(){var t=p;p=a.now();var n=d(p);n&&(A(f.splice(0,n),(function(t){return t.handler()})),v-=n),v?(l.flush(),o.flush(t?Math.min(64,p-t):16.667),c.flush(),u.flush(),s.flush()):p=-1}function w(){var t=new Set,n=t;return{add:function(e){v+=n!=t||t.has(e)?0:1,t.add(e)},delete:function(e){return v-=n==t&&t.has(e)?1:0,t.delete(e)},flush:function(e){n.size&&(t=new Set,v-=n.size,A(n,(function(n){return n(e)&&t.add(n)})),v+=t.size,n=t)}}}function A(t,n){t.forEach((function(t){try{n(t)}catch(t){a.catch(t)}}))}var S=e(2057);function M(t){return M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},M(t)}function k(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function _(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?k(Object(e),!0).forEach((function(n){j(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):k(Object(e)).forEac
1h((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function j(t,n,e){return(n=C(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function E(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return I(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?I(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function P(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,C(r.key),r)}}function O(t,n,e){return n&&P(t.prototype,n),e&&P(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function C(t){var n=function(t,n){if("object"!=M(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,n||"default");if("object"!=M(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==M(n)?n:n+""}function T(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}var N=Object.defineProperty,R={};function L(){}!function(t,n){for(var e in n)N(t,e,{get:n[e],enumerable:!0})}(R,{assign:function(){return Z},colors:function(){return X},createStringInterpolator:function(){return q},skipAnimation:function(){return $},to:function(){return Y},willAdvance:function(){return W}});var F={arr:Array.isArray,obj:function(t){return!!t&&"Object"===t.constructor.name},fun:function(t){return"function"==typeof t},str:function(t){return"string"==typeof t},num:function(t){return"number"==typeof t},und:function(t){return void 0===t}};function z(t,n){if(F.arr(t)){if(!F.arr(n)||t.length!==n.length)return!1;for(var e=0;e<t.length;e++)if(t[e]!==n[e])return!1;return!0}return t===n}var D=function(t,n){return t.forEach(n)};function U(t,n,e){if(F.arr(t))for(var r=0;r<t.length;r++)n.call(e,t[r],"".concat(r));else for(var i in t)t.hasOwnProperty(i)&&n.call(e,t[i],i)}var H=function(t){return F.und(t)?[]:F.arr(t)?t:[t]};function G(t,n){if(t.size){var e=Array.from(t);t.clear(),D(e,n)}}var q,Y,B=function(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];return G(t,(function(t){return t.apply(void 0,e)}))},V=function(){return"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent)},X=null,$=!1,W=L,Z=function(t){t.to&&(Y=t.to),t.now&&(a.now=t.now),void 0!==t.colors&&(X=t.colors),null!=t.skipAnimation&&($=t.
1skipAnimation),t.createStringInterpolator&&(q=t.createStringInterpolator),t.requestAnimationFrame&&a.use(t.requestAnimationFrame),t.batchedUpdates&&(a.batchedUpdates=t.batchedUpdates),t.willAdvance&&(W=t.willAdvance),t.frameLoop&&(a.frameLoop=t.frameLoop)},Q=new Set,K=[],J=[],tt=0,nt={get idle(){return!Q.size&&!K.length},start:function(t){tt>t.priority?(Q.add(t),a.onStart(et)):(rt(t),a(ot))},advance:ot,sort:function(t){if(tt)a.onFrame((function(){return nt.sort(t)}));else{var n=K.indexOf(t);~n&&(K.splice(n,1),it(t))}},clear:function(){K=[],Q.clear()}};function et(){Q.forEach(rt),Q.clear(),a(ot)}function rt(t){K.includes(t)||it(t)}function it(t){var n,e,r;K.splice((e=function(n){return n.priority>t.priority},(r=(n=K).findIndex(e))<0?n.length:r),0,t)}function ot(t){for(var n=J,e=0;e<K.length;e++){var r=K[e];tt=r.priority,r.idle||(W(r),r.advance(t),r.idle||n.push(r))}return tt=0,(J=K).length=0,(K=n).length>0}var at="[-+]?\\d*\\.?\\d+",ut=at+"%";function lt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return"\\(\\s*("+n.join(")\\s*,\\s*(")+")\\s*\\)"}var ct=new RegExp("rgb"+lt(at,at,at)),st=new RegExp("rgba"+lt(at,at,at,at)),ft=new RegExp("hsl"+lt(at,ut,ut)),dt=new RegExp("hsla"+lt(at,ut,ut,at)),ht=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,pt=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,vt=/^#([0-9a-fA-F]{6})$/,yt=/^#([0-9a-fA-F]{8})$/;function mt(t,n,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?t+6*(n-t)*e:e<.5?n:e<2/3?t+(n-t)*(2/3-e)*6:t}function gt(t,n,e){var r=e<.5?e*(1+n):e+n-e*n,i=2*e-r,o=mt(i,r,t+1/3),a=mt(i,r,t),u=mt(i,r,t-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*u)<<8}function bt(t){var n=parseInt(t,10);return n<0?0:n>255?255:n}function xt(t){return(parseFloat(t)%360+360)%360/360}function wt(t){var n=parseFloat(t);return n<0?0:n>1?255:Math.round(255*n)}function At(t){var n=parseFloat(t);return n<0?0:n>100?1:n/100}function St(t){var n,e,r="number"==typeof(n=t)?n>>>0===n&&n>=0&&n<=4294967295?n:null:(e=vt.exec(n))?parseInt(e[1]+"ff",16)>>>0:X&&void 0!==X[n]?X[n]:(e=ct.exec(n))?(bt(e[1])<<24|bt(e[2])<<16|bt(e[3])<<8|255)>>>0:(e=st.exec(n))?(bt(e[1])<<24|bt(e[2])<<16|bt(e[3])<<8|wt(e[4]))>>>0:(e=ht.exec(n))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=yt.exec(n))?parseInt(e[1],16)>>>0:(e=pt.exec(n))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=ft.exec(n))?(255|gt(xt(e[1]),At(e[2]),At(e[3])))>>>0:(e=dt.exec(n))?(gt(xt(e[1]),At(e[2]),At(e[3]))|wt(e[4]))>>>0:null;if(null===r)return t;var i=(16711680&(r=r||0))>>>16,o=(65280&r)>>>8,a=(255&r)/255;return"rgba(".concat((4278190080&r)>>>24,", ").concat(i,", ").concat(o,", ").concat(a,")")}var Mt=function(t,n,e){if(F.fun(t))return t;if(F.arr(t))return Mt({range:t,output:n,extrapolate:e});if(F.str(t.output[0]))return q(t);var r=t,i=r.output,o=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",u=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||function(t){return t};return function(t){var n=function(t,n){for(var e=1;e<n.length-1&&!(n[e]>=t);++e);return e-1}(t,o);return function(t,n,e,r,i,o,a,u,l){var c=l?l(t):t;if(c<n){if("identity"===a)return c;"clamp"===a&&(c=n)}if(c>e){if("identity"===u)return c;"clamp"===u&&(c=e)}if(r===i)return r;if(n===e)return t<=n?r:i;n===-1/0?c=-c:e===1/0?c-=n:c=(c-n)/(e-n);c=o(c),r===-1/0?c=-c:i===1/0?c+=r:c=c*(i-r)+r;return c}(t,o[n],o[n+1],i[n],i[n+1],l,a,u,r.map)}};var kt=1.70158,_t=1.525*kt,jt=kt+1,Et=2*Math.PI/3,It=2*Math.PI/4.5,Pt=function(t){var n=7.5625,e=2.75;return t<1/e?n*t*t:t<2/e?n*(t-=1.5/e)*t+.75:t<2.5/e?n*(t-=2.25/e)*t+.9375:n*(t-=2.625/e)*t+.984375},Ot={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return 1-(1-t)*(1-t)},easeInOutQuad:function(t){return t<.5?2*t*t:1-Math.pow(-2*t+2,2)/2},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return 1-Math.pow(1-t,3)},easeInOutCubic:function(t){return t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1-Math.pow(1-t,4)},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-Math.pow(-2*t+2,4)/2},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1-Math.pow(1-t,5)},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1-Math.pow(-2*t+2,5)/2},easeInSine:function(t){return 1-Math.cos(t*Math.PI/2)},easeOutSine:function(t){return Math.sin(t*Math.PI/2)},easeInOutSine:function(t){return-(Math.cos(Math.PI*t)-1)/2},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*t-10)},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:t<.5?Math.pow(2,20*t-10)/2:(2-Math.pow(2,-20*t+10))/2},easeInCirc:function(t){return 1-Math.sqrt(1-Math.pow(t,2))},easeOutCirc:function(t){return Math.sqrt(1-Math.pow(t-1,2))},easeInOutCirc:function(t){return t<.5?(1-Math.sqrt(1-Math.pow(2*t,2)))/2:(Math.sqrt(1-Math.pow(-2*t+2,2))+1)/2},easeInBack:function(t){return jt*t*t*t-kt*t*t},easeOutBack:function(t){return 1+jt*Math.pow(t-1,3)+kt*Math.pow(t-1,2)},easeInOutBack:function(t){return t<.5?Math.pow(2*t,2)*(7.189819*t-_t)/2:(Math.pow(2*t-2,2)*((_t+1)*(2*t-2)+_t)+2)/2},easeInElastic:function(t){return 0===t?0:1===t?1:-Math.pow(2,10*t-10)*Math.sin((10*t-10.75)*Et)},easeOutElastic:function(t){return 0===t?0:1===t?1:Math.pow(2,-10*t)*Math.sin((10*t-.75)*Et)+1}
1,easeInOutElastic:function(t){return 0===t?0:1===t?1:t<.5?-Math.pow(2,20*t-10)*Math.sin((20*t-11.125)*It)/2:Math.pow(2,-20*t+10)*Math.sin((20*t-11.125)*It)/2+1},easeInBounce:function(t){return 1-Pt(1-t)},easeOutBounce:Pt,easeInOutBounce:function(t){return t<.5?(1-Pt(1-2*t))/2:(1+Pt(2*t-1))/2},steps:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"end";return function(e){var r,i,o,a=(e="end"===n?Math.min(e,.999):Math.max(e,.001))*t,u="end"===n?Math.floor(a):Math.ceil(a);return r=0,i=1,o=u/t,Math.min(Math.max(o,r),i)}}},Ct=Symbol.for("FluidValue.get"),Tt=Symbol.for("FluidValue.observers"),Nt=function(t){return Boolean(t&&t[Ct])},Rt=function(t){return t&&t[Ct]?t[Ct]():t},Lt=function(t){return t[Tt]||null};function Ft(t,n){var e=t[Tt];e&&e.forEach((function(t){!function(t,n){t.eventObserved?t.eventObserved(n):t(n)}(t,n)}))}var zt=O((function t(n){if(T(this,t),!n&&!(n=this.get))throw Error("Unknown getter");Dt(this,n)})),Dt=function(t,n){return qt(t,Ct,n)};function Ut(t,n){if(t[Ct]){var e=t[Tt];e||qt(t,Tt,e=new Set),e.has(n)||(e.add(n),t.observerAdded&&t.observerAdded(e.size,n))}return n}function Ht(t,n){var e=t[Tt];if(e&&e.has(n)){var r=e.size-1;r?e.delete(n):t[Tt]=null,t.observerRemoved&&t.observerRemoved(r,n)}}var Gt,qt=function(t,n,e){return Object.defineProperty(t,n,{value:e,writable:!0,configurable:!0})},Yt=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Bt=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Vt=new RegExp("(".concat(Yt.source,")(%|[a-z]+)"),"i"),Xt=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,$t=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Wt=function(t){var n=E(Zt(t),2),e=n[0],r=n[1];if(!e||V())return t;var i=window.getComputedStyle(document.documentElement).getPropertyValue(e);if(i)return i.trim();if(r&&r.startsWith("--")){var o=window.getComputedStyle(document.documentElement).getPropertyValue(r);return o||t}return r&&$t.test(r)?Wt(r):r||t},Zt=function(t){var n=$t.exec(t);if(!n)return[,];var e=E(n,3);return[e[1],e[2]]},Qt=function(t,n,e,r,i){return"rgba(".concat(Math.round(n),", ").concat(Math.round(e),", ").concat(Math.round(r),", ").concat(i,")")},Kt=function(t){Gt||(Gt=X?new RegExp("(".concat(Object.keys(X).join("|"),")(?!\\w)"),"g"):/^\b$/);var n=t.output.map((function(t){return Rt(t).replace($t,Wt).replace(Bt,St).replace(Gt,St)})),e=n.map((function(t){return t.match(Yt).map(Number)})),r=e[0].map((function(t,n){return e.map((function(t){if(!(n in t))throw Error('The arity of each "output" value must be equal');return t[n]}))})).map((function(n){return Mt(_(_({},t),{},{output:n}))}));return function(t){var e,i=!Vt.test(n[0])&&(null===(e=n.find((function(t){return Vt.test(t)})))||void 0===e?void 0:e.replace(Yt,"")),o=0;return n[0].replace(Yt,(function(){return"".concat(r[o++](t)).concat(i||"")})).replace(Xt,Qt)}},Jt="react-spring: ",tn=function(t){var n=t,e=!1;if("function"!=typeof n)throw new TypeError("".concat(Jt,"once requires a function parameter"));return function(){e||(n.apply(void 0,arguments),e=!0)}},nn=tn(console.warn);var en=tn(console.warn);function rn(t){return F.str(t)&&("#"==t[0]||/\d/.test(t)||!V()&&$t.test(t)||t in(X||{}))}var on=V()?S.useEffect:S.useLayoutEffect,an=function(){var t=(0,S.useRef)(!1);return on((function(){return t.current=!0,function(){t.current=!1}}),[]),t};function un(){var t=(0,S.useState)()[1],n=an();return function(){n.current&&t(Math.random())}}var ln=function(t){return(0,S.useEffect)(t,cn)},cn=[];function sn(t){var n=(0,S.useRef)();return(0,S.useEffect)((function(){n.current=t})),n.current}function fn(t){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fn(t)}function dn(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function hn(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};
1n%2?dn(Object(e),!0).forEach((function(n){pn(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):dn(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function pn(t,n,e){return(n=jn(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function vn(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return yn(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?yn(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yn(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function mn(t,n,e,r){var i=gn(wn(1&r?t.prototype:t),n,e);return 2&r&&"function"==typeof i?function(t){return i.apply(e,t)}:i}function gn(){return gn="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,n,e){var r=function(t,n){for(;!{}.hasOwnProperty.call(t,n)&&null!==(t=wn(t)););return t}(t,n);if(r){var i=Object.getOwnPropertyDescriptor(r,n);return i.get?i.get.call(arguments.length<3?t:e):i.value}},gn.apply(null,arguments)}function bn(t,n,e){return n=wn(n),function(t,n){if(n&&("object"==fn(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,xn()?Reflect.construct(n,e||[],wn(t).constructor):n.apply(t,e))}function xn(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(xn=function(){return!!t})()}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},wn(t)}function An(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&Sn(t,n)}function Sn(t,n){return Sn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},Sn(t,n)}function Mn(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function kn(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,jn(r.key),r)}}function _n(t,n,e){return n&&kn(t.prototype,n),e&&kn(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function jn(t){var n=function(t,n){if("object"!=fn(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,n||"default");if("object"!=fn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==fn(n)?n:n+""}var En=Symbol.for("Animated:node"),In=function(t){return t&&t[En]},Pn=function(t,n){return e=t,r=En,i=n,Object.defineProperty(e,r,{value:i,writable:!0,configurable:!0});var e,r,i},On=function(t){return t&&t[En]&&t[En].getPayload()},Cn=function(){return _n((function t(){Mn(this,t),Pn(this,this)}),[{key:"getPayload",value:function(){return this.payload||[]}}])}(),Tn=function(t){function n(t){var e;return Mn(this,n),(e=bn(this,n))._value=t,e.done=!0,e.durationProgress=0,F.num(e._value)&&(e.lastPosition=e._value),e}return An(n,t),_n(n,[{key:"getPayload",value:function(){return[this]}},{key:"getValue",value:function(){return this._value}},{key:"setValue",value:function(t,n){return F.num(t)&&(this.lastPosition=t,n&&(t=Math.round(t/n)*n,this.done&&(this.lastPosition=t))),this._value!==t&&(this._value=t,!0)}},{key:"reset",value:function(){var t=this.done;this.done=!1,F.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}}],[{key:"create",value:function(t){return new Tn(t)}}])}(Cn),Nn=function(t){function n(t){var e;return Mn(this,n),(e=bn(this,n,[0]))._string=null,e._toString=Mt({output:[t,t]}),e}return An(n,t),_n(n,[{key:"getValue",value:function(){var t=this._string;return null==t?this._string=this._toString(this._value):t}},{key:"setValue",value:function(t){if(F.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else{if(!mn(n,"setValue",this,3)([t]))return!1;this._string=null}return!0}},{key:"reset",value:function(t){t&&(this._toString=Mt({output:[this.getValue(),t]})),this._value=0,mn(n,"reset",this,3)([])}}],[{key:"create",value:function(t){return new Nn(t)}}])}(Tn),Rn={dependencies:null},Ln=function(t){function n(t){var e;return Mn(this,n),(e=bn(this,n)).source=t,e.setValue(t),e}return An(n,t),_n(n,[{key:"getValue",value:function(t){var n={};return U(this.source,(function(e,r){var i;(i=e)&&i[En]===i?n[r]=e.getValue(t):Nt(e)?n[r]=Rt(e):t||(n[r]=e)})),n}},{key:"setValue",value:function(t){this.source=t,this.payload=this._makePayload(t)}},{key:"reset",value:function(){this.payload&&D(this.payload,(function(t){return t.reset()}))}},{key:"_makePayload",value:function(t){if(t){var n=new Set;return U(t,this._addToPayload,n),Array.from(n)}}},{key:"_addToPayload",value:function(t){var n=this;Rn.dependencies&&Nt(t)&&Rn.dependencies.add(t);var e=On(t);e&&D(e,(function(t){return n.add(t)}))}}])}(Cn),Fn=function(t){function n(t){return Mn(this,n),bn(this,n,[t])}return An(n,t),_n(n,[{key:"getValue",value:function(){return this.source.map((function(t){return t.getValue()}))}},{key:"setValue",value:function(t){var e=this.getPayload();return t.length==e.length?e.map((function(n,e){return n.setValue(t[e])})).some(Boolean):(mn(n,"setValue",this,3)([t.map(zn)]),!0)}}],[{key:"create",value:function(t){return new Fn(t)}}])}(Ln);function zn(t){return(rn(t)?Nn:Tn).create(t)}function Dn(t){var n=In(t);return n?n.constructor:F.arr(t)?Fn:rn(t)?Nn:Tn}var Un=function(t,n){var e=!F.fun(t)||t.prototype&&t.prototype.isReactComponent;return(0,S.forwardRef)((function(r,i){var o=(0,S.useRef)(null),u=e&&(0,S.useCallback)((function(t){o.current=function(t,n){t&&(F.fun(t)?t(n):t.current=n);return n}(i,t)}),[i]),l=function(t,n){var e=new Set;Rn.dependencies=e,t.style&&(t=hn(hn({},t),{},{style:n.createAnimatedStyle(t.style)}));return t=new Ln(t),Rn.dependencies=null,[t,e]}(r,n),c=vn(l,2),s=c[0],f=c[1],d=un(),h=function(){var t=o.current;e&&!t||!1===(!!t&&n.applyAnimatedValues(t,s.getValue(!0)))&&d()},p=new Hn(h,f),v=(0,S.useRef)();on((function(){return v.current=p,D(f,(function(t){return Ut(t,p)})),function(){v.current&&(D(v.current.deps,(function(t){return Ht(t,v.current)})),a.cancel(v.current.update))}})),(0,S.useEffect)(h,[]),ln((function(){return function(){var t=v.current;D(t.deps,(function(n){return Ht(n,t)}))}}));var y=n.getComponentProps(s.getValue());return S.createElement(t,hn(hn({},y),{},{ref:u}))}))},Hn=function(){return _n((function t(n,e){Mn(this,t),this.update=n,this.deps=e}),[{key:"eventObserved",value:function(t){"change"==t.type&&a.write(this.update)}}])}();var Gn=Symbol.for("AnimatedComponent"),qn=function(t){return F.str(t)?t:t&&F.str(t.displayName)?t.displayName:F.fun(t)&&t.name||null};function Yn(t){return Yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yn(t)}var Bn=["children"];function Vn(t){return function(t){if(Array.isArray(t))return ve(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||pe(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xn(t,n){if(null==t)return{};var e,r,i=function(t,n){if(null==t)return{};var e={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(n.includes(r))continue;e[r]=t[r]}return e}(t,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)e=o[r],n.includes(e)||{}.propertyIsEnumerable.call(t,e)&&(i[e]=t[e])}return i}function $n(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;
vendor: 5,109 bytes, line 1
1!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||pe(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wn(){return Wn=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)({}).hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},Wn.apply(null,arguments)}function Zn(){return Zn="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,n,e){var r=function(t,n){for(;!{}.hasOwnProperty.call(t,n)&&null!==(t=ee(t)););return t}(t,n);if(r){var i=Object.getOwnPropertyDescriptor(r,n);return i.get?i.get.call(arguments.length<3?t:e):i.value}},Zn.apply(null,arguments)}function Qn(t,n,e){return n=ee(n),function(t,n){if(n&&("object"==Yn(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,te()?Reflect.construct(n,e||[],ee(t).constructor):n.apply(t,e))}function Kn(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&ne(t,n)}function Jn(t){var n="function"==typeof Map?new Map:void 0;return Jn=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(n){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(t))return n.get(t);n.set(t,e)}function e(){return function(t,n,e){if(te())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,n);var i=new(t.bind.apply(t,r));return e&&ne(i,e.prototype),i}(t,arguments,ee(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),ne(e,t)},Jn(t)}function te(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(te=function(){return!!t})()}function ne(t,n){return ne=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},ne(t,n)}function ee(t){return ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ee(t)}function re(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */re=function(){return n};var t,n={},e=Object.prototype,r=e.hasOwnProperty,i=Object.defineProperty||function(t,n,e){t[n]=e.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{c({},"")}catch(t){c=function(t,n,e){return t[n]=e}}function s(t,n,e,r){var o=n&&n.prototype instanceof m?n:m,a=Object.create(o.prototype),u=new P(r||[]);return i(a,"_invoke",{value:_(t,e,u)}),a}function f(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}n.wrap=s;var d="suspendedStart",h="suspendedYield",p="executing",v="completed",y={};function m(){}function g(){}function b(){}var x={};c(x,a,(function(){return this}));var w=Object.getPrototypeOf,A=w&&w(w(O([])));A&&A!==e&&r.call(A,a)&&(x=A);var S=b.prototype=m.prototype=Object.create(x);function M(t){["next","throw","return"].forEach((function(n){c(t,n,(function(t){return this._invoke(n,t)}))}))}function k(t,n){function e(i,o,a,u){var l=f(t[i],t,o);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==Yn(s)&&r.call(s,"__await")?n.resolve(s.__await).then((function(t){e("next",t,a,u)}),(function(t){e("throw",t,a,u)})):n.resolve(s).then((function(t){c.value=t,a(c)}),(function(t){return e("throw",t,a,u)}))}u(l.arg)}var o;i(this,"_invoke",{value:function(t,r){function i(){return new n((function(n,i){e(t,r,n,i)}))}return o=o?o.then(i,i):i()}})}function _(n,e,r){var i=d;return function(o,a){if(i===p)throw Error("Generator is already running");if(i===v){if("throw"===o)throw a;return{value:t,done:!0}}for(r.method=o,r.arg=a;;){var u=r.delegate;if(u){var l=j(u,r);if(l){if(l===y)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var c=f(n,e,r);if("normal"===c.type){if(i=r.done?v:h,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=v,r.method="throw",r.arg=c.arg)}}}function j(n,e){var r=e.method,i=n.iterator[r];if(i===t)return e.delegate=null,"throw"===r&&n.iterator.return&&
vendor: 4,436 bytes, line 1
1(e.method="return",e.arg=t,j(n,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var o=f(i,n.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var a=o.arg;return a?a.done?(e[n.resultName]=a.value,e.next=n.nextLoc,"return"!==e.method&&(e.method="next",e.arg=t),e.delegate=null,y):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function E(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function I(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(n){if(n||""===n){var e=n[a];if(e)return e.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var i=-1,o=function e(){for(;++i<n.length;)if(r.call(n,i))return e.value=n[i],e.done=!1,e;return e.value=t,e.done=!0,e};return o.next=o}}throw new TypeError(Yn(n)+" is not iterable")}return g.prototype=b,i(S,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:g,configurable:!0}),g.displayName=c(b,l,"GeneratorFunction"),n.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===g||"GeneratorFunction"===(n.displayName||n.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,l,"GeneratorFunction")),t.prototype=Object.create(S),t},n.awrap=function(t){return{__await:t}},M(k.prototype),c(k.prototype,u,(function(){return this})),n.AsyncIterator=k,n.async=function(t,e,r,i,o){void 0===o&&(o=Promise);var a=new k(s(t,e,r,i),o);return n.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},M(S),c(S,l,"Generator"),c(S,a,(function(){return this})),c(S,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var n=Object(t),e=[];for(var r in n)e.push(r);return e.reverse(),function t(){for(;e.length;){var r=e.pop();if(r in n)return t.value=r,t.done=!1,t}return t.done=!0,t}},n.values=O,P.prototype={constructor:P,reset:function(n){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(I),!n)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var e=this;function i(r,i){return u.type="throw",u.arg=n,e.next=r,i&&(e.method="next",e.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=n,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),y},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),I(e),y}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var i=r.arg;I(e)}return i}}throw Error("illegal catch attempt")},delegateYield:function(n,e,r){return this.delegate={iterator:O(n),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=t),y}},n}function ie(t,n,e,r,i,o,a){try{var u=t[o](a),l=u.value}catch(t){return void e(t)}u.done?n(l):Promise.resolve(l).then(r,i)}function oe(t){return function(){var n=this,e=arguments;
1return new Promise((function(r,i){var o=t.apply(n,e);function a(t){ie(o,r,i,a,u,"next",t)}function u(t){ie(o,r,i,a,u,"throw",t)}a(void 0)}))}}function ae(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,de(r.key),r)}}function ue(t,n,e){return n&&ae(t.prototype,n),e&&ae(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function le(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function ce(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function se(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?ce(Object(e),!0).forEach((function(n){fe(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ce(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function fe(t,n,e){return(n=de(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function de(t){var n=function(t,n){if("object"!=Yn(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,n||"default");if("object"!=Yn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==Yn(n)?n:n+""}function he(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=pe(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return a=t.done,t},e:function(t){u=!0,o=t},f:function(){try{a||null==e.return||e.return()}finally{if(u)throw o}}}}function pe(t,n){if(t){if("string"==typeof t)return ve(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?ve(t,n):void 0}}function ve(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function ye(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];return F.fun(t)?t.apply(void 0,e):t}var me=function(t,n){return!0===t||!!(n&&t&&(F.fun(t)?t(n):H(t).includes(n)))},ge=function(t,n){return F.obj(t)?n&&t[n]:t},be=function(t,n){return!0===t.default?t[n]:t.default?t.default[n]:void 0},xe=function(t){return t},we=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xe,e=Ae;t.default&&!0!==t.default&&(t=t.default,e=Object.keys(t));var r,i={},o=he(e);try{for(o.s();!(r=o.n()).done;){var a=r.value,u=n(t[a],a);F.und(u)||(i[a]=u)}}catch(t){o.e(t)}finally{o.f()}return i},Ae=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Se={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Me(t){var n=function(t){var n={},e=0;if(U(t,(function(t,r){Se[r]||(n[r]=t,e++)})),e)return n}(t);if(n){var e={to:n};return U(t,(function(t,r){return r in n||(e[r]=t)})),e}return se({},t)}function ke(t){return t=Rt(t),F.arr(t)?t.map(ke):rn(t)?R.createStringInterpolator({range:[0,1],output:[t,t]})(1):t}function _e(t){for(var n in t)return!0;return!1}function je(t){return F.fun(t)||F.arr(t)&&F.obj(t[0])}function Ee(t,n){var e;null===(e=t.ref)||void 0===e||e.delete(t),null==n||n.delete(t)}function Ie(t,n){var e;n&&t.ref!==n&&(null===(e=t.ref)||void 0===e||e.delete(t),n.add(t),t.ref=n)}var Pe=se(se({},{tension:170,friction:26}),{},{mass:1,damping:1,easing:Ot.linear,clamp:!1}),Oe=ue((function t(){le(this,t),this.velocity=0,Object.assign(this,Pe)}));function Ce(t,n){if(F.und(n.decay)){var e=!F.und(n.tension)||!F.und(n.friction);!e&&F.und(n.frequency)&&F.und(n.damping)&&F.und(n.mass)||(t.duration=void 0,t.decay=void 0),e&&(t.frequency=void 0)}else t.duration=void 0}var Te=[],Ne=ue((function t(){le(this,t),this.changed=!1,this.values=Te,this.toValues=null,this.fromValues=Te,this.config=new Oe,this.immediate=!1}));function Re(t,n){var e=n.key,r=n.props,i=n.defaultProps,o=n.state,u=n.actions;return new Promise((function(n,l){var c,s,f,d=me(null!==(c=r.cancel)&&void 0!==c?c:null==i?void 0:i.cancel,e);if(d)y();else{F.und(r.pause)||(o.paused=me(r.pause,e));var h=null==i?void 0:i.pause;!0!==h&&(h=o.paused||me(h,e)),s=ye(r.delay||0,e),h?(o.resumeQueue.add(v),u.pause()):(u.resume(),v())}function p(){o.resumeQueue.add(v),o.timeouts.delete(f),f.cancel(),s=f.time-a.now()}function v(){s>
10&&!R.skipAnimation?(o.delayed=!0,f=a.setTimeout(y,s),o.pauseQueue.add(p),o.timeouts.add(f)):y()}function y(){o.delayed&&(o.delayed=!1),o.pauseQueue.delete(p),o.timeouts.delete(f),t<=(o.cancelId||0)&&(d=!0);try{u.start(se(se({},r),{},{callId:t,cancel:d}),n)}catch(t){l(t)}}}))}var Le=function(t,n){return 1==n.length?n[0]:n.some((function(t){return t.cancelled}))?De(t.get()):n.every((function(t){return t.noop}))?Fe(t.get()):ze(t.get(),n.every((function(t){return t.finished})))},Fe=function(t){return{value:t,noop:!0,finished:!0,cancelled:!1}},ze=function(t,n){return{value:t,finished:n,cancelled:arguments.length>2&&void 0!==arguments[2]&&arguments[2]}},De=function(t){return{value:t,cancelled:!0,finished:!1}};function Ue(t,n,e,r){var i=n.callId,o=n.parentId,u=n.onRest,l=e.asyncTo,c=e.promise;return o||t!==l||n.reset?e.promise=oe(re().mark((function s(){var f,d,h,p,v,y,m,g;return re().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:if(e.asyncId=i,e.asyncTo=t,f=we(n,(function(t,n){return"onRest"===n?void 0:t})),p=new Promise((function(t,n){return d=t,h=n})),v=function(t){var n=i<=(e.cancelId||0)&&De(r)||i!==e.asyncId&&ze(r,!1);if(n)throw t.result=n,h(t),t},y=function(t,n){var o=new Ge,a=new qe;return oe(re().mark((function u(){var l,c;return re().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if(!R.skipAnimation){u.next=5;break}throw He(e),a.result=ze(r,!1),h(a),a;case 5:return v(o),(l=F.obj(t)?se({},t):se(se({},n),{},{to:t})).parentId=i,U(f,(function(t,n){F.und(l[n])&&(l[n]=t)})),u.next=11,r.start(l);case 11:if(c=u.sent,v(o),!e.paused){u.next=16;break}return u.next=16,new Promise((function(t){e.resumeQueue.add(t)}));case 16:return u.abrupt("return",c);case 17:case"end":return u.stop()}}),u)})))()},!R.skipAnimation){s.next=9;break}return He(e),s.abrupt("return",ze(r,!1));case 9:return s.prev=9,g=F.arr(t)?function(){var t=oe(re().mark((function t(n){var e,r,i;return re().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=he(n),t.prev=1,e.s();case 3:if((r=e.n()).done){t.next=9;break}return i=r.value,t.next=7,y(i);case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[1,11,14,17]])})));return function(n){return t.apply(this,arguments)}}()(t):Promise.resolve(t(y,r.stop.bind(r))),s.next=13,Promise.all([g.then(d),p]);case 13:m=ze(r.get(),!0,!1),s.next=27;break;case 16:if(s.prev=16,s.t0=s.catch(9),!(s.t0 instanceof Ge)){s.next=22;break}m=s.t0.result,s.next=27;break;case 22:if(!(s.t0 instanceof qe)){s.next=26;break}m=s.t0.result,s.next=27;break;case 26:throw s.t0;case 27:return s.prev=27,i==e.asyncId&&(e.asyncId=o,e.asyncTo=o?l:void 0,e.promise=o?c:void 0),s.finish(27);case 30:return F.fun(u)&&a.batchedUpdates((function(){u(m,r,r.item)})),s.abrupt("return",m);case 32:case"end":return s.stop()}}),s,null,[[9,16,27,30]])})))():c}function He(t,n){G(t.timeouts,(function(t){return t.cancel()})),t.pauseQueue.clear(),t.resumeQueue.clear(),t.asyncId=t.asyncTo=t.promise=void 0,n&&(t.cancelId=n)}var Ge=function(t){function n(){return le(this,n),Qn(this,n,["An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."])}return Kn(n,t),ue(n)}(Jn(Error)),qe=function(t){function n(){return le(this,n),Qn(this,n,["SkipAnimationSignal"])}return Kn(n,t),ue(n)}(Jn(Error)),Ye=function(t){return t instanceof Ve},Be=1,Ve=function(t){function n(){var t;return le(this,n),(t=Qn(this,n,arguments)).id=Be++,t._priority=0,t}return Kn(n,t),ue(n,[{key:"priority",get:function(){return this._priority},set:function(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}},{key:"get",value:function(){var t=In(this);return t&&t.getValue()}},{key:"to",value:function(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return R.to(this,n)}},{key:"interpolate",value:function(){nn("".concat(Jt,'The "interpolate" function is deprecated in v9 (use "to" instead)'));for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return R.to(this,n)}},{key:"toJSON",value:function(){return this.get()}},{key:"observerAdded",value:function(t){1==t&&this._attach()}},{key:"observerRemoved",value:function(t){0==t&&this._detach()}},{key:"_attach",value:function(){}},{key:"_detach",value:function(){}},{key:"_onChange",value:function(t){Ft(this,{type:"change",parent:this,value:t,idle:arguments.length>1&&void 0!==arguments[1]&&arguments[1]})}},{key:"_onPriorityChange",value:function(t){this.idle||nt.sort(this),Ft(this,{type:"priority",parent:this,priority:t})}}])}(zt),Xe=Symbol.for("SpringPhase"),$e=function(t){return(1&t[Xe])>0},We=function(t){return(2&t[Xe])>0},Ze=function(t){return(4&t[Xe])>0},Qe=function(t,n){return n?t[Xe]|=3:t[Xe]&=-3},Ke=function(t,n){return n?t[Xe]|=4:t[Xe]&=-5},Je=function(t){function n(t,e){var r;if(le(this,n),(r=Qn(this,n)).animation=new Ne,r.defaultProps={},r._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},r._pendingCalls=new Set,r._lastCallId=0,r._lastToId=0,r._memoizedDuration=0,!F.und(t)||!F.und(e)){var i=F.obj(t)?se({},t):se(se({},e),{},{from:t});F.und(i.default)&&(i.default=!0),r.start(i)}return r}return Kn(n,t),ue(n,[{key:"idle",get:function(){return!(We(this)||this._state.asyncTo)||Ze(this)}},{key:"goal",get:function(){return Rt(this.animation.to)}},{key:"velocity",get:function(){var t=In(this);return t instanceof Tn?t.lastVelocity||0:t.getPayload().map((function(t){return t.lastVelocity||0}))}},{key:"hasAnimated",get:function(){return $e(this)}},{key:"isAnimating",get:function(){return We(this)}},{key:"isPaused",get:function(){return Ze(this)}},{key:"isDelayed",get:function(){return this._state.delayed}},{key:"advance",value:function(t){var n=this,e=!0,r=!1,i=this.animation,o=i.toValues,a=i.config,u=On(i.to);
1!u&&Nt(i.to)&&(o=H(Rt(i.to))),i.values.forEach((function(l,c){if(!l.done){var s=l.constructor==Nn?1:u?u[c].lastPosition:o[c],f=i.immediate,d=s;if(!f){if(d=l.lastPosition,a.tension<=0)return void(l.done=!0);var h,p=l.elapsedTime+=t,v=i.fromValues[c],y=null!=l.v0?l.v0:l.v0=F.arr(a.velocity)?a.velocity[c]:a.velocity,m=a.precision||(v==s?.005:Math.min(1,.001*Math.abs(s-v)));if(F.und(a.duration))if(a.decay){var g=!0===a.decay?.998:a.decay,b=Math.exp(-(1-g)*p);d=v+y/(1-g)*(1-b),f=Math.abs(l.lastPosition-d)<=m,h=y*b}else{h=null==l.lastVelocity?y:l.lastVelocity;for(var x=a.restVelocity||m/10,w=a.clamp?0:a.bounce,A=!F.und(w),S=v==s?l.v0>0:v<s,M=Math.ceil(t/1),k=0;k<M&&(Math.abs(h)>x||!(f=Math.abs(s-d)<=m));++k){A&&(d==s||d>s==S)&&(h=-h*w,d=s),d+=1*(h+=1*((1e-6*-a.tension*(d-s)+.001*-a.friction*h)/a.mass))}}else{var _=1;a.duration>0&&(n._memoizedDuration!==a.duration&&(n._memoizedDuration=a.duration,l.durationProgress>0&&(l.elapsedTime=a.duration*l.durationProgress,p=l.elapsedTime+=t)),_=(_=(a.progress||0)+p/n._memoizedDuration)>1?1:_<0?0:_,l.durationProgress=_),h=((d=v+a.easing(_)*(s-v))-l.lastPosition)/t,f=1==_}l.lastVelocity=h,Number.isNaN(d)&&(console.warn("Got NaN while animating:",n),f=!0)}u&&!u[c].done&&(f=!1),f?l.done=!0:e=!1,l.setValue(d,a.round)&&(r=!0)}}));var l=In(this),c=l.getValue();if(e){var s=Rt(i.to);c===s&&!r||a.decay?r&&a.decay&&this._onChange(c):(l.setValue(s),this._onChange(s)),this._stop()}else r&&this._onChange(c)}},{key:"set",value:function(t){var n=this;return a.batchedUpdates((function(){n._stop(),n._focus(t),n._set(t)})),this}},{key:"pause",value:function(){this._update({pause:!0})}},{key:"resume",value:function(){this._update({pause:!1})}},{key:"finish",value:function(){var t=this;if(We(this)){var n=this.animation,e=n.to,r=n.config;a.batchedUpdates((function(){t._onStart(),r.decay||t._set(e,!1),t._stop()}))}return this}},{key:"update",value:function(t){return(this.queue||(this.queue=[])).push(t),this}},{key:"start",value:function(t,n){var e,r=this;return F.und(t)?(e=this.queue||[],this.queue=[]):e=[F.obj(t)?t:se(se({},n),{},{to:t})],Promise.all(e.map((function(t){return r._update(t)}))).then((function(t){return Le(r,t)}))}},{key:"stop",value:function(t){var n=this,e=this.animation.to;return this._focus(this.get()),He(this._state,t&&this._lastCallId),a.batchedUpdates((function(){return n._stop(e,t)})),this}},{key:"reset",value:function(){this._update({reset:!0})}},{key:"eventObserved",value:function(t){"change"==t.type?this._start():"priority"==t.type&&(this.priority=t.priority+1)}},{key:"_prepareNode",value:function(t){var n=this.key||"",e=t.to,r=t.from;(null==(e=F.obj(e)?e[n]:e)||je(e))&&(e=void 0),null==(r=F.obj(r)?r[n]:r)&&(r=void 0);var i={to:e,from:r};if(!$e(this)){if(t.reverse){var o=[r,e];e=o[0],r=o[1]}r=Rt(r),F.und(r)?In(this)||this._set(e):this._set(r)}return i}},{key:"_update",value:function(t,n){var e=this,r=Wn({},(function(t){if(null==t)throw new TypeError("Cannot destructure "+t)}(t),t)),i=this.key,o=this.defaultProps;r.default&&Object.assign(o,we(r,(function(t,n){return/^on/.test(n)?ge(t,i):t}))),ar(this,r,"onProps"),ur(this,"onProps",r,this);var a=this._prepareNode(r);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");var u=this._state;return Re(++this._lastCallId,{key:i,props:r,defaultProps:o,state:u,actions:{pause:function(){Ze(e)||(Ke(e,!0),B(u.pauseQueue),ur(e,"onPause",ze(e,tr(e,e.animation.to)),e))},resume:function(){Ze(e)&&(Ke(e,!1),We(e)&&e._resume(),B(u.resumeQueue),ur(e,"onResume",ze(e,tr(e,e.animation.to)),e))},start:this._merge.bind(this,a)}}).then((function(t){if(r.loop&&t.finished&&(!n||!t.noop)){var i=nr(r);if(i)return e._update(i,!0)}return t}))}},{key:"_merge",value:function(t,n,e){var r=this;if(n.cancel)return this.stop(!0),e(De(this));var i=!F.und(t.to),o=!F.und(t.from);if(i||o){if(!(n.callId>this._lastToId))return e(De(this));this._lastToId=n.callId}var u=this.key,l=this.defaultProps,c=this.animation,s=c.to,f=c.from,d=t.to,h=void 0===d?s:d,p=t.from,v=void 0===p?f:p;if(!o||i||n.default&&!F.und(h)||(h=v),n.reverse){var y=[v,h];h=y[0],v=y[1]}var m=!z(v,f);m&&(c.from=v),v=Rt(v);var g=!z(h,s);g&&this._focus(h);var b=je(n.to),x=c.config,w=x.decay,A=x.velocity;(i||o)&&(x.velocity=0),n.config&&!b&&function(t,n,e){for(var r in e&&(Ce(e=se({},e),n),n=se(se({},e),n)),Ce(t,n),Object.assign(t,n),Pe)null==t[r]&&(t[r]=Pe[r]);var i=t.frequency,o=t.damping,a=t.mass;F.und(i)||(i<.01&&(i=.01),o<0&&(o=0),t.tension=Math.pow(2*Math.PI/i,2)*a,t.friction=4*Math.PI*o*a
1/i)}(x,ye(n.config,u),n.config!==l.config?ye(l.config,u):void 0);var S=In(this);if(!S||F.und(h))return e(ze(this,!0));var M=F.und(n.reset)?o&&!n.default:!F.und(v)&&me(n.reset,u),k=M?v:this.get(),_=ke(h),j=F.num(_)||F.arr(_)||rn(_),E=!b&&(!j||me(l.immediate||n.immediate,u));if(g){var I=Dn(h);if(I!==S.constructor){if(!E)throw Error("Cannot animate between ".concat(S.constructor.name," and ").concat(I.name,', as the "to" prop suggests'));S=this._set(_)}}var P=S.constructor,O=Nt(h),C=!1;if(!O){var T=M||!$e(this)&&m;(g||T)&&(O=!(C=z(ke(k),_))),(z(c.immediate,E)||E)&&z(x.decay,w)&&z(x.velocity,A)||(O=!0)}if(C&&We(this)&&(c.changed&&!M?O=!0:O||this._stop(s)),!b&&((O||Nt(s))&&(c.values=S.getPayload(),c.toValues=Nt(h)?null:P==Nn?[1]:H(_)),c.immediate!=E&&(c.immediate=E,E||M||this._set(s)),O)){var N=c.onRest;D(or,(function(t){return ar(r,n,t)}));var R=ze(this,tr(this,s));B(this._pendingCalls,R),this._pendingCalls.add(e),c.changed&&a.batchedUpdates((function(){var t;(c.changed=!M,null==N||N(R,r),M)?ye(l.onRest,R):null===(t=c.onStart)||void 0===t||t.call(c,R,r)}))}M&&this._set(k),b?e(Ue(n.to,n,this._state,this)):O?this._start():We(this)&&!g?this._pendingCalls.add(e):e(Fe(k))}},{key:"_focus",value:function(t){var n=this.animation;t!==n.to&&(Lt(this)&&this._detach(),n.to=t,Lt(this)&&this._attach())}},{key:"_attach",value:function(){var t=0,n=this.animation.to;Nt(n)&&(Ut(n,this),Ye(n)&&(t=n.priority+1)),this.priority=t}},{key:"_detach",value:function(){var t=this.animation.to;Nt(t)&&Ht(t,this)}},{key:"_set",value:function(t){var n=this,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=Rt(t);if(!F.und(r)){var i=In(this);if(!i||!z(r,i.getValue())){var o=Dn(r);i&&i.constructor==o?i.setValue(r):Pn(this,o.create(r)),i&&a.batchedUpdates((function(){n._onChange(r,e)}))}}return In(this)}},{key:"_onStart",value:function(){var t=this.animation;t.changed||(t.changed=!0,ur(this,"onStart",ze(this,tr(this,t.to)),this))}},{key:"_onChange",value:function(t,e){var r,i,o,a,u;e||(this._onStart(),ye(this.animation.onChange,t,this)),ye(this.defaultProps.onChange,t,this),(r=n,i="_onChange",o=this,u=Zn(ee(1&(a=3)?r.prototype:r),i,o),2&a&&"function"==typeof u?function(t){return u.apply(o,t)}:u)([t,e])}},{key:"_start",value:function(){var t=this.animation;In(this).reset(Rt(t.to)),t.immediate||(t.fromValues=t.values.map((function(t){return t.lastPosition}))),We(this)||(Qe(this,!0),Ze(this)||this._resume())}},{key:"_resume",value:function(){R.skipAnimation?this.finish():nt.start(this)}},{key:"_stop",value:function(t,n){if(We(this)){Qe(this,!1);var e=this.animation;D(e.values,(function(t){t.done=!0})),e.toValues&&(e.onChange=e.onPause=e.onResume=void 0),Ft(this,{type:"idle",parent:this});var r=n?De(this.get()):ze(this.get(),tr(this,null!=t?t:e.to));B(this._pendingCalls,r),e.changed&&(e.changed=!1,ur(this,"onRest",r,this))}}}])}(Ve);function tr(t,n){var e=ke(n);return z(ke(t.get()),e)}function nr(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.loop,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.to,r=ye(n);if(r){var i=!0!==r&&Me(r),o=(i||t).reverse,a=!i||i.reset;return er(se(se({},t),{},{loop:n,default:!1,pause:void 0,to:!o||je(e)?e:void 0,from:a?t.from:void 0,reset:a},i))}}function er(t){var n=t=Me(t),e=n.to,r=n.from,i=new Set;return F.obj(e)&&ir(e,i),F.obj(r)&&ir(r,i),t.keys=i.size?Array.from(i):null,t}function rr(t){var n=er(t);return F.und(n.default)&&(n.default=we(n)),n}function ir(t,n){U(t,(function(t,e){return null!=t&&n.add(e)}))}var or=["onStart","onRest","onChange","onPause","onResume"];function ar(t,n,e){t.animation[e]=n[e]!==be(n,e)?ge(n[e],t.key):void 0}function ur(t,n){for(var e,r,i,o,a=arguments.length,u=new Array(a>2?a-2:0),l=2;l<a;l++)u[l-2]=arguments[l];null===(e=(r=t.animation)[n])||void 0===e||e.call.apply(e,[r].concat(u)),null===(i=(o=t.defaultProps)[n])||void 0===i||i.call.apply(i,[o].concat(u))}var lr=["onStart","onChange","onRest"],cr=1,sr=function(){return ue((function t(n,e){le(this,t),this.id=cr++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),e&&(this._flush=e),n&&this.start(se({default:!0},n))}),[{key:"idle",get:function(){return!this._state.asyncTo&&Object.values(this.springs).every((function(t){return t.idle&&!t.isDelayed&&!t.isPaused}))}},{key:"item",get:function(){return this._item},set:function(t){this._item=t}},{key:"get",value:function(){var t={};return this.each((function(n,e){return t[e]=n.get()})),t}}
1,{key:"set",value:function(t){for(var n in t){var e=t[n];F.und(e)||this.springs[n].set(e)}}},{key:"update",value:function(t){return t&&this.queue.push(er(t)),this}},{key:"start",value:function(t){var n=this.queue;return t?n=H(t).map(er):this.queue=[],this._flush?this._flush(this,n):(gr(this,n),fr(this,n))}},{key:"stop",value:function(t,n){if(t!==!!t&&(n=t),n){var e=this.springs;D(H(n),(function(n){return e[n].stop(!!t)}))}else He(this._state,this._lastAsyncId),this.each((function(n){return n.stop(!!t)}));return this}},{key:"pause",value:function(t){if(F.und(t))this.start({pause:!0});else{var n=this.springs;D(H(t),(function(t){return n[t].pause()}))}return this}},{key:"resume",value:function(t){if(F.und(t))this.start({pause:!1});else{var n=this.springs;D(H(t),(function(t){return n[t].resume()}))}return this}},{key:"each",value:function(t){U(this.springs,t)}},{key:"_onFrame",value:function(){var t=this,n=this._events,e=n.onStart,r=n.onChange,i=n.onRest,o=this._active.size>0,a=this._changed.size>0;(o&&!this._started||a&&!this._started)&&(this._started=!0,G(e,(function(n){var e=$n(n,2),r=e[0],i=e[1];i.value=t.get(),r(i,t,t._item)})));var u=!o&&this._started,l=a||u&&i.size?this.get():null;a&&r.size&&G(r,(function(n){var e=$n(n,2),r=e[0],i=e[1];i.value=l,r(i,t,t._item)})),u&&(this._started=!1,G(i,(function(n){var e=$n(n,2),r=e[0],i=e[1];i.value=l,r(i,t,t._item)})))}},{key:"eventObserved",value:function(t){if("change"==t.type)this._changed.add(t.parent),t.idle||this._active.add(t.parent);else{if("idle"!=t.type)return;this._active.delete(t.parent)}a.onFrame(this._onFrame)}}])}();function fr(t,n){return Promise.all(n.map((function(n){return dr(t,n)}))).then((function(n){return Le(t,n)}))}function dr(t,n,e){return hr.apply(this,arguments)}function hr(){return hr=oe(re().mark((function t(n,e,r){var i,o,u,l,c,s,f,d,h,p,v,y,m;return re().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=e.keys,o=e.to,u=e.from,l=e.loop,c=e.onRest,s=e.onResolve,f=F.obj(e.default)&&e.default,l&&(e.loop=!1),!1===o&&(e.to=null),!1===u&&(e.from=null),(d=F.arr(o)||F.fun(o)?o:void 0)?(e.to=void 0,e.onRest=void 0,f&&(f.onRest=void 0)):D(lr,(function(t){var r=e[t];if(F.fun(r)){var i=n._events[t];e[t]=function(t){var n=t.finished,e=t.cancelled,o=i.get(r);o?(n||(o.finished=!1),e&&(o.cancelled=!0)):i.set(r,{value:null,finished:n||!1,cancelled:e||!1})},f&&(f[t]=e[t])}})),h=n._state,e.pause===!h.paused?(h.paused=e.pause,B(e.pause?h.pauseQueue:h.resumeQueue)):h.paused&&(e.pause=!0),p=(i||Object.keys(n.springs)).map((function(t){return n.springs[t].start(e)})),v=!0===e.cancel||!0===be(e,"cancel"),(d||v&&h.asyncId)&&p.push(Re(++n._lastAsyncId,{props:e,state:h,actions:{pause:L,resume:L,start:function(t,e){v?(He(h,n._lastAsyncId),e(De(n))):(t.onRest=c,e(Ue(d,t,h,n)))}}})),!h.paused){t.next=15;break}return t.next=15,new Promise((function(t){h.resumeQueue.add(t)}));case 15:return t.t0=Le,t.t1=n,t.next=19,Promise.all(p);case 19:if(t.t2=t.sent,y=(0,t.t0)(t.t1,t.t2),!l||!y.finished||r&&y.noop){t.next=26;break}if(!(m=nr(e,l,o))){t.next=26;break}return gr(n,[m]),t.abrupt("return",dr(n,m,!0));case 26:return s&&a.batchedUpdates((function(){return s(y,n,n.item)})),t.abrupt("return",y);case 28:case"end":return t.stop()}}),t)}))),hr.apply(this,arguments)}function pr(t,n){var e=se({},t.springs);return n&&D(H(n),(function(t){F.und(t.keys)&&(t=er(t)),F.obj(t.to)||(t=se(se({},t),{},{to:void 0})),mr(e,t,(function(t){return yr(t)}))})),vr(t,e),e}function vr(t,n){U(n,(function(n,e){t.springs[e]||(t.springs[e]=n,Ut(n,t))}))}function yr(t,n){var e=new Je;return e.key=t,n&&Ut(e,n),e}function mr(t,n,e){n.keys&&D(n.keys,(function(r){(t[r]||(t[r]=e(r)))._prepareNode(n)}))}function gr(t,n){D(n,(function(n){mr(t.springs,n,(function(n){return yr(n,t)}))}))}var br,xr,wr=function(t){var n,e,r,i,o,a,u=t.children,l=Xn(t,Bn),c=(0,S.useContext)(Ar),s=l.pause||!!c.pause,f=l.immediate||!!c.immediate;n=function(){return{pause:s,immediate:f}},e=[s,f],r=E((0,S.useState)((function(){return{inputs:e,result:n()}})),1)[0],i=(0,S.useRef)(),o=i.current,(a=o)?Boolean(e&&a.inputs&&function(t,n){if(t.length!==n.length)return!1;for(var e=0;e<t.length;e++)if(t[e]!==n[e])return!1;return!0}
1(e,a.inputs))||(a={inputs:e,result:n()}):a=r,(0,S.useEffect)((function(){i.current=a,o==r&&(r.inputs=r.result=void 0)}),[a]),l=a.result;var d=Ar.Provider;return S.createElement(d,{value:l},u)},Ar=(br=wr,xr={},Object.assign(br,S.createContext(xr)),br.Provider._context=br,br.Consumer._context=br,br);wr.Provider=Ar.Provider,wr.Consumer=Ar.Consumer;var Sr=function(){var t=[],n=function(n){en("".concat(Jt,'Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions'));var r=[];return D(t,(function(t,i){if(F.und(n))r.push(t.start());else{var o=e(n,t,i);o&&r.push(t.start(o))}})),r};n.current=t,n.add=function(n){t.includes(n)||t.push(n)},n.delete=function(n){var e=t.indexOf(n);~e&&t.splice(e,1)},n.pause=function(){var n=arguments;return D(t,(function(t){return t.pause.apply(t,Vn(n))})),this},n.resume=function(){var n=arguments;return D(t,(function(t){return t.resume.apply(t,Vn(n))})),this},n.set=function(n){D(t,(function(t,e){var r=F.fun(n)?n(e,t):n;r&&t.set(r)}))},n.start=function(n){var e=this,r=[];return D(t,(function(t,i){if(F.und(n))r.push(t.start());else{var o=e._getProps(n,t,i);o&&r.push(t.start(o))}})),r},n.stop=function(){var n=arguments;return D(t,(function(t){return t.stop.apply(t,Vn(n))})),this},n.update=function(n){var e=this;return D(t,(function(t,r){return t.update(e._getProps(n,t,r))})),this};var e=function(t,n,e){return F.fun(t)?t(e,n):t};return n._getProps=e,n};function Mr(t,n,e){var r=arguments,i=F.fun(n)&&n;i&&!e&&(e=[]);var o=(0,S.useMemo)((function(){return i||3==r.length?Sr():void 0}),[]),a=(0,S.useRef)(0),u=un(),l=(0,S.useMemo)((function(){return{ctrls:[],queue:[],flush:function(t,n){var e=pr(t,n);return a.current>0&&!l.queue.length&&!Object.keys(e).some((function(n){return!t.springs[n]}))?fr(t,n):new Promise((function(r){vr(t,e),l.queue.push((function(){r(fr(t,n))})),u()}))}}}),[]),c=(0,S.useRef)(Vn(l.ctrls)),s=[],f=sn(t)||0;function d(t,e){for(var r=t;r<e;r++){var o=c.current[r]||(c.current[r]=new sr(null,l.flush)),a=i?i(r,o):n[r];a&&(s[r]=rr(a))}}(0,S.useMemo)((function(){D(c.current.slice(t,f),(function(t){Ee(t,o),t.stop(!0)})),c.current.length=t,d(f,t)}),[t]),(0,S.useMemo)((function(){d(0,Math.min(f,t))}),e);var h=c.current.map((function(t,n){return pr(t,s[n])})),p=(0,S.useContext)(wr),v=sn(p),y=p!==v&&_e(p);on((function(){a.current++,l.ctrls=c.current;var t=l.queue;t.length&&(l.queue=[],D(t,(function(t){return t()}))),D(c.current,(function(t,n){null==o||o.add(t),y&&t.start({default:p});var e=s[n];e&&(Ie(t,e.ref),t.ref?t.queue.push(e):t.start(e))}))})),ln((function(){return function(){D(l.ctrls,(function(t){return t.stop(!0)}))}}));var m=h.map((function(t){return se({},t)}));return o?[m,o]:m}function kr(t,n){var e=F.fun(t),r=$n(Mr(1,e?t:[t],e?n||[]:n),2),i=$n(r[0],1)[0],o=r[1];return e||2==arguments.length?[i,o]:i}function _r(t,n,e){var r=arguments,i=F.fun(n)&&n,o=i?i():n,a=o.reset,u=o.sort,l=o.trail,c=void 0===l?0:l,s=o.expires,f=void 0===s||s,d=o.exitBeforeEnter,h=void 0!==d&&d,p=o.onDestroyed,v=o.ref,y=o.config,m=(0,S.useMemo)((function(){return i||3==r.length?Sr():void 0}),[]),g=H(t),b=[],x=(0,S.useRef)(null),w=a?null:x.current;on((function(){x.current=b})),ln((function(){return D(b,(function(t){null==m||m.add(t.ctrl),t.ctrl.ref=m})),function(){D(x.current,(function(t){t.expired&&clearTimeout(t.expirationId),Ee(t.ctrl,m),t.ctrl.stop(!0)}))}}));var A=function(t,n,e){var r=n.key,i=n.keys,o=void 0===i?r:i;if(null===o){var a=new Set;return t.map((function(t){var n=e&&e.find((function(n){return n.item===t&&"leave"!==n.phase&&!a.has(n)}));return n?(a.add(n),n.key):jr++}))}return F.und(o)?t:F.fun(o)?t.map(o):H(o)}(g,i?i():n,w),M=a&&x.current||[];on((function(){return D(M,(function(t){var n=t.ctrl,e=t.item,r=t.key;Ee(n,m),ye(p,e,r)}))}));var k=[];if(w&&D(w,(function(t,n){t.expired?(clearTimeout(t.expirationId),M.push(t)):~(n=k[n]=A.indexOf(t.key))&&(b[n]=t)})),D(g,(function(t,n){b[n]||(b[n]={key:A[n],item:t,phase:"mount",ctrl:new sr},b[n].ctrl.item=t)})),k.length){var _=-1,j=(i?i():n).leave;D(k,(function(t,n){var e=w[n];~t?(_=b.indexOf(e),b[_]=se(se({},e),{},{item:g[t]})):j&&b.splice(++_,0,e)}))}F.fun(u)&&b.sort((function(t,n){return u(t.item,n.item)}));var E=-c,I=un(),P=we(n),O=new Map,C=(0,S.useRef)(new Map),T=(0,S.useRef)(!1);D(b,(function(t,e){var r,o,a=t.key,u=t.phase,l=i?i():n,s=ye(l.delay||0,a);if("mount"==u)r=l.enter,o="enter";else{var d=A.indexOf(a)<0;if("leave"!=u)if(d)r=l.leave,o="leave";else{if(!(r=l.update))return;o="update"}else{if(d)return;r=l.enter,o="enter"}}if(r=ye(r,t.item,e),!(r=F.obj(r)?Me(r):{to:r}).config){var p=y||P.config;r.config=ye(p,t.item,e,o)}E+=c;var m=se(se({},P),{},{delay:s+E,ref:v,immediate:l.immediate,reset:!1},r);if("enter"==o&&F.und(m.from)){var g=i?i():n,b=F.und(g.initial)||w?g.from:g.initial;m.from=ye(b,t.item,e)}var S=m.onResolve;m.onResolve=function(t){ye(S,t);var n=x.current,e=n.find((function(t){return t.key===a}));if(e&&(!t.cancelled||"update"==e.phase)&&e.ctrl.idle){var r=n.every((function(t){return t.ctrl.idle}));if("leave"==e.phase){var i=ye(f,e.item);if(!1!==i){var o=!0===i?0:i;if(e.expired=!0,!r&&o>0)return void(o<=2147483647&&(e.expirationId=setTimeout(I,o)))}}r&&n.some((function(t){return t.expired}))&&(C.current.delete(e),h&&(T.current=!0),I())}};var M=pr(t.ctrl,m);"leave"===o&&h?C.current.set(t,{phase:o,springs:M,payload:m}):O.set(t,{phase:o,springs:M,payload:m})}));var N=(0,S.useContext)(wr),R=sn(N),L=N!==R&&_e(N);on((function(){L&&D(b,(function(t){t.ctrl.start({default:N})}))}),[N]),D(O,(function(t,n){if(C.current.size){var e=b.findIndex((function(t){return t.key===n.key}));b.splice(e,1)}})),on((function(){D(C.current.size?C.current:O,(function(t,n){var e=t.phase,r=t.payload,i=n.ctrl;
1n.phase=e,null==m||m.add(i),L&&"enter"==e&&i.start({default:N}),r&&(Ie(i,r.ref),!i.ref&&!m||T.current?(i.start(r),T.current&&(T.current=!1)):i.update(r))}))}),a?void 0:e);var z=function(t){return S.createElement(S.Fragment,null,b.map((function(n,e){var r=(O.get(n)||n.ctrl).springs,i=t(se({},r),n.item,n,e);return i&&i.type?S.createElement(i.type,se(se({},i.props),{},{key:F.str(n.key)||F.num(n.key)?n.key:n.ctrl.id,ref:i.ref})):i})))};return m?[z,m]:z}var jr=1;var Er=function(t){function n(t,e){var r;le(this,n),(r=Qn(this,n)).source=t,r.idle=!0,r._active=new Set,r.calc=Mt.apply(void 0,Vn(e));var i=r._get(),o=Dn(i);return Pn(r,o.create(i)),r}return Kn(n,t),ue(n,[{key:"advance",value:function(t){var n=this._get();z(n,this.get())||(In(this).setValue(n),this._onChange(n,this.idle)),!this.idle&&Pr(this._active)&&Or(this)}},{key:"_get",value:function(){var t=F.arr(this.source)?this.source.map(Rt):H(Rt(this.source));return this.calc.apply(this,Vn(t))}},{key:"_start",value:function(){var t=this;this.idle&&!Pr(this._active)&&(this.idle=!1,D(On(this),(function(t){t.done=!1})),R.skipAnimation?(a.batchedUpdates((function(){return t.advance()})),Or(this)):nt.start(this))}},{key:"_attach",value:function(){var t=this,n=1;D(H(this.source),(function(e){Nt(e)&&Ut(e,t),Ye(e)&&(e.idle||t._active.add(e),n=Math.max(n,e.priority+1))})),this.priority=n,this._start()}},{key:"_detach",value:function(){var t=this;D(H(this.source),(function(n){Nt(n)&&Ht(n,t)})),this._active.clear(),Or(this)}},{key:"eventObserved",value:function(t){"change"==t.type?t.idle?this.advance():(this._active.add(t.parent),this._start()):"idle"==t.type?this._active.delete(t.parent):"priority"==t.type&&(this.priority=H(this.source).reduce((function(t,n){return Math.max(t,(Ye(n)?n.priority:0)+1)}),0))}}])}(Ve);function Ir(t){return!1!==t.idle}function Pr(t){return!t.size||Array.from(t).every(Ir)}function Or(t){t.idle||(t.idle=!0,D(On(t),(function(t){t.done=!0})),Ft(t,{type:"idle",parent:t}))}var Cr=function(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];return new Er(t,e)};R.assign({createStringInterpolator:Kt,to:function(t,n){return new Er(t,n)}});nt.advance;var Tr=e(22520);function Nr(t){return Nr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nr(t)}var Rr=["className","style","children","scrollTop","scrollLeft","viewBox"],Lr=["x","y","z"],Fr=["scrollTop","scrollLeft"];function zr(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return Dr(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Dr(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Dr(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function Ur(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Gr(r.key),r)}}function Hr(t,n,e){return n&&Ur(t.prototype,n),e&&Ur(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function Gr(t){var n=function(t,n){if("object"!=Nr(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,n||"default");if("object"!=Nr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}
1(t,"string");return"symbol"==Nr(n)?n:n+""}function qr(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function Yr(t,n,e){return n=Vr(n),function(t,n){if(n&&("object"==Nr(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Br()?Reflect.construct(n,e||[],Vr(t).constructor):n.apply(t,e))}function Br(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Br=function(){return!!t})()}function Vr(t){return Vr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Vr(t)}function Xr(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&$r(t,n)}function $r(t,n){return $r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},$r(t,n)}function Wr(t,n){if(null==t)return{};var e,r,i=function(t,n){if(null==t)return{};var e={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(n.includes(r))continue;e[r]=t[r]}return e}(t,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)e=o[r],n.includes(e)||{}.propertyIsEnumerable.call(t,e)&&(i[e]=t[e])}return i}var Zr=/^--/;function Qr(t,n){return null==n||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||Zr.test(t)||Jr.hasOwnProperty(t)&&Jr[t]?(""+n).trim():n+"px"}var Kr={};var Jr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ti=["Webkit","Ms","Moz","O"];Jr=Object.keys(Jr).reduce((function(t,n){return ti.forEach((function(e){return t[function(t,n){return t+n.charAt(0).toUpperCase()+n.substring(1)}(e,n)]=t[n]})),t}),Jr);var ni=/^(matrix|translate|scale|rotate|skew)/,ei=/^(translate)/,ri=/^(rotate|skew)/,ii=function(t,n){return F.num(t)&&0!==t?t+n:t},oi=function(t,n){return F.arr(t)?t.every((function(t){return oi(t,n)})):F.num(t)?t===n:parseFloat(t)===n},ai=function(t){function n(t){var e=t.x,r=t.y,i=t.z,o=Wr(t,Lr);qr(this,n);var a=[],u=[];return(e||r||i)&&(a.push([e||0,r||0,i||0]),u.push((function(t){return["translate3d(".concat(t.map((function(t){return ii(t,"px")})).join(","),")"),oi(t,0)]}))),U(o,(function(t,n){if("transform"===n)a.push([t||""]),u.push((function(t){return[t,""===t]}));else if(ni.test(n)){if(delete o[n],F.und(t))return;var e=ei.test(n)?"px":ri.test(n)?"deg":"";a.push(H(t)),u.push("rotate3d"===n?function(t){var n=zr(t,4),r=n[0],i=n[1],o=n[2],a=n[3];return["rotate3d(".concat(r,",").concat(i,",").concat(o,",").concat(ii(a,e),")"),oi(a,0)]}:function(t){return["".concat(n,"(").concat(t.map((function(t){return ii(t,e)})).join(","),")"),oi(t,n.startsWith("scale")?1:0)]})}})),a.length&&(o.transform=new ui(a,u)),Yr(this,n,[o])}return Xr(n,t),Hr(n)}(Ln),ui=function(t){function n(t,e){var r;return qr(this,n),(r=Yr(this,n)).inputs=t,r.transforms=e,r._value=null,r}return Xr(n,t),Hr(n,[{key:"get",value:function(){return this._value||(this._value=this._get())}},{key:"_get",value:function(){var t=this,n="",e=!0;return D(this.inputs,(function(r,i){var o=Rt(r[0]),a=zr(t.transforms[i](F.arr(o)?o:r.map(Rt)),2),u=a[0],l=a[1];n+=" "+u,e=e&&l})),e?"none":n}},{key:"observerAdded",value:function(t){var n=this;1==t&&D(this.inputs,(function(t){return D(t,(function(t){return Nt(t)&&Ut(t,n)}))}))}},{key:"observerRemoved",value:function(t){var n=this;0==t&&D(this.inputs,(function(t){return D(t,(function(t){return Nt(t)&&Ht(t,n)}))}))}},{key:"eventObserved",value:function(t){"change"==t.type&&(this._value=null),Ft(this,t)}}])}(zt);R.assign({batchedUpdates:Tr.unstable_batchedUpdates,createStringInterpolator:Kt,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,dar
1kgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});var li=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=n.applyAnimatedValues,r=void 0===e?function(){return!1}:e,i=n.createAnimatedStyle,o=void 0===i?function(t){return new Ln(t)}:i,a=n.getComponentProps,u={applyAnimatedValues:r,createAnimatedStyle:o,getComponentProps:void 0===a?function(t){return t}:a},l=function(t){var n=qn(t)||"Anonymous";return(t=F.str(t)?l[t]||(l[t]=Un(t,u)):t[Gn]||(t[Gn]=Un(t,u))).displayName="Animated(".concat(n,")"),t};return U(t,(function(n,e){F.arr(t)&&(e=qn(n)),l[e]=l(n)})),{animated:l}}(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(t,n){if(!t.nodeType||!t.setAttribute)return!1;var e="filter"===t.nodeName||t.parentNode&&"filter"===t.parentNode.nodeName,r=n.className,i=n.style,o=n.children,a=n.scrollTop,u=n.scrollLeft,l=n.viewBox,c=Wr(n,Rr),s=Object.values(c),f=Object.keys(c).map((function(n){return e||t.hasAttribute(n)?n:Kr[n]||(Kr[n]=n.replace(/([A-Z])/g,(function(t){return"-"+t.toLowerCase()})))}));for(var d in void 0!==o&&(t.textContent=o),i)if(i.hasOwnProperty(d)){var h=Qr(d,i[d]);Zr.test(d)?t.style.setProperty(d,h):t.style[d]=h}f.forEach((function(n,e){t.setAttribute(n,s[e])})),void 0!==r&&(t.className=r),void 0!==a&&(t.scrollTop=a),void 0!==u&&(t.scrollLeft=u),void 0!==l&&t.setAttribute("viewBox",l)},createAnimatedStyle:function(t){return new ai(t)},getComponentProps:function(t){t.scrollTop,t.scrollLeft;return Wr(t,Fr)}}),ci=li.animated},49489: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}e.d(n,{A:function(){return r}})},31367:function(t,n,e){"use strict";e.d(n,{Ay:function(){return u}});var r=e(49489),i=e(76257);var o=(0,i.A)(r.A),a=o.right,u=(o.left,(0,i.A)((function(t){return null===t?NaN:+t})).center,a)},76257:function(t,n,e){"use strict";e.d(n,{A:function(){return o}});var r=e(49489);function i(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function o(t){var n,e,o;function u(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length;
1if(i<o){if(0!==n(r,r))return o;do{var a=i+o>>>1;e(t[a],r)<0?i=a+1:o=a}while(i<o)}return i}return 2!==t.length?(n=r.A,e=function(n,e){return(0,r.A)(t(n),e)},o=function(n,e){return t(n)-e}):(n=t===r.A||t===i?t:a,e=t,o=t),{left:u,center:function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=u(t,n,e,(arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length)-1);return r>e&&o(t[r-1],n)>-o(t[r],n)?r-1:r},right:function(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length;if(i<o){if(0!==n(r,r))return o;do{var a=i+o>>>1;e(t[a],r)<=0?i=a+1:o=a}while(i<o)}return i}}}function a(){return 0}},51465:function(t,n,e){"use strict";function r(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return i(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?i(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}e.d(n,{Ay:function(){return c},lq:function(){return s},sG:function(){return f}});var o=Math.sqrt(50),a=Math.sqrt(10),u=Math.sqrt(2);function l(t,n,e){var r,i,c,s=(n-t)/Math.max(0,e),f=Math.floor(Math.log10(s)),d=s/Math.pow(10,f),h=d>=o?10:d>=a?5:d>=u?2:1;return f<0?(c=Math.pow(10,-f)/h,(r=Math.round(t*c))/c<t&&++r,(i=Math.round(n*c))/c>n&&--i,c=-c):(c=Math.pow(10,f)*h,(r=Math.round(t/c))*c<t&&++r,(i=Math.round(n/c))*c>n&&--i),i<r&&.5<=e&&e<2?l(t,n,2*e):[r,i,c]}function c(t,n,e){if(!((e=+e)>0))return[];if((t=+t)===(n=+n))return[t];var i=n<t,o=r(i?l(n,t,e):l(t,n,e),3),a=o[0],u=o[1],c=o[2];if(!(u>=a))return[];var s=u-a+1,f=new Array(s);if(i)if(c<0)for(var d=0;d<s;++d)f[d]=(u-d)/-c;else for(var h=0;h<s;++h)f[h]=(u-h)*c;else if(c<0)for(var p=0;p<s;++p)f[p]=(a+p)/-c;else for(var v=0;v<s;++v)f[v]=(a+v)*c;return f}function s(t,n,e){return l(t=+t,n=+n,e=+e)[2]}function f(t,n,e){e=+e;var r=(n=+n)<(t=+t),i=r?s(n,t,e):s(t,n,e);return(r?-1:1)*(i<0?1/-i:i)}},52858: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}function o(){}e.d(n,{Ay:function(){return w},Qh:function(){return M}});var a=.7,u=1/a,l="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",s="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",f=/^#([0-9a-f]{3,8})$/,d=new RegExp("^rgb\\(".concat(l,",").concat(l,",").concat(l,"\\)$")),h=new RegExp("^rgb\\(".concat(s,",").concat(s,",").concat(s,"\\)$")),p=new RegExp("^rgba\\(".concat(l,",").concat(l,",").concat(l,",").concat(c,"\\)$")),v=new RegExp("^rgba\\(".concat(s,",").concat(s,",").concat(s,",").concat(c,"\\)$")),y=new RegExp("^hsl\\(".concat(c,",").concat(s,",").concat(s,"\\)$")),m=new RegExp("^hsla\\(".concat(c,",").concat(s,",").concat(s,",").concat(c,"\\)$")),g={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 b(){return this.rgb().formatHex()}function x(){return this.rgb().formatRgb()}function w(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=f.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?A(n):3===e?new k(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?S(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?S(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=d.exec(t))?new k(n[1],n[2],n[3],1):(n=h.exec(t))?new k(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=p.exec(t))?S(n[1],n[2],n[3],n[4]):(n=v.exec(t))?S(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=y.exec(t))?O(n[1],n[2]/100,n[3]/100,1):(n=m.exec(t))?O(n[1],n[2]/100,n[3]/100,n[4]):g.hasOwnProperty(t)?A(g[t]):"transparent"===t?new k(NaN,NaN,NaN,0):null}function A(t){return new k(t>>16&255,t>>8&255,255&t,1)}function S(t,n,e,r){return r<=0&&(t=n=e=NaN),new k(t,n,e,r)}function M(t,n,e,r){return 1===arguments.length?((i=t)instanceof o||(i=w(i)),i?new k((i=i.rgb()).r,i.g,i.b,i.opacity):new k):new k(t,
1n,e,null==r?1:r);var i}function k(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function _(){return"#".concat(P(this.r)).concat(P(this.g)).concat(P(this.b))}function j(){var t=E(this.opacity);return"".concat(1===t?"rgb(":"rgba(").concat(I(this.r),", ").concat(I(this.g),", ").concat(I(this.b)).concat(1===t?")":", ".concat(t,")"))}function E(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function I(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function P(t){return((t=I(t))<16?"0":"")+t.toString(16)}function O(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new T(t,n,e,r)}function C(t){if(t instanceof T)return new T(t.h,t.s,t.l,t.opacity);if(t instanceof o||(t=w(t)),!t)return new T;if(t instanceof T)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),a=Math.max(n,e,r),u=NaN,l=a-i,c=(a+i)/2;return l?(u=n===a?(e-r)/l+6*(e<r):e===a?(r-n)/l+2:(n-e)/l+4,l/=c<.5?a+i:2-a-i,u*=60):l=c>0&&c<1?0:u,new T(u,l,c,t.opacity)}function T(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function N(t){return(t=(t||0)%360)<0?t+360:t}function R(t){return Math.max(0,Math.min(1,t||0))}function L(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}r(o,w,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:b,formatHex:b,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return C(this).formatHsl()},formatRgb:x,toString:x}),r(k,M,i(o,{brighter:function(t){return t=null==t?u:Math.pow(u,t),new k(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new k(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},clamp:function(){return new k(I(this.r),I(this.g),I(this.b),E(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:_,formatHex:_,formatHex8:function(){return"#".concat(P(this.r)).concat(P(this.g)).concat(P(this.b)).concat(P(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:j,toString:j})),r(T,(function(t,n,e,r){return 1===arguments.length?C(t):new T(t,n,e,null==r?1:r)}),i(o,{brighter:function(t){return t=null==t?u:Math.pow(u,t),new T(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new T(this.h,this.s,this.l*t,this.opacity)},rgb:function(){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 k(L(t>=240?t-240:t+120,i,r),L(t,i,r),L(t<120?t+240:t-120,i,r),this.opacity)},clamp:function(){return new T(N(this.h),R(this.s),R(this.l),E(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=E(this.opacity);return"".concat(1===t?"hsl(":"hsla(").concat(N(this.h),", ").concat(100*R(this.s),"%, ").concat(100*R(this.l),"%").concat(1===t?")":", ".concat(t,")"))}}))},80835:function(t,n,e){"use strict";e.d(n,{GP:function(){return f},s:function(){return d}});var r=e(58892);var i=e(83786);var o,a=e(81725);function u(t,n){var e=(0,a.f)(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 l={"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:a.A,e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return u(100*t,n)},r:u,s:function(t,n){var e=(0,a.f)(t,n);if(!e)return t+"";var r=e[0],i=e[1],u=i-(o=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,l=r.length;return u===l?r:u>l?r+new Array(u-l+1).join("0"):u>0?r.slice(0,u)+"."+r.slice(u):"0."+new Array(1-u).join("0")+(0,a.f)(t,Math.max(0,n+u-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function c(t){return t}var s,f,d,h=Array.prototype.map,p=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];
vendor: 2,559 bytes, line 1
1function v(t){var n,e,a=void 0===t.grouping||void 0===t.thousands?c:(n=h.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,u=n[0],l=0;i>0&&u>0&&(l+u+1>r&&(u=Math.max(1,r-l)),o.push(t.substring(i-=u,i+u)),!((l+=u+1)>r));)u=n[a=(a+1)%n.length];return o.reverse().join(e)}),u=void 0===t.currency?"":t.currency[0]+"",s=void 0===t.currency?"":t.currency[1]+"",f=void 0===t.decimal?".":t.decimal+"",d=void 0===t.numerals?c:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(h.call(t.numerals,String)),v=void 0===t.percent?"%":t.percent+"",y=void 0===t.minus?"−":t.minus+"",m=void 0===t.nan?"NaN":t.nan+"";function g(t){var n=(t=(0,i.A)(t)).fill,e=t.align,r=t.sign,c=t.symbol,h=t.zero,g=t.width,b=t.comma,x=t.precision,w=t.trim,A=t.type;"n"===A?(b=!0,A="g"):l[A]||(void 0===x&&(x=12),w=!0,A="g"),(h||"0"===n&&"="===e)&&(h=!0,n="0",e="=");var S="$"===c?u:"#"===c&&/[boxX]/.test(A)?"0"+A.toLowerCase():"",M="$"===c?s:/[%p]/.test(A)?v:"",k=l[A],_=/[defgprs%]/.test(A);function j(t){var i,u,l,c=S,s=M;if("c"===A)s=k(t)+s,t="";else{var v=(t=+t)<0||1/t<0;if(t=isNaN(t)?m:k(Math.abs(t),x),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)),v&&0==+t&&"+"!==r&&(v=!1),c=(v?"("===r?r:y:"-"===r||"("===r?"":r)+c,s=("s"===A?p[8+o/3]:"")+s+(v&&"("===r?")":""),_)for(i=-1,u=t.length;++i<u;)if(48>(l=t.charCodeAt(i))||l>57){s=(46===l?f+t.slice(i+1):t.slice(i))+s,t=t.slice(0,i);break}}b&&!h&&(t=a(t,1/0));var j=c.length+t.length+s.length,E=j<g?new Array(g-j+1).join(n):"";switch(b&&h&&(t=a(E+t,E.length?g-s.length:1/0),E=""),e){case"<":t=c+t+s+E;break;case"=":t=c+E+t+s;break;case"^":t=E.slice(0,j=E.length>>1)+c+t+s+E.slice(j);break;default:t=E+c+t+s}return d(t)}return x=void 0===x?6:/[gprs]/.test(A)?Math.max(1,Math.min(21,x)):Math.max(0,Math.min(20,x)),j.toString=function(){return t+""},j}return{format:g,formatPrefix:function(t,n){var e=g(((t=(0,i.A)(t)).type="f",t)),o=3*Math.max(-8,Math.min(8,Math.floor((0,r.A)(n)/3))),a=Math.pow(10,-o),u=p[8+o/3];return function(t){return e(a*t)+u}}}}s=v({thousands:",",grouping:[3],currency:["$",""]}),f=s.format,d=s.formatPrefix},58892:function(t,n,e){"use strict";e.d(n,{A:function(){return i}});var r=e(81725);function i(t){return(t=(0,r.f)(Math.abs(t)))?t[1]:NaN}},81725: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)}
1function 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,{A:function(){return r},f:function(){return i}})},83786:function(t,n,e){"use strict";e.d(n,{A:function(){return i}});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}},73085: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,{A:function(){return r}})},12536: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,{A:function(){return r}})},68273: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,{A:function(){return r}})},23996:function(t,n,e){"use strict";e.d(n,{A:function(){return a}});var r=e(12536),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(i.source,"g");function a(t,n){var e,a,u,l=i.lastIndex=o.lastIndex=0,c=-1,s=[],f=[];for(t+="",n+="";(e=i.exec(t))&&(a=o.exec(n));)(u=a.index)>l&&(u=n.slice(l,u),s[c]?s[c]+=u:s[++c]=u),(e=e[0])===(a=a[0])?s[c]?s[c]+=a:s[++c]=a:(s[++c]=null,f.push({i:c,x:(0,r.A)(e,a)})),l=o.lastIndex;return l<n.length&&(u=n.slice(l),s[c]?s[c]+=u:s[++c]=u),s.length<2?f[0]?function(t){return function(n){return t(n)+""}}(f[0].x):function(t){return function(){return t}}(n):(n=f.length,function(t){for(var e,r=0;r<n;++r)s[(e=f[r]).i]=e.x(t);return s.join("")})}},40085:function(t,n,e){"use strict";e.d(n,{A:function(){return b}});var r=e(52858);function i(t,n,e,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*n+(4-6*o+3*a)*e+(1+3*t+3*o-3*a)*r+a*i)/6}var o=function(t){return function(){return t}};function a(t,n){return function(e){return t+e*n}}function u(t){return 1==(t=+t)?l: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):o(isNaN(n)?e:n)}}function l(t,n){var e=n-t;return e?a(t,e):o(isNaN(t)?n:t)}var c=function t(n){var e=u(n);function i(t,n){var i=e((t=(0,r.Qh)(t)).r,(n=(0,r.Qh)(n)).r),o=e(t.g,n.g),a=e(t.b,n.b),u=l(t.opacity,n.opacity);return function(n){return t.r=i(n),t.g=o(n),t.b=a(n),t.opacity=u(n),t+""}}return i.gamma=t,i}(1);function s(t){return function(n){var e,i,o=n.length,a=new Array(o),u=new Array(o),l=new Array(o);for(e=0;e<o;++e)i=(0,r.Qh)(n[e]),a[e]=i.r||0,u[e]=i.g||0,l[e]=i.b||0;return a=t(a),u=t(u),l=t(l),i.opacity=1,function(t){return i.r=a(t),i.g=u(t),i.b=l(t),i+""}}}s((function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),o=t[r],a=t[r+1],u=r>0?t[r-1]:2*o-a,l=r<n-1?t[r+2]:2*a-o;return i((e-r/n)*n,u,o,a,l)}})),s((function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),o=t[(r+n-1)%n],a=t[r%n],u=t[(r+1)%n],l=t[(r+2)%n];return i((e-r/n)*n,o,a,u,l)}}));function f(t,n){var e,r=n?n.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(e=0;e<i;++e)o[e]=b(t[e],n[e]);for(;e<r;++e)a[e]=n[e];return function(t){for(e=0;e<i;++e)a[e]=o[e](t);return a}}var d=e(73085),h=e(12536);function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function v(t,n){var e,r={},i={};for(e in null!==t&&"object"===p(t)||(t={}),null!==n&&"object"===p(n)||(n={}),n)e in t?r[e]=b(t[e],n[e]):i[e]=n[e];return function(t){for(e in r)i[e]=r[e](t);return i}}var y=e(23996);function m(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 g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}function b(t,n){var e,i,a=g(n);return null==n||"boolean"===a?o(n):("number"===a?h.A:"string"===a?(e=(0,r.Ay)(n))?(n=e,c):y.A:n instanceof r.Ay?c:n instanceof Date?d.A:(i=n,!ArrayBuffer.isView(i)||i instanceof DataView?Array.isArray(n)?f:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?v:h.A:m))(t,n)}},48028:function(t,n,e){"use strict";e.d(n,{C:function(){return h},Ay:function(){return v},D_:function(){return c},Gu:function(){return p}});var r=e(31367),i=e(40085),o=e(12536),a=e(68273);function u(t){return+t}var l=[0,1];function c(t){return t}function s(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:(e=isNaN(n)?NaN:.5,function(){return e});var e}function f(t,n,e){var r=t[0],i=t[1],o=n[0],a=n[1];return i<r?(r=s(i,r),o=e(a,o)):(r=s(r,i),o=e(o,a)),function(t){return o(r(t))}}function d(t,n,e){var i=Math.min(t.length,n.length)-1,o=new Array(i),a=new Array(i),u=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++u<i;)o[u]=s(t[u],t[u+1]),a[u]=e(n[u],n[u+1]);return function(n){var e=(0,r.Ay)(t,n,1,i)-1;return a[e](o[e](n))}}function h(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function p(){var t,n,e,r,s,h,p=l,v=l,y=i.A,m=c;function g(){var t,n,e,i=Math.min(p.length,v.length);return m!==c&&(t=p[0],n=p[i-1],t>n&&(e=t,t=n,n=e),m=function(e){return Math.max(t,Math.min(n,e))}),r=i>2?d:f,s=h=null,b}function b(n){return null==n||isNaN(n=+n)?e:(s||(s=r(p.map(t),v,y)))(t(m(n)))}return b.invert=function(e){return m(n((h||(h=r(v,p.map(t),o.A)))(e)))},b.domain=function(t){return arguments.length?(p=Array.from(t,u),g()):p.slice()},b.range=function(t){return arguments.length?(v=Array.from(t),g()):v.slice()},b.rangeRound=function(t){return v=Array.from(t),y=a.A,g()},b.clamp=function(t){return arguments.length?(m=!!t||c,g()):m!==c},b.interpolate=function(t){return arguments.length?(y=t,g()):y},b.unknown=function(t){return arguments.length?(e=t,b):e},function(e,r){return t=e,n=r,g()}}function v(){return p()(c,c)}},32524: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.d(n,{C:function(){return r},K:function(){return i}})},73440:function(t,n,e){"use strict";e.d(n,{A:function(){return f},C:function(){return s}});var r=e(51465),i=e(48028),o=e(32524),a=e(83786),u=e(58892);var l=e(80835);function c(t,n,e,i){var o,c=(0,r.sG)(t,n,e);switch((i=(0,a.A)(null==i?",f":i)).type){case"s":var s=Math.max(Math.abs(t),Math.abs(n));return null!=i.precision||isNaN(o=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,u.A)(n)/3)))-(0,u.A)(Math.abs(t)))}(c,s))||(i.precision=o),(0,l.s)(i,s);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(o=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,(0,u.A)(n)-(0,u.A)(t))+1}(c,Math.max(Math.abs(t),Math.abs(n))))||(i.precision=o-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(o=function(t){return Math.max(0,-(0,u.A)(Math.abs(t)))}(c))||(i.precision=o-2*("%"===i.type))}return(0,l.GP)(i)}function s(t){var n=t.domain;return t.ticks=function(t){var e=n();return(0,r.Ay)(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return c(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var i,o,a=n(),u=0,l=a.length-1,c=a[u],s=a[l],f=10;for(s<c&&(o=c,c=s,s=o,o=u,u=l,l=o);f-- >0;){if((o=(0,r.lq)(c,s,e))===i)return a[u]=c,a[l]=s,n(a);if(o>0)c=Math.floor(c/o)*o,s=Math.ceil(s/o)*o;else{if(!(o<0))break;c=Math.ceil(c*o)/o,s=Math.floor(s*o)/o}i=o}return t},t}function f(){var t=(0,i.Ay)();return t.copy=function(){return(0,i.C)(t,f())},o.C.apply(t,arguments),s(t)}},33186:function(t,n,e){"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;
1!(l=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,n)||a(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=a(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,l=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return u=t.done,t},e:function(t){l=!0,o=t},f:function(){try{u||null==e.return||e.return()}finally{if(l)throw o}}}}function a(t,n){if(t){if("string"==typeof t)return u(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?u(t,n):void 0}}function u(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function l(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function c(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,f(r.key),r)}}function s(t,n,e){return n&&c(t.prototype,n),e&&c(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function f(t){var n=function(t,n){if("object"!=r(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,n||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==r(n)?n:n+""}function d(t,n,e){return n=b(n),function(t,n){if(n&&("object"==r(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,m()?Reflect.construct(n,e||[],b(t).constructor):n.apply(t,e))}function h(t,n,e,r){var i=p(b(1&r?t.prototype:t),n,e);return 2&r&&"function"==typeof i?function(t){return i.apply(e,t)}:i}function p(){return p="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,n,e){var r=function(t,n){for(;!{}.hasOwnProperty.call(t,n)&&null!==(t=b(t)););return t}(t,n);if(r){var i=Object.getOwnPropertyDescriptor(r,n);return i.get?i.get.call(arguments.length<3?t:e):i.value}},p.apply(null,arguments)}function v(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&g(t,n)}function y(t){var n="function"==typeof Map?new Map:void 0;return y=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(n){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(t))return n.get(t);n.set(t,e)}function e(){return function(t,n,e){if(m())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,n);var i=new(t.bind.apply(t,r));return e&&g(i,e.prototype),i}(t,arguments,b(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),g(e,t)},y(t)}function m(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(m=function(){return!!t})()}function g(t,n){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},g(t,n)}function b(t){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},b(t)}e.d(n,{A:function(){return I}});var x=function(t){function n(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:M;if(l(this,n),e=d(this,n),Object.defineProperties(e,{_intern:{value:new Map},_key:{value:r}}),null!=t){var a,u=o(t);try{for(u.s();!(a=u.n()).done;){var c=i(a.value,2),s=c[0],f=c[1];e.set(s,f)}}catch(t){u.e(t)}finally{u.f()}}return e}return v(n,t),s(n,[{key:"get",value:function(t){return h(n,"get",this,3)([w(this,t)])}},{key:"has",value:function(t){return h(n,"has",this,3)([w(this,t)])}},{key:"set",value:function(t,e){return h(n,"set",this,3)([A(this,t),e])}},{key:"delete",value:function(t){return h(n,"delete",this,3)([S(this,t)])}}])}(y(Map));function w(t,n){var e=t._intern,r=(0,t._key)(n);return e.has(r)?e.get(r):n}function A(t,n){var e=t._intern,r=(0,t._key)(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function S(t,n){var e=t._intern,r=(0,t._key)(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function M(t){return null!==t&&"object"===r(t)?t.valueOf():t}var k=e(32524);function _(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return j(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?j(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return a=t.done,t},e:function(t){u=!0,o=t},f:function(){try{a||null==e.return||e.return()}finally{if(u)throw o}}}}function j(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}
1var E=Symbol("implicit");function I(){var t=new x,n=[],e=[],r=E;function i(i){var o=t.get(i);if(void 0===o){if(r!==E)return r;t.set(i,o=n.push(i)-1)}return e[o%e.length]}return i.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new x;var r,o=_(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;t.has(a)||t.set(a,n.push(a)-1)}}catch(t){o.e(t)}finally{o.f()}return i},i.range=function(t){return arguments.length?(e=Array.from(t),i):e.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return I(n,e).unknown(r)},k.C.apply(i,arguments),i}},21050:function(t,n,e){"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}e.d(n,{A:function(){return i}});Array.prototype.slice;function i(t){return"object"===r(t)&&"length"in t?t:Array.from(t)}},66327:function(t,n,e){"use strict";function r(t){return function(){return t}}e.d(n,{A:function(){return r}})},72197:function(t,n,e){"use strict";e.d(n,{F8:function(){return l},FA:function(){return h},FP:function(){return i},HQ:function(){return p},Ni:function(){return s},RZ:function(){return c},T9:function(){return a},TW:function(){return d},gn:function(){return o},jk:function(){return u},pi:function(){return f},qR:function(){return v},tn:function(){return r}});var r=Math.abs,i=Math.atan2,o=Math.cos,a=Math.max,u=Math.min,l=Math.sin,c=Math.sqrt,s=1e-12,f=Math.PI,d=f/2,h=2*f;function p(t){return t>1?0:t<-1?f:Math.acos(t)}function v(t){return t>=1?d:t<=-1?-d:Math.asin(t)}},13469:function(t,n,e){"use strict";var r,i,o,a,u,l,c,s,f,d,h,p,v,y;function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}function g(t,n){return n||(n=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))}function b(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,x(r.key),r)}}function x(t){var n=function(t,n){if("object"!=m(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,n||"default");if("object"!=m(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==m(n)?n:n+""}e.d(n,{i:function(){return j}});var w=Math.PI,A=2*w,S=1e-6,M=A-S;function k(t){this._+=t[0];for(var n=1,e=t.length;n<e;++n)this._+=arguments[n]+t[n]}var _=function(){return t=function t(n){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==n?k:function(t){var n=Math.floor(t);if(!(n>=0))throw new Error("invalid digits: ".concat(t));if(n>15)return k;var e=Math.pow(10,n);return function(t){this._+=t[0];for(var n=1,r=t.length;n<r;++n)this._+=Math.round(arguments[n]*e)/e+t[n]}}(n)},(n=[{key:"moveTo",value:function(t,n){this._append(r||(r=g(["M",",",""])),this._x0=this._x1=+t,this._y0=this._y1=+n)}},{key:"closePath",value:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append(i||(i=g(["Z"]))))}},{key:"lineTo",value:function(t,n){this._append(o||(o=g(["L",",",""])),this._x1=+t,this._y1=+n)}},{key:"quadraticCurveTo",value:function(t,n,e,r){this._append(a||(a=g(["Q",",",",",",",""])),+t,+n,this._x1=+e,this._y1=+r)}},{key:"bezierCurveTo",value:function(t,n,e,r,i,o){this._append(u||(u=g(["C",",",",",",",",",",",""])),+t,+n,+e,+r,this._x1=+i,this._y1=+o)}},{key:"arcTo",value:function(t,n,e,r,i){if(t=+t,n=+n,e=+e,r=+r,(i=+i)<0)throw new Error("negative radius: ".concat(i));var o=this._x1,a=this._y1,u=e-t,d=r-n,h=o-t,p=a-n,v=h*h+p*p;if(null===this._x1)this._append(l||(l=g(["M",",",""])),this._x1=t,this._y1=n);else if(v>S)if(Math.abs(p*u-d*h)>S&&i){var y=e-o,m=r-a,b=u*u+d*d,x=y*y+m*m,A=Math.sqrt(b),M=Math.sqrt(v),k=i*Math.tan((w-Math.acos((b+v-x)/(2*A*M)))/2),_=k/M,j=k/A;Math.abs(_-1)>S&&this._append(s||(s=g(["L",",",""])),t+_*h,n+_*p),this._append(f||(f=g(["A",",",",0,0,",",",",",""])),i,i,+(p*y>h*m),this._x1=t+j*u,this._y1=n+j*d)}else this._append(c||(c=g(["L",",",""])),this._x1=t,this._y1=n)}},{key:"arc",value:function(t,n,e,r,i,o){if(t=+t,n=+n,o=!!o,(e=+e)<0)throw new Error("negative radius: ".concat(e));var a=e*Math.cos(r),u=e*Math.sin(r),l=t+a,c=n+u,s=1^o,f=o?r-i:i-r;null===this._x1?this._append(d||(d=g(["M",",",""])),l,c):(Math.abs(this._x1-l)>S||Math.abs(this._y1-c)>S)&&this._append(h||(h=g(["L",",",""])),l,c),e&&(f<0&&(f=f%A+A),f>M?this._append(p||(p=g(["A",",",",0,1,",",",",","A",",",",0,1,",",",",",""])),e,e,s,t-a,n-u,e,e,s,this._x1=l,this._y1=c):f>S&&this._append(v||(v=g(["A",",",",0,",",",",",",",""])),e,e,+(f>=w),s,this._x1=t+e*Math.cos(i),this._y1=n+e*Math.sin(i)))}},{key:"rect",value:function(t,n,e,r){this._append(y||(y=g(["M",",","h","v","h","Z"])),this._x0=this._x1=+t,this._y0=this._y1=+n,e=+e,+r,-e)}},{key:"toString",value:function(){return this._}}])&&b(t.prototype,n),e&&b(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,e}();function j(t){var n=3;return t.digits=function(e){if(!arguments.length)return n;if(null==e)n=null;else{var r=Math.floor(e);if(!(r>=0))throw new RangeError("invalid digits: ".concat(e));n=r}return t},function(){return new _(n)}}_.prototype}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.