1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2979],{22979:function(t,e,n){"use strict";n.r(e),n.d(e,{Bar:function(){return nB},BarCanvas:function(){return nV},BarItem:function(){return nl},BarTooltip:function(){return nc},ResponsiveBar:function(){return nE},ResponsiveBarCanvas:function(){return nI},canvasDefaultProps:function(){return nf},defaultProps:function(){return ns},svgDefaultProps:function(){return nd}});var r=n(2265),i=n(38097),o=n(48474),a=n(72851),l=n(31304);n(95492);var u=n(90374),c=n.n(u);n(60229),n(96579),n(62878);var s=Math.sqrt(50),d=Math.sqrt(10),f=Math.sqrt(2);function h(t,e,n){var r,i,o,a,l=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(a=g(t,e,n))||!isFinite(a))return[];if(a>0){let n=Math.round(t/a),r=Math.round(e/a);for(n*a<t&&++n,r*a>e&&--r,o=Array(i=r-n+1);++l<i;)o[l]=(n+l)*a}else{let n=Math.round(t*(a=-a)),r=Math.round(e*a);for(n/a<t&&++n,r/a>e&&--r,o=Array(i=r-n+1);++l<i;)o[l]=(n+l)/a}return r&&o.reverse(),o}function g(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=s?10:o>=d?5:o>=f?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=s?10:o>=d?5:o>=f?2:1)}function v(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=s?i*=10:o>=d?i*=5:o>=f&&(i*=2),e<t?-i:i}function m(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function x(t){let e=t,n=t;function r(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){let o=r+i>>>1;0>n(t[o],e)?r=o+1:i=o}return r}return 1===t.length&&(e=(e,n)=>t(e)-n,n=(e,n)=>m(t(e),n)),{left:r,center:function(t,n,i,o){null==i&&(i=0),null==o&&(o=t.length);let a=r(t,n,i,o-1);return a>i&&e(t[a-1],n)>-e(t[a],n)?a-1:a},right:function(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){let o=r+i>>>1;n(t[o],e)>0?i=o:r=o+1}return r}}}let y=x(m),b=y.right;y.left,x(function(t){return null===t?NaN:+t}).center;var p=n(34181),k=n(62556),M=n(17113),w=n(52118),C=n(26536);function T(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}function S(t){return+t}var j=[0,1];function W(t){return t}function L(t,e){var n;return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n})}function F(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1];return i<r?(r=L(i,r),o=n(a,o)):(r=L(r,i),o=n(o,a)),function(t){return o(r(t))}}function P(t,e,n){var r=Math.min(t.length,e.length)-1,i=Array(r),o=Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<r;)i[a]=L(t[a],t[a+1]),o[a]=n(e[a],e[a+1]);return function(e){var n=b(t,e,1,r)-1;return o[n](i[n](e))}}function A(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Y(){var t,e,n,r,i,o,a=j,l=j,u=function t(e,n){var r,i,o=typeof n;return null==n||"boolean"===o?(0,C.Z)(n):("number"===o?M.Z:"string"===o?(i=(0,p.ZP)(n))?(n=i,k.ZP):w.Z:n instanceof p.ZP?k.ZP:n instanceof Date?function(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}:!ArrayBuffer.isView(r=n)||r instanceof DataView?Array.isArray(n)?function(e,n){var r,i=n?n.length:0,o=e?Math.min(i,e.length):0,a=Array(o),l=Array(i);for(r=0;r<o;++r)a[r]=t(e[r],n[r]);for(;r<i;++r)l[r]=n[r];return function(t){for(r=0;r<o;++r)l[r]=a[r](t);return l}}:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?function(e,n){var r,i={},o={};for(r in(null===e||"object"!=typeof e)&&(e={}),(null===n||"object"!=typeof n)&&(n={}),n)r in e?i[r]=t(e[r],n[r]):o[r]=n[r];return function(t){for(r in i)o[r]=i[r](t);return o}}:M.Z:function(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}})(e,n)},c=W;function s(){var t,e,n,u=Math.min(a.length,l.length);return c!==W&&(t=a[0],e=a[u-1],t>e&&(n=t,t=e,e=n),c=function(n){return Math.max(t,Math.min(e,n))}),r=u>2?P:F,i=o=null,d}function d(e){return null==e||isNaN(e=+e)?n:(i||(i=r(a.map(t),l,u)))(t(c(e)))}return d.invert=function(n){return c(e((o||(o=r(l,a.map(t),M.Z)))(n)))},d.domain=function(t){return arguments.length?(a=Array.from(t,S),s()):a.slice()},d.range=function(t){return arguments.length?(l=Array.from(t),s()):l.slice()},d.rangeRound=function(t){return l=Array.from(t),u=T,s()},d.clamp=function(t){return arguments.length?(c=!!t||W,s()):c!==W},d.interpolate=function(t){return arguments.length?(u=t,s()):u},d.unknown=function(t){return arguments.length?(n=t,d):n},function(n,r){return t=n,e=r,s()}}var B=n(45056),D=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function U(t){var e;if(!(e=D.exec(t)))throw Error("invalid format: "+t);return new O({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[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.
1width,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+""}function V(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function E(t){return(t=V(Math.abs(t)))?t[1]:NaN}function I(t,e){var n=V(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+Array(i-r.length+2).join("0")}U.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};var R={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>I(100*t,e),r:I,s:function(t,e){var n=V(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(e9=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+Array(1-o).join("0")+V(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function z(t){return t}var H=Array.prototype.map,N=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function Z(t){var e=t.domain;return t.ticks=function(t){var n=e();return h(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return function(t,e,n,r){var i,o,a=v(t,e,n);switch((r=U(null==r?",f":r)).type){case"s":var l=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(o=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(E(l)/3)))-E(Math.abs(a))))||(r.precision=o),nn(r,l);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=Math.max(0,E(Math.abs(Math.max(Math.abs(t),Math.abs(e)))-(i=Math.abs(i=a)))-E(i))+1)||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=Math.max(0,-E(Math.abs(a))))||(r.precision=o-("%"===r.type)*2)}return ne(r)}(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i,o=e(),a=0,l=o.length-1,u=o[a],c=o[l],s=10;for(c<u&&(i=u,u=c,c=i,i=a,a=l,l=i);s-- >0;){if((i=g(u,c,n))===r)return o[a]=u,o[l]=c,e(o);if(i>0)u=Math.floor(u/i)*i,c=Math.ceil(c/i)*i;else if(i<0)u=Math.ceil(u*i)/i,c=Math.floor(c*i)/i;else break;r=i}return t},t}ne=(nt=function(t){var e,n,r,i=void 0===t.grouping||void 0===t.thousands?z:(e=H.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,l=e[0],u=0;i>0&&l>0&&(u+l+1>r&&(l=Math.max(1,r-u)),o.push(t.substring(i-=l,i+l)),!((u+=l+1)>r));)l=e[a=(a+1)%e.length];return o.reverse().join(n)}),o=void 0===t.currency?"":t.currency[0]+"",a=void 0===t.currency?"":t.currency[1]+"",l=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?z:(r=H.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return r[+t]})}),c=void 0===t.percent?"%":t.percent+"",s=void 0===t.minus?"â":t.minus+"",d=void 0===t.nan?"NaN":t.nan+"";function f(t){var e=(t=U(t)).fill,n=t.align,r=t.sign,f=t.symbol,h=t.zero,g=t.width,v=t.comma,m=t.precision,x=t.trim,y=t.type;"n"===y?(v=!0,y="g"):R[y]||(void 0===m&&(m=12),x=!0,y="g"),(h||"0"===e&&"="===n)&&(h=!0,e="0",n="=");var b="$"===f?o:"#"===f&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",p="$"===f?a:/[%p]/.test(y)?c:"",k=R[y],M=/[defgprs%]/.test(y);function w(t){var o,a,c,f=b,w=p;if("c"===y)w=k(t)+w,t="";else{var C=(t=+t)<0||1/t<0;if(t=isNaN(t)?d:k(Math.abs(t),m),x&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),C&&0==+t&&"+"!==r&&(C=!1),f=(C?"("===r?r:s:"-"===r||"("===r?"":r)+f,w=("s"===y?N[8+e9/3]:"")+w+(C&&"("===r?")":""),M){for(o=-1,a=t.length;++o<a;)if(48>(c=t.charCodeAt(o))||c>57){w=(46===c?l+t.slice(o+1):t.slice(o))+w,t=t.slice(0,o);break}}}v&&!h&&(t=i(t,1/0));var T=f.length+t.length+w.length,S=T<g?Array(g-T+1).join(e):"";switch(v&&h&&(t=i(S+t,S.length?g-w.length:1/0),S=""),n){case"<":t=f+t+w+S;break;case"=":t=f+S+t+w;break;case"^":t=S.slice(0,T=S.length>>
11)+f+t+w+S.slice(T);break;default:t=S+f+t+w}return u(t)}return m=void 0===m?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),w.toString=function(){return t+""},w}return{format:f,formatPrefix:function(t,e){var n=f(((t=U(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(E(e)/3))),i=Math.pow(10,-r),o=N[8+r/3];return function(t){return n(i*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,nn=nt.formatPrefix;var q=n(82895);function X(){var t,e,n=(0,q.Z)().unknown(void 0),r=n.domain,i=n.range,o=0,a=1,l=!1,u=0,c=0,s=.5;function d(){var n=r().length,d=a<o,f=d?a:o,h=d?o:a;t=(h-f)/Math.max(1,n-u+2*c),l&&(t=Math.floor(t)),f+=(h-f-t*(n-u))*s,e=t*(1-u),l&&(f=Math.round(f),e=Math.round(e));var g=(function(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=Array(i);++r<i;)o[r]=t+r*n;return o})(n).map(function(e){return f+t*e});return i(d?g.reverse():g)}return delete n.unknown,n.domain=function(t){return arguments.length?(r(t),d()):r()},n.range=function(t){return arguments.length?([o,a]=t,o=+o,a=+a,d()):[o,a]},n.rangeRound=function(t){return[o,a]=t,o=+o,a=+a,l=!0,d()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(l=!!t,d()):l},n.padding=function(t){return arguments.length?(u=Math.min(1,c=+t),d()):u},n.paddingInner=function(t){return arguments.length?(u=Math.min(1,t),d()):u},n.paddingOuter=function(t){return arguments.length?(c=+t,d()):c},n.align=function(t){return arguments.length?(s=Math.max(0,Math.min(1,t)),d()):s},n.copy=function(){return X(r(),[o,a]).round(l).paddingInner(u).paddingOuter(c).align(s)},B.o.apply(d(),arguments)}var G=n(63068),_=n(69310),$=(0,_.Z)(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});$.every=function(t){return isFinite(t=Math.floor(t))&&t>0?t>1?(0,_.Z)(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):$:null},$.range;var J=(0,_.Z)(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+e*G.Ym)},function(t,e){return(e-t)/G.Ym},function(t){return t.getUTCSeconds()});J.range;var K=(0,_.Z)(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*G.Ym)},function(t,e){t.setTime(+t+e*G.yB)},function(t,e){return(e-t)/G.yB},function(t){return t.getMinutes()});K.range;var Q=(0,_.Z)(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*G.Ym-t.getMinutes()*G.yB)},function(t,e){t.setTime(+t+e*G.Y2)},function(t,e){return(e-t)/G.Y2},function(t){return t.getHours()});Q.range;var tt=n(96820),te=n(22829),tn=(0,_.Z)(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12},function(t){return t.getMonth()});tn.range;var tr=n(91992),ti=(0,_.Z)(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*G.yB)},function(t,e){return(e-t)/G.yB},function(t){return t.getUTCMinutes()});ti.range;var to=(0,_.Z)(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+e*G.Y2)},function(t,e){return(e-t)/G.Y2},function(t){return t.getUTCHours()});to.range;var ta=n(28264),tl=n(27441),tu=(0,_.Z)(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12},function(t){return t.getUTCMonth()});tu.range;var tc=n(27246);function ts(t,e,n,r,i,o){let a=[[J,1,G.Ym],[J,5,5*G.Ym],[J,15,15*G.Ym],[J,30,30*G.Ym],[o,1,G.yB],[o,5,5*G.yB],[o,15,15*G.yB],[o,30,30*G.yB],[i,1,G.Y2],[i,3,3*G.Y2],[i,6,6*G.Y2],[i,12,12*G.Y2],[r,1,G.UD],[r,2,2*G.UD],[n,1,G.iM],[e,1,G.jz],[e,3,3*G.jz],[t,1,G.qz]];function l(e,n,r){let i=Math.abs(n-e)/r,o=x(([,,t])=>t).right(a,i);if(o===a.length)return t.every(v(e/G.qz,n/G.qz,r));if(0===o)return $.every(Math.max(v(e,n,r),1));let[l,u]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return l.every(u)}return[function(t,e,n){let r=e<t;r&&([t,e]=[e,t]);let i=n&&"function"==typeof n.range?n:l(t,e,n),o=i?i.range(t,+e+1):[];return r?o.reverse():o},l]}let[td,tf]=ts(tc.Z,tu,tl.Ox,ta.Z,to,ti),[th,tg]=ts(tr.Z,tn,te.OM,tt.Z,Q,K);function tv(t,e){t=t.slice();var n,r=0,i=t.length-1,o=t[r],a=t[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),t[r]=e.floor(o),t[i]=e.ceil(a),t}function tm(t){return new Date(t)}function tx(t){return t instanceof Date?+t:+new Date(+t)}function ty(t,e,n,r,i,o,a,l,u,c){var s=Y()(W,W),d=s.invert,f=s.domain,h=c(".%L"),g=c(":%S"),v=c("%I:%M"),m=c("%I %p"),x=c("%a %d"),y=c("%b %
1d"),b=c("%B"),p=c("%Y");function k(t){return(u(t)<t?h:l(t)<t?g:a(t)<t?v:o(t)<t?m:r(t)<t?i(t)<t?x:y:n(t)<t?b:p)(t)}return s.invert=function(t){return new Date(d(t))},s.domain=function(t){return arguments.length?f(Array.from(t,tx)):f().map(tm)},s.ticks=function(e){var n=f();return t(n[0],n[n.length-1],null==e?10:e)},s.tickFormat=function(t,e){return null==e?k:c(e)},s.nice=function(t){var n=f();return t&&"function"==typeof t.range||(t=e(n[0],n[n.length-1],null==t?10:t)),t?f(tv(n,t)):s},s.copy=function(){return A(s,ty(t,e,n,r,i,o,a,l,u,c))},s}function tb(t){return Math.log(t)}function tp(t){return Math.exp(t)}function tk(t){return-Math.log(-t)}function tM(t){return-Math.exp(-t)}function tw(t){return isFinite(t)?+("1e"+t):t<0?0:t}function tC(t){return function(e){return-t(-e)}}function tT(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function tS(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}var tj=new Date,tW=new Date;function tL(t,e,n,r){function i(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,o){var a,l=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r)||!(o>0))return l;do l.push(a=new Date(+n)),e(n,o),t(n);while(a<n&&n<r);return l},i.filter=function(n){return tL(function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t){if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}})},n&&(i.count=function(e,r){return tj.setTime(+e),tW.setTime(+r),t(tj),t(tW),Math.floor(n(tj,tW))},i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var tF=tL(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});tF.every=function(t){return isFinite(t=Math.floor(t))&&t>0?t>1?tL(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):tF:null},tF.range;var tP=tL(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+1e3*e)},function(t,e){return(e-t)/1e3},function(t){return t.getUTCSeconds()});tP.range;var tA=tL(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},function(t,e){t.setTime(+t+6e4*e)},function(t,e){return(e-t)/6e4},function(t){return t.getMinutes()});tA.range;var tY=tL(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+6e4*e)},function(t,e){return(e-t)/6e4},function(t){return t.getUTCMinutes()});tY.range;var tB=tL(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getHours()});tB.range;var tD=tL(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getUTCHours()});function tU(t){return tL(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5})}tD.range;var tO=tU(0),tV=tU(1),tE=tU(2),tI=tU(3),tR=tU(4),tz=tU(5),tH=tU(6);function tN(t){return tL(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/6048e5})}tO.range,tV.range,tE.range,tI.range,tR.range,tz.range,tH.range;var tZ=tN(0),tq=tN(1),tX=tN(2),tG=tN(3),t_=tN(4),t$=tN(5),tJ=tN(6);tZ.range,tq.range,tX.range,tG.range,t_.range,t$.range,tJ.range;var tK=tL(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12},function(t){return t.getMonth()});tK.range;var tQ=tL(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12},function(t){return t.getUTCMonth()});tQ.range;var t0=tL(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});t0.every=function(t){return isFinite(t=Math.floor(t))&&t>0?tL(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null},t0.range;var t1=tL(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});t1.every=function(t){return isFinite(t=Math.floor(t))&&t>0?tL(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null},t1.range;var t2=[function(t){return t.setMilliseconds(0)},function(t){return t.setSeconds(0)},function(t){return t.setMinutes(0)},function(t){return t.setHours(0)},function(t){return t.setDate(1)},function(t){return t.setMonth(0)}],t6={millisecond:[],second:t2.slice(0,1),minute:t2.slice(0,2),hour:t2.slice(0,3),day:t2.slice(0,4),month:t2.slice(0,5),year:t2.slice(0,6)},t5=function(t){var e,n=t.format,r=void 0===n?"native":n,i=t.precision,o=t.useUTC,l=void 0===o||o,u=(e=void 0===i?"millisecond":i,function(t){return t6[e].forEach(function(e){e(t)}),t});return function(t){return void 0===t?t:"native"===r||t instanceof Date?u(t):u((l?(0,a.wp)(r):(0,a.Z1)(r))(t))}},t3=function(t,e,n,r){var i,o,a,l,u=t.min,c=void 0===u?0:u,s=t.max,d=void 0===s?"auto":s,f=t.stacked,h=void 0!==f&&f,g=t.reverse,v=t.clamp,m=t.nice,x=void 0!==m&&m;i="auto"===c?!0===h?null!=(o=e.minStacked)?o:0:e.min:c,a="auto"===d?!0===h?null!=(l=e.maxStacked)?l:0:e.max:d;var y=(function t(){var e=Y()(W,W);return e.copy=function(){return A(e,t())},B.o.apply(e,arguments),Z(e)})().rangeRound("x"===r?[0,n]:[n,0]).domain(void 0!==g&&g?[a,i]:[i,a]).clamp(void 0!==v&&v);return!0===x?y.nice():"number"==typeof x&&y.nice(x),t4(y,h)},t4=function(t,e){return void 0===e&&(e=!1),t.type="linear",t.stacked=e,t},t8=function(t,e,n){var r=(function(){return function t(e){var n=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return t(n())},e}(X.apply(null,arguments).paddingInner(1))})().range([0,n]).domain(e.all);return r.type="point",r},t7=function(t,e,n,r){var i=t.round;return t9(X().range("x"===r?[0,n]:[n,0]).domain(e.all).round(void 0===i||i))},t9=function(t){return t.type="band",t},et=function(t,e,n){var r,i,o=t.format,l=void 0===o?"native":o,u=t.precision,c=t.min,s=void 0===c?"auto":c,d=t.max,f=void 0===d?"auto":d,h=t.useUTC,g=void 0===h||h,v=t.nice,m=void 0!==v&&v,x=t5({format:l,precision:void 0===u?"millisecond":u,useUTC:g});r="auto"===s?x(e.min):"native"!==l?x(s):s,i="auto"===f?x(e.max):"native"!==l?x(f):f;var y=g?function(){return B.o.apply(ty(td,tf,tc.Z,tu,tl.Ox,ta.Z,to,ti,J,a.g0).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}():function(){return B.o.apply(ty(th,tg,tr.Z,tn,te.OM,tt.Z,Q,K,J,a.i$).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}();return y.range([0,n]),r&&i&&y.domain([r,i]),!0===m?y.nice():"object"!=typeof m&&"number"!=typeof m||y.nice(m),y.type="time",y.useUTC=g,y},ee=function(t,e,n,r){var i,o=t.base,a=t.min,l=void 0===a?"auto":a,u=t.max,c=void 0===u?"auto":u;if(e.all.some(function(t){return 0===t}))throw Error("a log scale domain must not include or cross zero");var s,d,f=!1;if(e.all.filter(function(t){return null!=t}
1).forEach(function(t){f||(void 0===i?i=Math.sign(t):Math.sign(t)!==i&&(f=!0))}),f)throw Error("a log scale domain must be strictly-positive or strictly-negative");s="auto"===l?e.min:l,d="auto"===c?e.max:c;var g=(function t(){var e=(function(t){var e,n,r=t(tb,tp),i=r.domain,o=10;function a(){var a,l;return e=(a=o)===Math.E?Math.log:10===a&&Math.log10||2===a&&Math.log2||(a=Math.log(a),function(t){return Math.log(t)/a}),n=10===(l=o)?tw:l===Math.E?Math.exp:function(t){return Math.pow(l,t)},i()[0]<0?(e=tC(e),n=tC(n),t(tk,tM)):t(tb,tp),r}return 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,a=i(),l=a[0],u=a[a.length-1];(r=u<l)&&(f=l,l=u,u=f);var c,s,d,f=e(l),g=e(u),v=null==t?10:+t,m=[];if(!(o%1)&&g-f<v){if(f=Math.floor(f),g=Math.ceil(g),l>0){for(;f<=g;++f)for(s=1,c=n(f);s<o;++s)if(!((d=c*s)<l)){if(d>u)break;m.push(d)}}else for(;f<=g;++f)for(s=o-1,c=n(f);s>=1;--s)if(!((d=c*s)<l)){if(d>u)break;m.push(d)}2*m.length<v&&(m=h(l,u,v))}else m=h(f,g,Math.min(g-f,v)).map(n);return r?m.reverse():m},r.tickFormat=function(t,i){if(null==i&&(i=10===o?".0e":","),"function"!=typeof i&&(i=ne(i)),t===1/0)return i;null==t&&(t=10);var a=Math.max(1,o*t/r.ticks().length);return function(t){var r=t/n(Math.round(e(t)));return r*o<o-.5&&(r*=o),r<=a?i(t):""}},r.nice=function(){return i(tv(i(),{floor:function(t){return n(Math.floor(e(t)))},ceil:function(t){return n(Math.ceil(e(t)))}}))},r})(Y()).domain([1,10]);return e.copy=function(){return A(e,t()).base(e.base())},B.o.apply(e,arguments),e})().domain([s,d]).rangeRound("x"===r?[0,n]:[n,0]).base(void 0===o?10:o).nice();return g.type="log",g},en=function(t,e,n,r){var i,o,a=t.constant,l=t.min,u=void 0===l?"auto":l,c=t.max,s=void 0===c?"auto":c,d=t.reverse;i="auto"===u?e.min:u,o="auto"===s?e.max:s;var f=(function t(){var e,n,r,i=(e=Y(),n=1,(r=e(tT(1),tS(n))).constant=function(t){return arguments.length?e(tT(n=+t),tS(n)):n},Z(r));return i.copy=function(){return A(i,t()).constant(i.constant())},B.o.apply(i,arguments)})().constant(void 0===a?1:a).rangeRound("x"===r?[0,n]:[n,0]).nice();return!0===(void 0!==d&&d)?f.domain([o,i]):f.domain([i,o]),f.type="symlog",f};function er(t,e,n,r){switch(t.type){case"linear":return t3(t,e,n,r);case"point":return t8(t,e,n);case"band":return t7(t,e,n,r);case"time":return et(t,e,n);case"log":return ee(t,e,n,r);case"symlog":return en(t,e,n,r);default:throw Error("invalid scale spec")}}var ei=function(t){var e=t.bandwidth();if(0===e)return t;var n=e/2;return t.round()&&(n=Math.round(n)),function(e){var r;return(null!=(r=t(e))?r:0)+n}},eo={millisecond:[tF,tF],second:[tP,tP],minute:[tA,tY],hour:[tB,tD],day:[tL(function(t){return t.setHours(0,0,0,0)},function(t,e){return t.setDate(t.getDate()+e)},function(t,e){return(e.getTime()-t.getTime())/864e5},function(t){return Math.floor(t.getTime()/864e5)}),tL(function(t){return t.setUTCHours(0,0,0,0)},function(t,e){return t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e.getTime()-t.getTime())/864e5},function(t){return Math.floor(t.getTime()/864e5)})],week:[tO,tZ],sunday:[tO,tZ],monday:[tV,tq],tuesday:[tE,tX],wednesday:[tI,tG],thursday:[tR,t_],friday:[tz,t$],saturday:[tH,tJ],month:[tK,tQ],year:[t0,t1]},ea=RegExp("^every\\s*(\\d+)?\\s*("+Object.keys(eo).join("|")+")s?$","i"),el=function(t,e){if(Array.isArray(e))return e;if("string"==typeof e&&"useUTC"in t){var n=e.match(ea);if(n){var r=n[1],i=n[2],o=eo[i][t.useUTC?1:0];if("day"===i){var a,l,u=t.domain(),c=u[0],s=new Date(u[1]);return s.setDate(s.getDate()+1),null!=(a=null==(l=o.every(Number(null!=r?r:1)))?void 0:l.range(c,s))?a:[]}if(void 0===r)return t.ticks(o);var d=o.every(Number(r));if(d)return t.ticks(d)}throw Error("Invalid tickValues: "+e)}if("ticks"in t){if(void 0===e)return t.ticks();if("number"==typeof e&&isFinite(e)&&Math.floor(e)===e)return t.ticks(e)}return t.domain()},eu=n(57437),ec=n(41448),es=n.n(ec);function ed(){return(ed=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var ef=function(t){var e,n=t.axis,r=t.scale,o=t.ticksPosition,a=t.tickValues,l=t.tickSize,u=t.tickPadding,c=t.tickRotation,s=t.truncateTickAt,d=t.engine,f=el(r,a),h=i.a6[void 0===d?"svg":d],g="bandwidth"in r?ei(r):r,v={lineX:0,lineY:0},m={textX:0,textY:0},x="object"==typeof document&&"rtl"===document.dir,y=h.align.center,b=h.baseline.center;return"x"===n?(e=function(t){var e;return{x:null!=(e=g(t))?e:0,y:0}},v.lineY=l*("after"===o?1:-1),m.textY=(l+u)*("after"===o?1:-1),b="after"===o?h.baseline.top:h.baseline.bottom,0===c?y=h.align.center:"after"===o&&c<0||"before"===o&&c>0?(y=h.align[x?"left":"right"],b=h.baseline.center):("after"===o&&c>0||"before"===o&&c<0)&&(y=h.align[x?"right":"left"],b=h.baseline.center)):(e=function(t){var e;return{x:0,y:null!=(e=g(t))?e:0}},v.lineX=l*("after"===o?1:-1),m.textX=(l+u)*("after"===o?1:-1),y="after"===o?h.align.left:h.align.right),{ticks:f.map(function(t){var n,r="string"==typeof t?(n=String(t).length,s&&s>0&&n>s?""+String(t).slice(0,s).concat("..."):""+t):t;return ed({key:t instanceof Date?""+t.valueOf():""+t,value:r},e(t),v,m)}),textAlign:y,textBaseline:b}},eh=function(t,e){if(void 0===t||"function"==typeof t)return t;if("time"===e.type){var n=(0,a.i$)(t);return function(t){return n(t instanceof Date?t:new Date(t))}}return(0,l.WU)(t)},eg=function(t){var e=t.width,n=t.height,r=t.scale,i=t.axis,o=t.values,a=(Array.isArray(o)?o:void 0)||el(r,o),l="bandwidth"in r?ei(r):r;return"x"===i?a.map(function(t){var e,r;return{key:t instanceof Date?""+t.valueOf():""+t,x1:null!=(e=l(t))?e:0,x2:null!=(r=l(t))?r:0,y1:0,y2:n}}):a.map(function(t){var n,r;return{key:t instanceof Date?""+t.valueOf():""+t,x1:0,x2:e,y1:null!=(n=l(t))?n:0,y2:null!=(r=l(t))?r:0}})},ev=(0,r.memo)(function(t){var e,n=t.value,a=t.format,l=t.lineX,u=t.lineY,c=t.onClick,s=t.textBaseline,d=t.textAnchor,f=t.animatedProps,h=(0,i.Fg)(),g=h.axis.ticks.line,v=h.axis.ticks.text,m=null!=(e=null==a?void 0:a(n))?e:n,x=(0,r.useMemo)(function(){var t={opacity:f.opacity};return c?{style:ed({},t,{cursor:"pointer"}),onClick:function(t){return c(t,m)}}:{style:t}},[f.opacity,c,m]);return(0,eu.jsxs)(o.q.g,ed({transform:f.transform},x,{children:[(0,eu.jsx)("line",{x1:0,x2:l,y1:0,y2:u,style:g}),v.outlineWidth>0&&(0,eu.jsx)(o.q.text,{dominantBaseline:s,textAnchor:d,transform:f.textTransform,style:v,strokeWidth:2*v.outlineWidth,stroke:v.outlineColor,strokeLinejoin:"round",children:""+m}),(0,eu.jsx)(o.q.text,{dominantBaseline:s,textAnchor:d,transform:f.textTransform,style:v,children:""+m})]}))}),em=(0,r.memo)(function(t){var e=t.axis,n=t.scale,a=t.x,l=t.y,u=t.length,c=t.ticksPosition,s=t.tickValues,d=t.tickSize,f=t.tickPadding,h=t.tickRotation,g=void 0===h?0:h,v=t.format,m=t.renderTick,x=void 0===m?ev:m,y=t.truncateTickAt,b=t.legend,p=t.legendPosition,k=void 0===p?"end":p,M=t.legendOffset,w=void 0===M?0:M,C=t.onClick,T=t.ariaHidden,S=(0,i.Fg)(),j=S.axis.legend.text,W=(0,r.useMemo)(function(){return eh(v,n)},[v,n]),L=ef({axis:e,scale:n,ticksPosition:c,tickValues:s,tickSize:void 0===d?5:d,tickPadding:void 0===f?5:f,tickRotation:g,truncateTickAt:y}),F=L.ticks,P=L.textAlign,A=L.textBaseline,Y=null;if(void 0!==b){var B,D=0,U=0,O=0;
1"y"===e?(O=-90,D=w,"start"===k?(B="start",U=u):"middle"===k?(B="middle",U=u/2):"end"===k&&(B="end")):(U=w,"start"===k?B="start":"middle"===k?(B="middle",D=u/2):"end"===k&&(B="end",D=u)),Y=(0,eu.jsxs)(eu.Fragment,{children:[j.outlineWidth>0&&(0,eu.jsx)("text",{transform:"translate("+D+", "+U+") rotate("+O+")",textAnchor:B,style:ed({dominantBaseline:"central"},j),strokeWidth:2*j.outlineWidth,stroke:j.outlineColor,strokeLinejoin:"round",children:b}),(0,eu.jsx)("text",{transform:"translate("+D+", "+U+") rotate("+O+")",textAnchor:B,style:ed({dominantBaseline:"central"},j),children:b})]})}var V=(0,i.tf)(),E=V.animate,I=V.config,R=(0,o.q_)({transform:"translate("+(void 0===a?0:a)+","+(void 0===l?0:l)+")",lineX2:"x"===e?u:0,lineY2:"x"===e?0:u,config:I,immediate:!E}),z=(0,r.useCallback)(function(t){return{opacity:1,transform:"translate("+t.x+","+t.y+")",textTransform:"translate("+t.textX+","+t.textY+") rotate("+g+")"}},[g]),H=(0,r.useCallback)(function(t){return{opacity:0,transform:"translate("+t.x+","+t.y+")",textTransform:"translate("+t.textX+","+t.textY+") rotate("+g+")"}},[g]),N=(0,o.Yz)(F,{keys:function(t){return t.key},initial:z,from:H,enter:z,update:z,leave:{opacity:0},config:I,immediate:!E});return(0,eu.jsxs)(o.q.g,{transform:R.transform,"aria-hidden":T,children:[N(function(t,e,n,i){return r.createElement(x,ed({tickIndex:i,format:W,rotate:g,textBaseline:A,textAnchor:P,truncateTickAt:y,animatedProps:t},e,C?{onClick:C}:{}))}),(0,eu.jsx)(o.q.line,{style:S.axis.domain.line,x1:0,x2:R.lineX2,y1:0,y2:R.lineY2}),Y]})}),ex={ticksPosition:es().oneOf(["before","after"]),tickValues:es().oneOfType([es().number,es().arrayOf(es().oneOfType([es().number,es().string,es().instanceOf(Date)])),es().string]),rotateOnTickLength:es().shape({angle:es().number,length:es().number}),tickSize:es().number,tickPadding:es().number,tickRotation:es().number,format:es().oneOfType([es().func,es().string]),renderTick:es().func,legend:es().node,legendPosition:es().oneOf(["start","middle","end"]),legendOffset:es().number,ariaHidden:es().bool},ey=(es().shape(ex),["top","right","bottom","left"]),eb=(0,r.memo)(function(t){var e=t.xScale,n=t.yScale,r=t.width,i=t.height,o={top:t.top,right:t.right,bottom:t.bottom,left:t.left};return(0,eu.jsx)(eu.Fragment,{children:ey.map(function(t){var a=o[t];if(!a)return null;var l="top"===t||"bottom"===t;return(0,eu.jsx)(em,ed({},a,{axis:l?"x":"y",x:"right"===t?r:0,y:"bottom"===t?i:0,scale:l?e:n,length:l?r:i,ticksPosition:"top"===t||"left"===t?"before":"after",truncateTickAt:a.truncateTickAt}),t)})})}),ep=(0,r.memo)(function(t){var e=t.animatedProps,n=(0,i.Fg)();return(0,eu.jsx)(o.q.line,ed({},e,n.grid.line))}),ek=(0,r.memo)(function(t){var e=t.lines,n=(0,i.tf)(),a=n.animate,l=n.config,u=(0,o.Yz)(e,{keys:function(t){return t.key},initial:function(t){return{opacity:1,x1:t.x1,x2:t.x2,y1:t.y1,y2:t.y2}},from:function(t){return{opacity:0,x1:t.x1,x2:t.x2,y1:t.y1,y2:t.y2}},enter:function(t){return{opacity:1,x1:t.x1,x2:t.x2,y1:t.y1,y2:t.y2}},update:function(t){return{opacity:1,x1:t.x1,x2:t.x2,y1:t.y1,y2:t.y2}},leave:{opacity:0},config:l,immediate:!a});return(0,eu.jsx)("g",{children:u(function(t,e){return(0,r.createElement)(ep,ed({},e,{key:e.key,animatedProps:t}))})})}),eM=(0,r.memo)(function(t){var e=t.width,n=t.height,i=t.xScale,o=t.yScale,a=t.xValues,l=t.yValues,u=(0,r.useMemo)(function(){return!!i&&eg({width:e,height:n,scale:i,axis:"x",values:a})},[i,a,e,n]),c=(0,r.useMemo)(function(){return!!o&&eg({width:e,height:n,scale:o,axis:"y",values:l})},[n,e,o,l]);return(0,eu.jsxs)(eu.Fragment,{children:[u&&(0,eu.jsx)(ek,{lines:u}),c&&(0,eu.jsx)(ek,{lines:c})]})}),ew=function(t,e){var n,r=e.axis,o=e.scale,a=e.x,l=e.y,u=e.length,c=e.ticksPosition,s=e.tickValues,d=e.tickSize,f=e.tickPadding,h=e.tickRotation,g=void 0===h?0:h,v=e.format,m=e.legend,x=e.legendPosition,y=void 0===x?"end":x,b=e.legendOffset,p=void 0===b?0:b,k=e.theme,M=ef({axis:r,scale:o,ticksPosition:c,tickValues:s,tickSize:void 0===d?5:d,tickPadding:void 0===f?5:f,tickRotation:g,engine:"canvas"}),w=M.ticks,C=M.textAlign,T=M.textBaseline;t.save(),t.translate(void 0===a?0:a,void 0===l?0:l),t.textAlign=C,t.textBaseline=T;var S=k.axis.ticks.text;t.font=(S.fontWeight?S.fontWeight+" ":"")+S.fontSize+"px "+S.fontFamily,(null!=(n=k.axis.domain.line.strokeWidth)?n:0)>0&&(t.lineWidth=Number(k.axis.domain.line.strokeWidth),t.lineCap="square",k.axis.domain.line.stroke&&(t.strokeStyle=k.axis.domain.line.stroke),t.beginPath(),t.moveTo(0,0),t.lineTo("x"===r?u:0,"x"===r?0:u),t.stroke());var j="function"==typeof v?v:function(t){return""+t};if(w.forEach(function(e){(null!=(n=k.axis.ticks.line.strokeWidth)?n:0)>0&&(t.lineWidth=Number(k.axis.ticks.line.strokeWidth),t.lineCap="square",k.axis.ticks.line.stroke&&(t.strokeStyle=k.axis.ticks.line.stroke),t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(e.x+e.lineX,e.y+e.lineY),t.stroke());var n,r=j(e.value);t.save(),t.translate(e.x+e.textX,e.y+e.textY),t.rotate((0,i.Ht)(g)),S.outlineWidth>0&&(t.strokeStyle=S.outlineColor,t.lineWidth=2*S.outlineWidth,t.lineJoin="round",t.strokeText(""+r,0,0)),k.axis.ticks.text.fill&&(t.fillStyle=S.fill),t.fillText(""+r,0,0),t.restore(
1)}),void 0!==m){var W=0,L=0,F=0,P="center";"y"===r?(F=-90,W=p,"start"===y?(P="start",L=u):"middle"===y?(P="center",L=u/2):"end"===y&&(P="end")):(L=p,"start"===y?P="start":"middle"===y?(P="center",W=u/2):"end"===y&&(P="end",W=u)),t.translate(W,L),t.rotate((0,i.Ht)(F)),t.font=(k.axis.legend.text.fontWeight?k.axis.legend.text.fontWeight+" ":"")+k.axis.legend.text.fontSize+"px "+k.axis.legend.text.fontFamily,k.axis.legend.text.fill&&(t.fillStyle=k.axis.legend.text.fill),t.textAlign=P,t.textBaseline="middle",t.fillText(m,0,0)}t.restore()},eC=function(t,e){var n=e.xScale,r=e.yScale,i=e.width,o=e.height,a=e.top,l=e.right,u=e.bottom,c=e.left,s=e.theme,d={top:a,right:l,bottom:u,left:c};ey.forEach(function(e){var a=d[e];if(!a)return null;var l="top"===e||"bottom"===e,u=l?n:r,c=eh(a.format,u);ew(t,ed({},a,{axis:l?"x":"y",x:"right"===e?i:0,y:"bottom"===e?o:0,scale:u,format:c,length:l?i:o,ticksPosition:"top"===e||"left"===e?"before":"after",theme:s}))})},eT=function(t,e){eg({width:e.width,height:e.height,scale:e.scale,axis:e.axis,values:e.values}).forEach(function(e){t.beginPath(),t.moveTo(e.x1,e.y1),t.lineTo(e.x2,e.y2),t.stroke()})},eS=n(42551),ej=n.n(eS),eW=n(60555),eL=n.n(eW),eF=n(24735),eP=n.n(eF);function eA(){return(eA=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var eY={dotSize:4,noteWidth:120,noteTextOffset:8},eB=function(t){var e=typeof t;return(0,r.isValidElement)(t)||"string"===e||"function"===e||"object"===e},eD=function(t){var e=typeof t;return"string"===e||"function"===e},eU=function(t){return"circle"===t.type},eO=function(t){return"dot"===t.type},eV=function(t){return"rect"===t.type},eE=function(t){var e=t.data,n=t.annotations,r=t.getPosition,i=t.getDimensions;return n.reduce(function(t,n){var o=n.offset||0;return[].concat(t,ej()(e,n.match).map(function(t){var e=r(t),a=i(t);return(eU(n)||eV(n))&&(a.size=a.size+2*o,a.width=a.width+2*o,a.height=a.height+2*o),eA({},eP()(n,["match","offset"]),e,a,{size:n.size||a.size,datum:t})}))},[])},eI=function(t,e,n,r){var o=Math.atan2(r-e,n-t);return(0,i.bt)((0,i.vi)(o))},eR=function(t){var e,n,r=t.x,o=t.y,a=t.noteX,l=t.noteY,u=t.noteWidth,c=void 0===u?eY.noteWidth:u,s=t.noteTextOffset,d=void 0===s?eY.noteTextOffset:s;if(eL()(a))e=r+a;else{if(void 0===a.abs)throw Error("noteX should be either a number or an object containing an 'abs' property");e=a.abs}if(eL()(l))n=o+l;else{if(void 0===l.abs)throw Error("noteY should be either a number or an object containing an 'abs' property");n=l.abs}var f=r,h=o,g=eI(r,o,e,n);if(eU(t)){var v=(0,i.re)((0,i.Ht)(g),t.size/2);f+=v.x,h+=v.y}if(eV(t)){var m=Math.round((g+90)/45)%8;0===m&&(h-=t.height/2),1===m&&(f+=t.width/2,h-=t.height/2),2===m&&(f+=t.width/2),3===m&&(f+=t.width/2,h+=t.height/2),4===m&&(h+=t.height/2),5===m&&(f-=t.width/2,h+=t.height/2),6===m&&(f-=t.width/2),7===m&&(f-=t.width/2,h-=t.height/2)}var x=e,y=e;return(g+90)%360>180?(x-=c,y-=c):y+=c,{points:[[f,h],[e,n],[y,n]],text:[x,n-d],angle:g+90}},ez=function(t){var e=t.data,n=t.annotations,i=t.getPosition,o=t.getDimensions;return(0,r.useMemo)(function(){return eE({data:e,annotations:n,getPosition:i,getDimensions:o})},[e,n,i,o])},eH=function(t){var e=t.annotations;return(0,r.useMemo)(function(){return e.map(function(t){return eA({},t,{computed:eR(eA({},t))})})},[e])},eN=function(t){var e=t.datum,n=t.x,a=t.y,l=t.note,u=(0,i.Fg)(),c=(0,i.tf)(),s=c.animate,d=c.config,f=(0,o.q_)({x:n,y:a,config:d,immediate:!s});return"function"==typeof l?(0,r.createElement)(l,{x:n,y:a,datum:e}):(0,eu.jsxs)(eu.Fragment,{children:[u.annotations.text.outlineWidth>0&&(0,eu.jsx)(o.q.text,{x:f.x,y:f.y,style:eA({},u.annotations.text,{strokeLinejoin:"round",strokeWidth:2*u.annotations.text.outlineWidth,stroke:u.annotations.text.outlineColor}),children:l}),(0,eu.jsx)(o.q.text,{x:f.x,y:f.y,style:eP()(u.annotations.text,["outlineWidth","outlineColor"]),children:l})]})},eZ=function(t){var e=t.points,n=t.isOutline,a=void 0!==n&&n,l=(0,i.Fg)(),u=(0,r.useMemo)(function(){var t=e[0];return e.slice(1).reduce(function(t,e){return t+" L"+e[0]+","+e[1]},"M"+t[0]+","+t[1])},[e]),c=(0,i.NS)(u);if(a&&l.annotations.link.outlineWidth<=0)return null;var s=eA({},l.annotations.link);return a&&(s.strokeLinecap="square",s.strokeWidth=l.annotations.link.strokeWidth+2*l.annotations.link.outlineWidth,s.stroke=l.annotations.link.outlineColor,s.opacity=l.annotations.link.outlineOpacity),(0,eu.jsx)(o.q.path,{fill:"none",d:c,style:s})},eq=function(t){var e=t.x,n=t.y,r=t.size,a=(0,i.Fg)(),l=(0,i.tf)(),u=l.animate,c=l.config,s=(0,o.q_)({x:e,y:n,radius:r/2,config:c,immediate:!u});return(0,eu.jsxs)(eu.Fragment,{children:[a.annotations.outline.outlineWidth>0&&(0,eu.jsx)(o.q.circle,{cx:s.x,cy:s.y,r:s.radius,style:eA({},a.annotations.outline,{fill:"none",strokeWidth:a.annotations.outline.strokeWidth+2*a.annotations.outline.outlineWidth,stroke:a.annotations.outline.outlineColor,opacity:a.annotations.outline.outlineOpacity})}),(0,eu.jsx)(o.q.circle,{cx:s.x,cy:s.y,r:s.radius,style:a.annotations.outline})]})},eX=function(t){var e=t.x,n=t.y,r=t.size,a=void 0===r?eY.dotSize:r,l=(0,i.Fg)(),u=(0,i.tf)(),c=u.animate,s=u.config,d=(0,o.q_)({x:e,y:n,radius:a/2,config:s,immediate:!c});return(0,eu.jsxs)(eu.Fragment,{children:[l.annotations.outline.outlineWidth>0&&(0,eu.jsx)(o.q.circle,{cx:d.x,cy:d.y,r:d.radius,style:eA({},l.annotations.outline,{fill:"none",strokeWidth:2*l.annotations.outline.outlineWidth,stroke:l.annotations.outline.outlineColor,opacity:l.annotations.outline.outlineOpacity})}),(0,eu.jsx)(o.q.circle,{cx:d.x,cy:d.y,r:d.radius,style:l.annotations.symbol})]})},eG=function(t){var e=t.x,n=t.y,r=t.width,a=t.height,l=t.borderRadius,u=void 0===l?6:l,c=(0,i.Fg)(),s=(0,i.tf)(),d=s.animate,f
1=s.config,h=(0,o.q_)({x:e-r/2,y:n-a/2,width:r,height:a,config:f,immediate:!d});return(0,eu.jsxs)(eu.Fragment,{children:[c.annotations.outline.outlineWidth>0&&(0,eu.jsx)(o.q.rect,{x:h.x,y:h.y,rx:u,ry:u,width:h.width,height:h.height,style:eA({},c.annotations.outline,{fill:"none",strokeWidth:c.annotations.outline.strokeWidth+2*c.annotations.outline.outlineWidth,stroke:c.annotations.outline.outlineColor,opacity:c.annotations.outline.outlineOpacity})}),(0,eu.jsx)(o.q.rect,{x:h.x,y:h.y,rx:u,ry:u,width:h.width,height:h.height,style:c.annotations.outline})]})},e_=function(t){var e=t.datum,n=t.x,i=t.y,o=t.note,a=(0,r.useMemo)(function(){return eR(t)},[t]);if(!eB(o))throw Error("note should be a valid react element");return(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsx)(eZ,{points:a.points,isOutline:!0}),eU(t)&&(0,eu.jsx)(eq,{x:n,y:i,size:t.size}),eO(t)&&(0,eu.jsx)(eX,{x:n,y:i,size:t.size}),eV(t)&&(0,eu.jsx)(eG,{x:n,y:i,width:t.width,height:t.height,borderRadius:t.borderRadius}),(0,eu.jsx)(eZ,{points:a.points}),(0,eu.jsx)(eN,{datum:e,x:a.text[0],y:a.text[1],note:o})]})},e$=function(t,e){e.forEach(function(e,n){var r=e[0],i=e[1];0===n?t.moveTo(r,i):t.lineTo(r,i)})},eJ=function(t,e){var n=e.annotations,r=e.theme;0!==n.length&&(t.save(),n.forEach(function(e){if(!eD(e.note))throw Error("note is invalid for canvas implementation");r.annotations.link.outlineWidth>0&&(t.lineCap="square",t.strokeStyle=r.annotations.link.outlineColor,t.lineWidth=r.annotations.link.strokeWidth+2*r.annotations.link.outlineWidth,t.beginPath(),e$(t,e.computed.points),t.stroke(),t.lineCap="butt"),eU(e)&&r.annotations.outline.outlineWidth>0&&(t.strokeStyle=r.annotations.outline.outlineColor,t.lineWidth=r.annotations.outline.strokeWidth+2*r.annotations.outline.outlineWidth,t.beginPath(),t.arc(e.x,e.y,e.size/2,0,2*Math.PI),t.stroke()),eO(e)&&r.annotations.symbol.outlineWidth>0&&(t.strokeStyle=r.annotations.symbol.outlineColor,t.lineWidth=2*r.annotations.symbol.outlineWidth,t.beginPath(),t.arc(e.x,e.y,e.size/2,0,2*Math.PI),t.stroke()),eV(e)&&r.annotations.outline.outlineWidth>0&&(t.strokeStyle=r.annotations.outline.outlineColor,t.lineWidth=r.annotations.outline.strokeWidth+2*r.annotations.outline.outlineWidth,t.beginPath(),t.rect(e.x-e.width/2,e.y-e.he
1ight/2,e.width,e.height),t.stroke()),t.strokeStyle=r.annotations.link.stroke,t.lineWidth=r.annotations.link.strokeWidth,t.beginPath(),e$(t,e.computed.points),t.stroke(),eU(e)&&(t.strokeStyle=r.annotations.outline.stroke,t.lineWidth=r.annotations.outline.strokeWidth,t.beginPath(),t.arc(e.x,e.y,e.size/2,0,2*Math.PI),t.stroke()),eO(e)&&(t.fillStyle=r.annotations.symbol.fill,t.beginPath(),t.arc(e.x,e.y,e.size/2,0,2*Math.PI),t.fill()),eV(e)&&(t.strokeStyle=r.annotations.outline.stroke,t.lineWidth=r.annotations.outline.strokeWidth,t.beginPath(),t.rect(e.x-e.width/2,e.y-e.height/2,e.width,e.height),t.stroke()),"function"==typeof e.note?e.note(t,{datum:e.datum,x:e.computed.text[0],y:e.computed.text[1],theme:r}):(t.font=r.annotations.text.fontSize+"px "+r.annotations.text.fontFamily,t.textAlign="left",t.textBaseline="alphabetic",t.fillStyle=r.annotations.text.fill,t.strokeStyle=r.annotations.text.outlineColor,t.lineWidth=2*r.annotations.text.outlineWidth,r.annotations.text.outlineWidth>0&&(t.lineJoin="round",t.strokeText(e.note,e.computed.text[0],e.computed.text[1]),t.lineJoin="miter"),t.fillText(e.note,e.computed.text[0],e.computed.text[1]))}),t.restore())},eK=n(8667),eQ=n(55226),e0=n(44774),e1=Array.prototype.slice,e2=n(29751),e6=n(55329),e5=n(2345);function e3(t,e){return t[e]}var e4=n(71088);function e8(){return(e8=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function e7(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}var e9,nt,ne,nn,nr,ni=function(t){var e=ez({data:t.bars,annotations:t.annotations,getPosition:function(t){return{x:t.x+t.width/2,y:t.y+t.height/2}},getDimensions:function(t){var e=t.height,n=t.width;return{width:n,height:e,size:Math.max(n,e)}}});return(0,eu.jsx)(eu.Fragment,{children:e.map(function(t,e){return(0,eu.jsx)(e_,e8({},t),e)})})},no=function(t){var e=t.width,n=t.height,r=t.legends,i=t.toggleSerie;return(0,eu.jsx)(eu.Fragment,{children:r.map(function(t,r){var o,a=t[0],l=t[1];return(0,eu.jsx)(eK.$6,e8({},a,{containerWidth:e,containerHeight:n,data:null!=(o=a.data)?o:l,toggleSerie:a.toggleSerie&&"keys"===a.dataFrom?i:void 0}),r)})})},na=["data"],nl=function(t){var e,n=t.bar,a=n.data,l=e7(n,na),u=t.style,c=u.borderColor,s=u.color,d=u.height,f=u.labelColor,h=u.labelOpacity,g=u.labelX,v=u.labelY,m=u.transform,x=u.width,y=t.borderRadius,b=t.borderWidth,p=t.label,k=t.shouldRenderLabel,M=t.isInteractive,w=t.onClick,C=t.onMouseEnter,T=t.onMouseLeave,S=t.tooltip,j=t.isFocusable,W=t.ariaLabel,L=t.ariaLabelledBy,F=t.ariaDescribedBy,P=(0,i.Fg)(),A=(0,eQ.lL)(),Y=A.showTooltipFromEvent,B=A.showTooltipAt,D=A.hideTooltip,U=(0,r.useMemo)(function(){return function(){return(0,r.createElement)(S,e8({},l,a))}},[S,l,a]),O=(0,r.useCallback)(function(t){null==w||w(e8({color:l.color},a),t)},[l,a,w]),V=(0,r.useCallback)(function(t){return Y(U(),t)},[Y,U]),E=(0,r.useCallback)(function(t){null==C||C(a,t),Y(U(),t)},[a,C,Y,U]),I=(0,r.useCallback)(function(t){null==T||T(a,t),D()},[a,D,T]),R=(0,r.useCallback)(function(){B(U(),[l.absX+l.width/2,l.absY])},[B,U,l]),z=(0,r.useCallback)(function(){D()},[D]);return(0,eu.jsxs)(o.q.g,{transform:m,children:[(0,eu.jsx)(o.q.rect,{width:(0,o.to)(x,function(t){return Math.max(t,0)}),height:(0,o.to)(d,function(t){return Math.max(t,0)}),rx:y,ry:y,fill:null!=(e=a.fill)?e:s,strokeWidth:b,stroke:c,focusable:j,tabIndex:j?0:void 0,"aria-label":W?W(a):void 0,"aria-labelledby":L?L(a):void 0,"aria-describedby":F?F(a):void 0,onMouseEnter:M?E:void 0,onMouseMove:M?V:void 0,onMouseLeave:M?I:void 0,onClick:M?O:void 0,onFocus:M&&j?R:void 0,onBlur:M&&j?z:void 0}),k&&(0,eu.jsx)(o.q.text,{x:g,y:v,textAnchor:"middle",dominantBaseline:"central",fillOpacity:h,style:e8({},P.labels.text,{pointerEvents:"none",fill:f}),children:p})]})},nu=["color","label"],nc=function(t){var e=t.color,n=t.label,r=e7(t,nu);return(0,eu.jsx)(eQ._5,{id:n,value:r.formattedValue,enableChip:!0,color:e})},ns={indexBy:"id",keys:["value"],groupMode:"stacked",layout:"vertical",reverse:!1,minValue:"auto",maxValue:"auto",valueScale:{type:"linear"},indexScale:{type:"band",round:!0},padding:.1,innerPadding:0,axisBottom:{},axisLeft:{},enableGridX:!1,enableGridY:!0,enableLabel:!0,label:"formattedValue",labelSkipWidth:0,labelSkipHeight:0,labelTextColor:{from:"theme",theme:"labels.text.fill"},colorBy:"id",colors:{scheme:"nivo"},borderRadius:0,borderWidth:0,borderColor:{from:"color"},isInteractive:!0,tooltip:nc,tooltipLabel:function(t){return t.id+" - "+t.indexValue},legends:[],initialHiddenIds:[],annotations:[],markers:[]},nd=e8({},ns,{layers:["grid","axes","bars","markers","legends","annotations"],barComponent:nl,defs:[],fill:[],animate:!0,motionConfig:"default",role:"img",isFocusable:!1}),nf=e8({},ns,{layers:["grid","axes","bars","legends","annotations"],pixelRatio:"undefined"!=typeof window&&null!=(nr=window.devicePixelRatio)?nr:1}),nh=function(t,e,n,r,i,o){return er(r,{all:t.map(e),min:0,max:0},i,o).padding(n)},ng=function(t,e){return t.map(function(t){return e8({},e.reduce(function(t,e){return t[e]=null,t},{}),t)})},nv=function(t){return Object.keys(t).reduce(function(e,n){return t[n]&&(e[n]=t[n]),e},{})},nm=function(t){return[t,Number(t)]},nx=["layout","minValue","maxValue","reverse","width","height","padding","innerPadding","valueScale","indexScale","hiddenIds"],ny=function(t,e){return t>e},nb=function(t,e){return t<e},np=function(t,e){return Array.from(" ".repeat(e-t),function(e,n){return t+n})},nk=function(t){return ny(t,0)?0:t},nM=function(t,e,n,r){var i=t.data,o=t.formatValue,a=t.getColor,l=t.getIndex,u=t.getTooltipLabel,c=t.innerPadding,s=void 0===c?0:c,d=t.keys,f=t.xScale,h=t.yScale,g=t.margin,v=n?nb:ny,m=i.map(nv),x=[];return d.forEach(function(t,n){return np(0,f.domain().length).forEac
1h(function(c){var d,y,b,p=nm(i[c][t]),k=p[0],M=p[1],w=l(i[c]),C=(null!=(y=f(w))?y:0)+e*n+s*n,T=v(M,0)?null!=(b=h(M))?b:0:r,S=v(M,0)?r-T:(null!=(d=h(M))?d:0)-r,j={id:t,value:null===k?k:M,formattedValue:o(M),hidden:!1,index:c,indexValue:w,data:m[c]};x.push({key:t+"."+j.indexValue,index:x.length,data:j,x:C,y:T,absX:g.left+C,absY:g.top+T,width:e,height:S,color:a(j),label:u(j)})})}),x},nw=function(t,e,n,r){var i=t.data,o=t.formatValue,a=t.getIndex,l=t.getColor,u=t.getTooltipLabel,c=t.keys,s=t.innerPadding,d=void 0===s?0:s,f=t.xScale,h=t.yScale,g=t.margin,v=n?nb:ny,m=i.map(nv),x=[];return c.forEach(function(t,n){return np(0,h.domain().length).forEach(function(c){var s,y,b,p=nm(i[c][t]),k=p[0],M=p[1],w=a(i[c]),C=v(M,0)?r:null!=(b=f(M))?b:0,T=(null!=(y=h(w))?y:0)+e*n+d*n,S=v(M,0)?(null!=(s=f(M))?s:0)-r:r-C,j={id:t,value:null===k?k:M,formattedValue:o(M),hidden:!1,index:c,indexValue:w,data:m[c]};x.push({key:t+"."+j.indexValue,index:x.length,data:j,x:C,y:T,absX:g.left+C,absY:g.top+T,width:S,height:e,color:l(j),label:u(j)})})}),x},nC=function(t){var e,n,r=t.layout,i=t.minValue,o=t.maxValue,a=t.reverse,l=t.width,u=t.height,c=t.padding,s=t.innerPadding,d=void 0===s?0:s,f=t.valueScale,h=t.indexScale,g=t.hiddenIds,v=void 0===g?[]:g,m=e7(t,nx),x=m.keys.filter(function(t){return!v.includes(t)}),y=ng(m.data,x),b="vertical"===r?["y","x",l]:["x","y",u],p=b[0],k=b[1],M=b[2],w=nh(y,m.getIndex,void 0===c?0:c,h,M,k),C=e8({max:o,min:i,reverse:a},f),T="auto"===C.min?nk:function(t){return t},S=y.reduce(function(t,e){return[].concat(t,x.map(function(t){return e[t]}))},[]).filter(Boolean),j=T(Math.min.apply(Math,S)),W=isFinite(n=Math.max.apply(Math,S))?n:0,L=er(C,{all:S,min:j,max:W},"x"===p?l:u,p),F="vertical"===r?[w,L]:[L,w],P=F[0],A=F[1],Y=(w.bandwidth()-d*(x.length-1))/x.length,B=[e8({},m,{data:y,keys:x,innerPadding:d,xScale:P,yScale:A}),Y,C.reverse,null!=(e=L(0))?e:0];return{xScale:P,yScale:A,bars:Y>0?"vertical"===r?nM.apply(void 0,B):nw.apply(void 0,B):[]}},nT=["data","layout","minValue","maxValue","reverse","width","height","padding","valueScale","indexScale","hiddenIds"],nS=function t(e){var n;return e.some(Array.isArray)?t((n=[]).concat.apply(n,e)):e},nj=function(t,e,n){var r=t.formatValue,i=t.getColor,o=t.getIndex,a=t.getTooltipLabel,l=t.innerPadding,u=t.stackedData,c=t.xScale,s=t.yScale,d=t.margin,f=[];return u.forEach(function(t){return c.domain().forEach(function(u,h){var g,v,m,x=t[h],y=null!=(v=c(o(x.data)))?v:0,b=(null!=(m=s(x[n?0:1]))?m:0)+.5*l,p=(null!=(g=s(x[n?1:0]))?g:0)-b-l,k=nm(x.data[t.key]),M=k[0],w=k[1],C={id:t.key,value:null===M?M:w,formattedValue:r(w),hidden:!1,index:h,indexValue:u,data:nv(x.data)};f.push({key:t.key+"."+u,index:f.length,data:C,x:y,y:b,absX:d.left+y,absY:d.top+b,width:e,height:p,color:i(C),label:a(C)})})}),f},nW=function(t,e,n){var r=t.formatValue,i=t.getColor,o=t.getIndex,a=t.getTooltipLabel,l=t.innerPadding,u=t.stackedData,c=t.xScale,s=t.yScale,d=t.margin,f=[];return u.forEach(function(t){return s.domain().forEach(function(u,h){var g,v,m,x=t[h],y=null!=(v=s(o(x.data)))?v:0,b=(null!=(m=c(x[n?1:0]))?m:0)+.5*l,p=(null!=(g=c(x[n?0:1]))?g:0)-b-l,k=nm(x.data[t.key]),M=k[0],w=k[1],C={id:t.key,value:null===M?M:w,formattedValue:r(w),hidden:!1,index:h,indexValue:u,data:nv(x.data)};f.push({key:t.key+"."+u,index:f.length,data:C,x:b,y:y,absX:d.left+b,absY:d.top+y,width:p,height:e,color:i(C),label:a(C)})})}),f},nL=function(t){var e,n=t.data,r=t.layout,i=t.minValue,o=t.maxValue,a=t.reverse,l=t.width,u=t.height,c=t.padding,s=t.valueScale,d=t.indexScale,f=t.hiddenIds,h=void 0===f?[]:f,g=e7(t,nT),v=g.keys.filter(function(t){return!h.includes(t)}),m=(function(){var t=(0,e2.Z)([]),e=e5.Z,n=e6.Z,r=e3;function i(i){var o,a,l=t.apply(this,arguments),u=i.length,c=l.length,s=Array(c);for(o=0;o<c;++o){for(var d,f=l[o],h=s[o]=Array(u),g=0;g<u;++g)h[g]=d=[0,+r(i[g],f,g,i)],d.data=i[g];h.key=f}for(o=0,a=e(s);o<c;++o)s[a[o]].index=o;return n(s,a),s}return i.keys=function(e){return arguments.length?(t="function"==typeof e?e:(0,e2.Z)(e1.call(e)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:(0,e2.Z)(+t),i):r},i.order=function(t){return arguments.length?(e=null==t?e5.Z:"function"==typeof t?t:(0,e2.Z)(e1.call(t)),i):e},i.offset=function(t){return arguments.length?(n=null==t?e6.Z:t,i):n},i})().keys(v).offset(e4.Z)(ng(n,v)),x="vertical"===r?["y","x",l]:["x","y",u],y=x[0],b=x[1],p=x[2],k=nh(n,g.getIndex,void 0===c?0:c,d,p,b),M=e8({max:o,min:i,reverse:a},s),w=(e=nS(m),"log"===s.type?e.filter(function(t){return 0!==t}):e),C=Math.min.apply(Math,w),T=Math.max.apply(Math,w),S=er(M,{all:w,min:C,max:T},"x"===y?l:u,y),j="vertical"===r?[k,S]:[S,k],W=j[0],L=j[1],F=g.innerPadding>0?g.innerPadding:0,P=k.bandwidth(),A=[e8({},g,{innerPadding:F,stackedData:m,xScale:W,yScale:L}),P,M.reverse];return{xScale:W,yScale:L,bars:P>0?"vertical"===r?nj.apply(void 0,A):nW.apply(void 0,A):[]}},nF=function(t){var e,n,r=t.bars,o=t.direction,a=t.from,l=t.groupMode,u=t.layout,s=t.legendLabel,d=t.reverse,f=(0,i.Xc)(null!=s?s:"indexes"===a?"indexValue":"id");return"indexes"===a?(e=c()(r.map(function(t){var e,n;return{id:null!=(e=t.data.indexValue)?e:"",label:f(t.data),hidden:t.data.hidden,color:null!=(n=t.color)?n:"#000"}}),function(t){return t.id}),"horizontal"===u&&e.reverse(),e):(n=c()(r.map(function(t){var e;return{id:t.data.id,label:f(t.data),hidden:t.data.hidden,color:null!=(e=t.color)?e:"#000"}}),function(t){return t.id}),("vertical"===u&&"stacked"===l&&"column"===o&&!0!==d||"horizontal"===u&&"stacked"===l&&!0===d)&&n.reverse(),n)},nP=function(t){var e=t.indexBy,n=void 0===e?ns.indexBy:e,o=t.keys,a=void 0===o?ns.keys:o,l=t.label,u=void 0===l?ns.label:l,c=t.tooltipLabel,s=void 0===c?ns.tooltipLabel:c,d=t.valueFormat,f=t.colors,h=void 0===f?ns.colors:f,g=t.colorBy,v=void 0===g?ns.colorBy:g,m=t.borderColor,x=void 0===m?ns.borderColor:m,y=t.labelTextColor,b=void 0===y?ns.labelTextColor:y,p=t.groupMode,k=void 0===p?ns.groupMode:p,M=t.layout,w=void 0===M?ns.layout:M,C=t.reverse,T=void 0===C?ns.reverse:C,S=t.data,j=t.minValue,W=void 0===j?ns.minValue:j,L=t.maxValue,F=void 0===L?ns.maxValue:L,P=t.margin,A=t.width,Y=t.height,B=t.padding,D=void 0===B?ns.padding:B,U=t.innerPadding,O=void 0===U?ns.innerPadding:U,V=t.valueScale,E=void 0===V?ns.valueScale:V,I=t.indexScale,R=void 0===I?ns.indexScale:I,z=t.initialHiddenIds,H=void 0===z?ns.initialHiddenIds:z,N=t.enableLabel,Z=void 0===N?ns.enableLabel:N,q=t.labelSkipWidth,X=void 0===q?ns.labelSkipWidth:q,G=t.labelSkipHeight,_=void 0===G?ns.labelSkipHeight:G,$=t.legends,J=void 0===$?ns.legends:$,K=t.legendLabel,Q=(0,r.useState)(null!=H?H:[]),tt=Q[0],te=Q[1],tn=(0,r.useCallback)(function(t){te(function(e){return e.indexOf(t)>-1?e.filter(function(e){return e!==t}):[].concat(e,[t])})},[]),tr=(0,i.LR)(n),ti=(0,i.LR)(u),to=(0,i.LR)(s),ta=(0,i.O_)(d),tl=(0,i.Fg)(),tu=(0,e0.U)(h,v),tc=(0,e0.Bf)(x,tl),ts=(0,e0.Bf)(b,tl),td=("grouped"===k?nC:nL)({layout:w,reverse:T,data:S,getIndex:tr,keys:a,minValue:W,maxValue:F,width:A,height:Y,getColor:tu,padding:D,innerPadding:O,valueScale:E,indexScale:R,hiddenIds:tt,formatValue:ta,getTooltipLabel:to,margin:P}),tf=td.bars,th=td.xScale,tg=td.yScale,tv=(0,r.useMemo)(function(){return tf.filter(function(t){return null!==t.data.value}).map(function(t,e){return e8({},t,{index:e})})},[tf]),tm=(0,r.useCallback)(function(t){var e=t.width,n=t.height;return!!Z&&!(X>0&&e<X)&&!(_>0&&n<_)},[Z,X,_]),tx=(0,r.useMemo)(function(){return a.map(function(t){var e=tf.find(function(e){return e.data.id===t});return e8({},e,{data:e8({id:t},null==e?void 0:e.data,{hidden:tt.includes(t)})})})},[tt,a,tf]),ty=(0,r.useMemo)(function(){return J.map(function(t){return[t,nF({bars:"keys"===t.dataFrom?tx:tf,direction:t.direction,from:t.dataFrom,groupMode:k,layout:w,legendLabel:K,reverse:T})]})},[J,tx,tf,k,w,K,T]);return{bars:tf,barsWithValue:tv,xScale:th,yScale:tg,getIndex:tr,getLabel:ti,getTooltipLabel:to,formatValue:ta,getColor:tu,getBorderColor:tc,getLabelColor:ts,shouldRenderBarLabel:tm,hiddenIds:tt,toggleSerie:tn,legendsWithData:ty}},nA=["isInteractive","animate","motionConfig","theme","renderWrapper"],nY=function(t){var e=t.data,n=t.indexBy,a=t.keys,l=t.margin,u=t.width,c=t.height,s=t.groupMode,d=t.layout,f=t.reverse,h=t.minValue,g=t.maxValue,v=t.valueScale,m=t.indexScale,x=t.padding,y=t.innerPadding,b=t.axisTop,p=t.axisRight,k=t.axisBottom,M=void 0===k?nd.axisBottom:k,w=t.axisLeft,C=void 0===w?nd.axisLeft:w,T=t.enableGridX,S=void 0===T?nd.enableGridX:T,j=t.enableGridY,W=void 0===j?nd.enableGridY:j,L=t.gridXValues,F=t.gridYValues,P=t.layers,A=void 0===P?nd.layers:P,Y=t.barComponent,B=void 0===Y?nd.barComponent:Y,D=t.enableLabel,U=void 0===D?nd.enableLabel:D,O=t.label,V=t.labelSkipWidth,E=void 0===V?nd.labelSkipWidth:V,I=t.labelSkipHeight,R=void 0===I?nd.labelSkipHeight:I,z=t.labelTextColor,H=t.markers,N=void 0===H?nd.markers:H,Z=t.colorBy,q=t.colors,X=t.defs,G=void 0===X?nd.defs:X,_=t.fill,$=void 0===_?nd.fill:_,J=t.borderRadius,K=void 0===J?nd.borderRadius:J,Q=t.borderWidth,tt=void 0===Q?nd.borderWidth:Q,te=t.borderColor,tn=t.annotations,tr=void 0===tn?nd.annotations:tn,ti=t.legendLabel,to=t.tooltipLabel,ta=t.valueFormat,tl=t.isInteractive,tu=void 0===tl?nd.isInteractive:tl,tc=t.tooltip,ts=void 0===tc?nd.tooltip:tc,td=t.onClick,tf=t.onMouseEnter,th=t.onMouseLeave,tg=t.legends,tv=t.role,tm=void 0===tv?nd.role:tv,tx=t.ariaLabel,ty=t.ariaLabelledBy,tb=t.ariaDescribedBy,tp=t.isFocusable,tk=void 0===tp?
1nd.isFocusable:tp,tM=t.barAriaLabel,tw=t.barAriaLabelledBy,tC=t.barAriaDescribedBy,tT=t.initialHiddenIds,tS=(0,i.tf)(),tj=tS.animate,tW=tS.config,tL=(0,i.Bs)(u,c,l),tF=tL.outerWidth,tP=tL.outerHeight,tA=tL.margin,tY=tL.innerWidth,tB=tL.innerHeight,tD=nP({indexBy:n,label:O,tooltipLabel:to,valueFormat:ta,colors:q,colorBy:Z,borderColor:te,labelTextColor:z,groupMode:s,layout:d,reverse:f,data:e,keys:a,minValue:h,maxValue:g,margin:tA,width:tY,height:tB,padding:x,innerPadding:y,valueScale:v,indexScale:m,enableLabel:U,labelSkipWidth:E,labelSkipHeight:R,legends:tg,legendLabel:ti,initialHiddenIds:tT}),tU=tD.bars,tO=tD.barsWithValue,tV=tD.xScale,tE=tD.yScale,tI=tD.getLabel,tR=tD.getTooltipLabel,tz=tD.getBorderColor,tH=tD.getLabelColor,tN=tD.shouldRenderBarLabel,tZ=tD.toggleSerie,tq=tD.legendsWithData,tX=(0,o.Yz)(tO,{keys:function(t){return t.key},from:function(t){return e8({borderColor:tz(t),color:t.color,height:0,labelColor:tH(t),labelOpacity:0,labelX:t.width/2,labelY:t.height/2,transform:"translate("+t.x+", "+(t.y+t.height)+")",width:t.width},"vertical"===d?{}:{height:t.height,transform:"translate("+t.x+", "+t.y+")",width:0})},enter:function(t){return{borderColor:tz(t),color:t.color,height:t.height,labelColor:tH(t),labelOpacity:1,labelX:t.width/2,labelY:t.height/2,transform:"translate("+t.x+", "+t.y+")",width:t.width}},update:function(t){return{borderColor:tz(t),color:t.color,height:t.height,labelColor:tH(t),labelOpacity:1,labelX:t.width/2,labelY:t.height/2,transform:"translate("+t.x+", "+t.y+")",width:t.width}},leave:function(t){return e8({borderColor:tz(t),color:t.color,height:0,labelColor:tH(t),labelOpacity:0,labelX:t.width/2,labelY:0,transform:"translate("+t.x+", "+(t.y+t.height)+")",width:t.width},"vertical"===d?{}:{labelX:0,labelY:t.height/2,height:t.height,transform:"translate("+t.x+", "+t.y+")",width:0})},config:tW,immediate:!tj,initial:tj?void 0:null}),tG=(0,r.useMemo)(function(){return{borderRadius:K,borderWidth:tt,enableLabel:U,isInteractive:tu,labelSkipWidth:E,labelSkipHeight:R,onClick:td,onMouseEnter:tf,onMouseLeave:th,getTooltipLabel:tR,tooltip:ts,isFocusable:tk,ariaLabel:tM,ariaLabelledBy:tw,ariaDescribedBy:tC}},[K,tt,U,tR,tu,R,E,td,tf,th,ts,tk,tM,tw,tC]),t_=(0,i.yU)(G,tU,$,{dataKey:"data",targetKey:"data.fill"}),t$={annotations:null,axes:null,bars:null,grid:null,legends:null,markers:null};A.includes("annotations")&&(t$.annotations=(0,eu.jsx)(ni,{bars:tU,annotations:tr},"annotations")),A.includes("axes")&&(t$.axes=(0,eu.jsx)(eb,{xScale:tV,yScale:tE,width:tY,height:tB,top:b,right:p,bottom:M,left:C},"axes")),A.includes("bars")&&(t$.bars=(0,eu.jsx)(r.Fragment,{children:tX(function(t,e){return(0,r.createElement)(B,e8({},tG,{bar:e,style:t,shouldRenderLabel:tN(e),label:tI(e.data)}))})},"bars")),A.includes("grid")&&(t$.grid=(0,eu.jsx)(eM,{width:tY,height:tB,xScale:S?tV:null,yScale:W?tE:null,xValues:L,yValues:F},"grid")),A.includes("legends")&&(t$.legends=(0,eu.jsx)(no,{width:tY,height:tB,legends:tq,toggleSerie:tZ},"legends")),A.includes("markers")&&(t$.markers=(0,eu.jsx)(i.TL,{markers:N,width:tY,height:tB,xScale:tV,yScale:tE},"markers"));var tJ=(0,r.useMemo)(function(){return e8({},tG,{margin:tA,width:u,height:c,innerWidth:tY,innerHeight:tB,bars:tU,legendData:tq,enableLabel:U,xScale:tV,yScale:tE,tooltip:ts,getTooltipLabel:tR,onClick:td,onMouseEnter:tf,onMouseLeave:th})},[tG,tA,u,c,tY,tB,tU,tq,U,tV,tE,ts,tR,td,tf,th]);return(0,eu.jsx)(i.tM,{width:tF,height:tP,margin:tA,defs:t_,role:tm,ariaLabel:tx,ariaLabelledBy:ty,ariaDescribedBy:tb,isFocusable:tk,children:A.map(function(t,e){var n;return"function"==typeof t?(0,eu.jsx)(r.Fragment,{children:(0,r.createElement)(t,tJ)},e):null!=(n=null==t$?void 0:t$[t])?n:null})})},nB=function(t){var e=t.isInteractive,n=void 0===e?nd.isInteractive:e,r=t.animate,o=void 0===r?nd.animate:r,a=t.motionConfig,l=void 0===a?nd.motionConfig:a,u=t.theme,c=t.renderWrapper,s=e7(t,nA);return(0,eu.jsx)(i.W2,{animate:o,isInteractive:n,motionConfig:l,renderWrapper:c,theme:u,children:(0,eu.jsx)(nY,e8({isInteractive:n},s))})},nD=["isInteractive","renderWrapper","theme"],nU=function(t,e,n,r){return t.find(function(t){return(0,i.zn)(t.x+e.left,t.y+e.top,t.width,t.height,n,r)})},nO=function(t){var e=t.data,n=t.indexBy,o=t.keys,a=t.margin,l=t.width,u=t.height,c=t.groupMode,s=t.layout,d=t.reverse,f=t.minValue,h=t.maxValue,g=t.valueScale,v=t.indexScale,m=t.padding,x=t.innerPadding,y=t.axisTop,b=t.axisRight,p=t.axisBottom,k=void 0===p?nf.axisBottom:p,M=t.axisLeft,w=void 0===M?nf.axisLeft:M,C=t.enableGridX,T=void 0===C?nf.enableGridX:C,S=t.enableGridY,j=void 0===S?nf.enableGridY:S,W=t.gridXValues,L=t.gridYValues,F=t.layers,P=void 0===F?nf.layers:F,A=t.renderBar,Y=void 0===A?function(t,e){var n=e.bar,r=n.color,i=n.height,o=n.width,a=n.x,l=n.y,u=e.borderColor,c=e.borderRadius,s=e.borderWidth,d=e.label,f=e.labelColor,h=e.shouldRenderLabel;if(t.fillStyle=r,s>0&&(t.strokeStyle=u,t.lineWidth=s),t.beginPath(),c>0){var g=Math.min(c,i);t.moveTo(a+g,l),t.lineTo(a+o-g,l),t.quadraticCurveTo(a+o,l,a+o,l+g),t.lineTo(a+o,l+i-g),t.quadraticCurveTo(a+o,l+i,a+o-g,l+i),t.lineTo(a+g,l+i),t.quadraticCurveTo(a,l+i,a,l+i-g),t.lineTo(a,l
1+g),t.quadraticCurveTo(a,l,a+g,l),t.closePath()}else t.rect(a,l,o,i);t.fill(),s>0&&t.stroke(),h&&(t.textBaseline="middle",t.textAlign="center",t.fillStyle=f,t.fillText(d,a+o/2,l+i/2))}:A,B=t.enableLabel,D=void 0===B?nf.enableLabel:B,U=t.label,O=t.labelSkipWidth,V=void 0===O?nf.labelSkipWidth:O,E=t.labelSkipHeight,I=void 0===E?nf.labelSkipHeight:E,R=t.labelTextColor,z=t.colorBy,H=t.colors,N=t.borderRadius,Z=void 0===N?nf.borderRadius:N,q=t.borderWidth,X=void 0===q?nf.borderWidth:q,G=t.borderColor,_=t.annotations,$=void 0===_?nf.annotations:_,J=t.legendLabel,K=t.tooltipLabel,Q=t.valueFormat,tt=t.isInteractive,te=void 0===tt?nf.isInteractive:tt,tn=t.tooltip,tr=void 0===tn?nf.tooltip:tn,ti=t.onClick,to=t.onMouseEnter,ta=t.onMouseLeave,tl=t.legends,tu=t.pixelRatio,tc=void 0===tu?nf.pixelRatio:tu,ts=t.canvasRef,td=(0,r.useRef)(null),tf=(0,i.Fg)(),th=(0,i.Bs)(l,u,a),tg=th.margin,tv=th.innerWidth,tm=th.innerHeight,tx=th.outerWidth,ty=th.outerHeight,tb=nP({indexBy:n,label:U,tooltipLabel:K,valueFormat:Q,colors:H,colorBy:z,borderColor:G,labelTextColor:R,groupMode:c,layout:s,reverse:d,data:e,keys:o,minValue:f,maxValue:h,margin:tg,width:tv,height:tm,padding:m,innerPadding:x,valueScale:g,indexScale:v,enableLabel:D,labelSkipWidth:V,labelSkipHeight:I,legends:tl,legendLabel:J}),tp=tb.bars,tk=tb.barsWithValue,tM=tb.xScale,tw=tb.yScale,tC=tb.getLabel,tT=tb.getTooltipLabel,tS=tb.getBorderColor,tj=tb.getLabelColor,tW=tb.shouldRenderBarLabel,tL=tb.legendsWithData,tF=(0,eQ.lL)(),tP=tF.showTooltipFromEvent,tA=tF.hideTooltip,tY=eH({annotations:ez({data:tp,annotations:$,getPosition:function(t){return{x:t.x,y:t.y}},getDimensions:function(t){var e=t.width,n=t.height;return{width:e,height:n,size:Math.max(e,n)}}})}),tB=(0,r.useMemo)(function(){return{borderRadius:Z,borderWidth:X,isInteractive:te,isFocusable:!1,labelSkipWidth:V,labelSkipHeight:I,margin:tg,width:l,height:u,innerWidth:tv,innerHeight:tm,bars:tp,legendData:tL,enableLabel:D,xScale:tM,yScale:tw,tooltip:tr,getTooltipLabel:tT,onClick:ti,onMouseEnter:to,onMouseLeave:ta}},[Z,X,te,V,I,tg,l,u,tv,tm,tp,tL,D,tM,tw,tr,tT,ti,to,ta]);(0,r.useEffect)(function(){var t,e=null==(t=td.current)?void 0:t.getContext("2d");td.current&&e&&(td.current.width=tx*tc,td.current.height=ty*tc,e.scale(tc,tc),e.fillStyle=tf.background,e.fillRect(0,0,tx,ty),e.translate(tg.left,tg.top),P.forEach(function(t){"grid"===t?"number"==typeof tf.grid.line.strokeWidth&&tf.grid.line.strokeWidth>0&&(e.lineWidth=tf.grid.line.strokeWidth,e.strokeStyle=tf.grid.line.stroke,T&&eT(e,{width:l,height:u,scale:tM,axis:"x",values:W}),j&&eT(e,{width:l,height:u,scale:tw,axis:"y",values:L})):"axes"===t?eC(e,{xScale:tM,yScale:tw,width:tv,height:tm,top:y,right:b,bottom:k,left:w,theme:tf}):"bars"===t?tk.forEach(function(t){Y(e,{bar:t,borderColor:tS(t),borderRadius:Z,borderWidth:X,label:tC(t.data),labelColor:tj(t),shouldRenderLabel:tW(t)})}):"legends"===t?tL.forEach(function(t){var n=t[0],r=t[1];(0,eK.as)(e,e8({},n,{data:r,containerWidth:tv,containerHeight:tm,theme:tf}))}):"annotations"===t?eJ(e,{annotations:tY,theme:tf}):"function"==typeof t&&t(e,tB)}),e.save())},[k,w,b,y,tk,Z,X,tY,T,j,tS,tC,tj,W,L,c,u,tm,tv,tB,P,s,tL,tg.left,tg.top,ty,tx,tc,Y,tM,tw,d,tW,tf,l]);var tD=(0,r.useCallback)(function(t){if(tp&&td.current){var e=(0,i.P6)(td.current,t),n=nU(tp,tg,e[0],e[1]);void 0!==n?(tP((0,r.createElement)(tr,e8({},n.data,{color:n.color,label:n.label,value:Number(n.data.value)})),t),"mouseenter"===t.type&&(null==to||to(n.data,t))):tA()}},[tA,tg,to,tp,tP,tr]),tU=(0,r.useCallback)(function(t){if(tp&&td.current){tA();var e=(0,i.P6)(td.current,t),n=nU(tp,tg,e[0],e[1]);n&&(null==ta||ta(n.data,t))}},[tA,tg,ta,tp]),tO=(0,r.useCallback)(function(t){if(tp&&td.current){var e=(0,i.P6)(td.current,t),n=nU(tp,tg,e[0],e[1]);void 0!==n&&(null==ti||ti(e8({},n.data,{color:n.color}),t))}},[tg,ti,tp]);return(0,eu.jsx)("canvas",{ref:function(t){td.current=t,ts&&"current"in ts&&(ts.current=t)},width:tx*tc,height:ty*tc,style:{width:tx,height:ty,cursor:te?"auto":"normal"},onMouseEnter:te?tD:void 0,onMouseMove:te?tD:void 0,onMouseLeave:te?tU:void 0,onClick:te?tO:void 0})},nV=(0,r.forwardRef)(function(t,e){var n=t.isInteractive,r=t.renderWrapper,o=t.theme,a=e7(t,nD);return(0,eu.jsx)(i.W2,{isInteractive:n,renderWrapper:r,theme:o,animate:!1,children:(0,eu.jsx)(nO,e8({},a,{canvasRef:e}))})}),nE=function(t){return(0,eu.jsx)(i.d,{children:function(e){var n=e.width,r=e.height;return(0,eu.jsx)(nB,e8({width:n,height:r},t))}})},nI=(0,r.forwardRef)(function(t,e){return(0,eu.jsx)(i.d,{children:function(n){var r=n.width,i=n.height;return(0,eu.jsx)(nV,e8({width:r,height:i},t,{ref:e}))}})})},68397:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}},9720:function(t,e,n){var r=n(54133),i=n(63815);t.exports=function(t,e){return t&&r(e,i(e),t)}},30899:function(t,e,n){var r=n(54133),i=n(54573);t.exports=function(t,e){return t&&r(e,i(e),t)}},30550:function(t,e,n){var r=n(45989),i=n(68397),o=n(40158),a=n(9720
1),l=n(30899),u=n(39881),c=n(47120),s=n(38175),d=n(75986),f=n(32807),h=n(43323),g=n(14995),v=n(65644),m=n(96288),x=n(45114),y=n(60443),b=n(46551),p=n(90409),k=n(63117),M=n(41226),w=n(63815),C=n(54573),T="[object Arguments]",S="[object Function]",j="[object Object]",W={};W[T]=W["[object Array]"]=W["[object ArrayBuffer]"]=W["[object DataView]"]=W["[object Boolean]"]=W["[object Date]"]=W["[object Float32Array]"]=W["[object Float64Array]"]=W["[object Int8Array]"]=W["[object Int16Array]"]=W["[object Int32Array]"]=W["[object Map]"]=W["[object Number]"]=W[j]=W["[object RegExp]"]=W["[object Set]"]=W["[object String]"]=W["[object Symbol]"]=W["[object Uint8Array]"]=W["[object Uint8ClampedArray]"]=W["[object Uint16Array]"]=W["[object Uint32Array]"]=!0,W["[object Error]"]=W[S]=W["[object WeakMap]"]=!1,t.exports=function t(e,n,L,F,P,A){var Y,B=1&n,D=2&n,U=4&n;if(L&&(Y=P?L(e,F,P,A):L(e)),void 0!==Y)return Y;if(!k(e))return e;var O=y(e);if(O){if(Y=v(e),!B)return c(e,Y)}else{var V=g(e),E=V==S||"[object GeneratorFunction]"==V;if(b(e))return u(e,B);if(V==j||V==T||E&&!P){if(Y=D||E?{}:x(e),!B)return D?d(e,l(Y,e)):s(e,a(Y,e))}else{if(!W[V])return P?e:{};Y=m(e,V,B)}}A||(A=new r);var I=A.get(e);if(I)return I;A.set(e,Y),M(e)?e.forEach(function(r){Y.add(t(r,n,L,r,e,A))}):p(e)&&e.forEach(function(r,i){Y.set(i,t(r,n,L,i,e,A))});var R=U?D?h:f:D?C:w,z=O?void 0:R(e);return i(z||e,function(r,i){z&&(r=e[i=r]),o(Y,i,t(r,n,L,i,e,A))}),Y}},30419:function(t,e,n){var r=n(97385),i=n(23045)(r);t.exports=i},74119:function(t,e,n){var r=n(30419);t.exports=function(t,e){var n=[];return r(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}},24867:function(t,e,n){var r=n(12731),i=n(50561);t.exports=function(t){return i(t)&&"[object Date]"==r(t)}},8637:function(t,e,n){var r=n(14995),i=n(50561);t.exports=function(t){return i(t)&&"[object Map]"==r(t)}},61658:function(t,e,n){var r=n(14995),i=n(50561);t.exports=function(t){return i(t)&&"[object Set]"==r(t)}},28519:function(t,e,n){var r=n(30419),i=n(17806);t.exports=function(t,e){var n=-1,o=i(t)?Array(t.length):[];return r(t,function(t,r,i){o[++n]=e(t,r,i)}),o}},66738:function(t,e,n){var r=n(68165),i=n(29013),o=n(37942),a=n(28519),l=n(642),u=n(66127),c=n(8869),s=n(15502),d=n(60443);t.exports=function(t,e,n){e=e.length?r(e,function(t){return d(t)?function(e){return i(e,1===t.length?t[0]:t)}:t}):[s];var f=-1;return e=r(e,u(o)),l(a(t,function(t,n,i){return{criteria:r(e,function(e){return e(t)}),index:++f,value:t}}),function(t,e){return c(t,e,n)})}},642:function(t){t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},32874:function(t,e,n){var r=n(89544),i=n(43276),o=n(10079),a=n(74701),l=n(66272),u=n(94778);t.exports=function(t,e,n){var c=-1,s=i,d=t.length,f=!0,h=[],g=h;if(n)f=!1,s=o;else if(d>=200){var v=e?null:l(t);if(v)return u(v);f=!1,s=a,g=new r}else g=e?[]:h;e:for(;++c<d;){var m=t[c],x=e?e(m):m;if(m=n||0!==m?m:0,f&&x==x){for(var y=g.length;y--;)if(g[y]===x)continue e;e&&g.push(x),h.push(m)}else s(g,x,n)||(g!==h&&g.push(x),h.push(m))}return h}},80608:function(t,e,n){var r=n(57442),i=n(96579),o=n(77380),a=n(83863);t.exports=function(t,e){return e=r(e,t),null==(t=o(t,e))||delete t[a(i(e))]}},87223:function(t,e,n){var r=n(29810);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}},35636:function(t){var e=/\w*$/;t.exports=function(t){var n=new t.constructor(t.source,e.exec(t));return n.lastIndex=t.lastIndex,n}},1926:function(t,e,n){var r=n(13414),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;t.exports=function(t){return o?Object(o.call(t)):{}}},43425:function(t,e,n){var r=n(41108);t.exports=function(t,e){if(t!==e){var n=void 0!==t,i=null===t,o=t==t,a=r(t),l=void 0!==e,u=null===e,c=e==e,s=r(e);if(!u&&!s&&!a&&t>e||a&&l&&c&&!u&&!s||i&&l&&c||!n&&c||!o)return 1;if(!i&&!a&&!s&&t<e||s&&n&&o&&!i&&!a||u&&n&&o||!l&&o||!c)return -1}return 0}},8869:function(t,e,n){var r=n(43425);t.exports=function(t,e,n){for(var i=-1,o=t.criteria,a=e.criteria,l=o.length,u=n.length;++i<l;){var c=r(o[i],a[i]);if(c){if(i>=u)return c;return c*("desc"==n[i]?-1:1)}}return t.index-e.index}},38175:function(t,e,n){var r=n(54133),i=n(75720);t.exports=function(t,e){return r(t,i(t),e)}},75986:function(t,e,n){var r=n(54133),i=n(89593);t.exports=function(t,e){return r(t,i(t),e)}},23045:function(t,e,n){var r=n(17806);
1t.exports=function(t,e){return function(n,i){if(null==n)return n;if(!r(n))return t(n,i);for(var o=n.length,a=e?o:-1,l=Object(n);(e?a--:++a<o)&&!1!==i(l[a],a,l););return n}}},66272:function(t,e,n){var r=n(71936),i=n(47710),o=n(94778),a=r&&1/o(new r([,-0]))[1]==1/0?function(t){return new r(t)}:i;t.exports=a},48401:function(t,e,n){var r=n(32999);t.exports=function(t){return r(t)?void 0:t}},43323:function(t,e,n){var r=n(83066),i=n(89593),o=n(54573);t.exports=function(t){return r(t,o,i)}},89593:function(t,e,n){var r=n(80506),i=n(98118),o=n(75720),a=n(61810),l=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,o(t)),t=i(t);return e}:a;t.exports=l},65644:function(t){var e=Object.prototype.hasOwnProperty;t.exports=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&e.call(t,"index")&&(r.index=t.index,r.input=t.input),r}},96288:function(t,e,n){var r=n(29810),i=n(87223),o=n(35636),a=n(1926),l=n(57393);t.exports=function(t,e,n){var u=t.constructor;switch(e){case"[object ArrayBuffer]":return r(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return i(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return l(t,n);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return o(t);case"[object Symbol]":return a(t)}}},77380:function(t,e,n){var r=n(29013),i=n(15076);t.exports=function(t,e){return e.length<2?t:r(t,i(e,0,-1))}},42551:function(t,e,n){var r=n(19206),i=n(74119),o=n(37942),a=n(60443);t.exports=function(t,e){return(a(t)?r:i)(t,o(e,3))}},62878:function(t,e,n){var r=n(24867),i=n(66127),o=n(28079),a=o&&o.isDate,l=a?i(a):r;t.exports=l},90409:function(t,e,n){var r=n(8637),i=n(66127),o=n(28079),a=o&&o.isMap,l=a?i(a):r;t.exports=l},60555:function(t,e,n){var r=n(12731),i=n(50561);t.exports=function(t){return"number"==typeof t||i(t)&&"[object Number]"==r(t)}},41226:function(t,e,n){var r=n(61658),i=n(66127),o=n(28079),a=o&&o.isSet,l=a?i(a):r;t.exports=l},47710:function(t){t.exports=function(){}},24735:function(t,e,n){var r=n(68165),i=n(30550),o=n(80608),a=n(57442),l=n(54133),u=n(48401),c=n(61584),s=n(43323),d=c(function(t,e){var n={};if(null==t)return n;var c=!1;e=r(e,function(e){return e=a(e,t),c||(c=e.length>1),e}),l(t,s(t),n),c&&(n=i(n,7,u));for(var d=e.length;d--;)o(n,e[d]);return n});t.exports=d},60229:function(t,e,n){var r=n(55648),i=n(66738),o=n(48674),a=n(60679),l=o(function(t,e){if(null==t)return[];var n=e.length;return n>1&&a(t,e[0],e[1])?e=[]:n>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),i(t,r(e,1),[])});t.exports=l},95492:function(t,e,n){var r=n(32874);t.exports=function(t){return t&&t.length?r(t):[]}},90374:function(t,e,n){var r=n(37942),i=n(32874);t.exports=function(t,e){return t&&t.length?i(t,r(e,2)):[]}}}]);
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.