@undp/data-viz 2.1.3 → 2.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AreaChart.cjs +1 -1
- package/dist/AreaChart.cjs.map +1 -1
- package/dist/AreaChart.js +279 -272
- package/dist/AreaChart.js.map +1 -1
- package/dist/BarGraph.cjs +1 -1
- package/dist/BarGraph.cjs.map +1 -1
- package/dist/BarGraph.d.ts +2 -0
- package/dist/BarGraph.js +1795 -1724
- package/dist/BarGraph.js.map +1 -1
- package/dist/BeeSwarmChart.cjs +1 -1
- package/dist/BeeSwarmChart.cjs.map +1 -1
- package/dist/BeeSwarmChart.js +312 -305
- package/dist/BeeSwarmChart.js.map +1 -1
- package/dist/BiVariateChoroplethMap.cjs +1 -1
- package/dist/BiVariateChoroplethMap.js +1 -1
- package/dist/BulletChart.cjs +1 -1
- package/dist/BulletChart.cjs.map +1 -1
- package/dist/BulletChart.js +298 -287
- package/dist/BulletChart.js.map +1 -1
- package/dist/ButterflyChart.cjs +1 -1
- package/dist/ButterflyChart.cjs.map +1 -1
- package/dist/ButterflyChart.js +224 -217
- package/dist/ButterflyChart.js.map +1 -1
- package/dist/ChoroplethMap.cjs +1 -1
- package/dist/ChoroplethMap.js +1 -1
- package/dist/CirclePackingGraph.cjs +1 -1
- package/dist/CirclePackingGraph.js +2 -2
- package/dist/DifferenceLineChart.cjs +1 -1
- package/dist/DifferenceLineChart.cjs.map +1 -1
- package/dist/DifferenceLineChart.js +404 -397
- package/dist/DifferenceLineChart.js.map +1 -1
- package/dist/DonutChart.cjs +1 -1
- package/dist/DonutChart.cjs.map +1 -1
- package/dist/DonutChart.js +116 -113
- package/dist/DonutChart.js.map +1 -1
- package/dist/DotDensityMap.cjs +1 -1
- package/dist/DotDensityMap.js +1 -1
- package/dist/DualAxisLineChart.cjs +1 -1
- package/dist/DualAxisLineChart.cjs.map +1 -1
- package/dist/DualAxisLineChart.js +320 -313
- package/dist/DualAxisLineChart.js.map +1 -1
- package/dist/DumbbellChart.cjs +1 -1
- package/dist/DumbbellChart.cjs.map +1 -1
- package/dist/DumbbellChart.js +298 -291
- package/dist/DumbbellChart.js.map +1 -1
- package/dist/{EmptyState-BZo1BbAn.js → EmptyState-C7ZXkZWd.js} +4 -4
- package/dist/EmptyState-C7ZXkZWd.js.map +1 -0
- package/dist/EmptyState-gLDRXBHm.cjs +2 -0
- package/dist/EmptyState-gLDRXBHm.cjs.map +1 -0
- package/dist/GraphEl-BixTEyKW.cjs +2 -0
- package/dist/GraphEl-BixTEyKW.cjs.map +1 -0
- package/dist/{GraphEl-CRrAlbcr.js → GraphEl-Dyu_EIQb.js} +3 -2
- package/dist/GraphEl-Dyu_EIQb.js.map +1 -0
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.js +2 -2
- package/dist/GriddedGraphsFromConfig.cjs +1 -1
- package/dist/GriddedGraphsFromConfig.js +1 -1
- package/dist/HeatMap.cjs +1 -1
- package/dist/HeatMap.cjs.map +1 -1
- package/dist/HeatMap.js +179 -172
- package/dist/HeatMap.js.map +1 -1
- package/dist/Histogram.cjs +1 -1
- package/dist/Histogram.js +2 -2
- package/dist/HybridMap.cjs +1 -1
- package/dist/HybridMap.js +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
- package/dist/LineChartWithConfidenceInterval.js +368 -361
- package/dist/LineChartWithConfidenceInterval.js.map +1 -1
- package/dist/MultiGraphDashboardFromConfig.cjs +1 -1
- package/dist/MultiGraphDashboardFromConfig.js +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.js +1 -1
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +1 -1
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +1 -1
- package/dist/MultiLineAltChart.cjs +1 -1
- package/dist/MultiLineAltChart.cjs.map +1 -1
- package/dist/MultiLineAltChart.js +327 -320
- package/dist/MultiLineAltChart.js.map +1 -1
- package/dist/MultiLineChart.cjs +1 -1
- package/dist/MultiLineChart.cjs.map +1 -1
- package/dist/MultiLineChart.js +374 -367
- package/dist/MultiLineChart.js.map +1 -1
- package/dist/ParetoChart.cjs +1 -1
- package/dist/ParetoChart.cjs.map +1 -1
- package/dist/ParetoChart.js +385 -378
- package/dist/ParetoChart.js.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +1 -1
- package/dist/RadarChart.cjs +1 -1
- package/dist/RadarChart.cjs.map +1 -1
- package/dist/RadarChart.js +34 -33
- package/dist/RadarChart.js.map +1 -1
- package/dist/SankeyChart.cjs +1 -1
- package/dist/SankeyChart.cjs.map +1 -1
- package/dist/SankeyChart.js +176 -169
- package/dist/SankeyChart.js.map +1 -1
- package/dist/ScatterPlot.cjs +1 -1
- package/dist/ScatterPlot.cjs.map +1 -1
- package/dist/ScatterPlot.js +366 -359
- package/dist/ScatterPlot.js.map +1 -1
- package/dist/SimpleLineChart.cjs +1 -1
- package/dist/SimpleLineChart.cjs.map +1 -1
- package/dist/SimpleLineChart.js +285 -278
- package/dist/SimpleLineChart.js.map +1 -1
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.js +2 -2
- package/dist/SingleGraphDashboardFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardFromConfig.js +1 -1
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.js +1 -1
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +1 -1
- package/dist/SlopeChart.cjs +1 -1
- package/dist/SlopeChart.cjs.map +1 -1
- package/dist/SlopeChart.js +243 -236
- package/dist/SlopeChart.js.map +1 -1
- package/dist/Spinner-CQZcjzwd.cjs +2 -0
- package/dist/Spinner-CQZcjzwd.cjs.map +1 -0
- package/dist/{Spinner-D7rnnwnA.js → Spinner-DVBnY6Vg.js} +5 -5
- package/dist/Spinner-DVBnY6Vg.js.map +1 -0
- package/dist/StripChart.cjs +1 -1
- package/dist/StripChart.cjs.map +1 -1
- package/dist/StripChart.js +293 -286
- package/dist/StripChart.js.map +1 -1
- package/dist/ThreeDGlobe.cjs +1 -1
- package/dist/ThreeDGlobe.js +1 -1
- package/dist/TreeMapGraph.cjs +1 -1
- package/dist/TreeMapGraph.cjs.map +1 -1
- package/dist/TreeMapGraph.js +222 -215
- package/dist/TreeMapGraph.js.map +1 -1
- package/dist/index-R1gTfap5.js +337 -0
- package/dist/index-R1gTfap5.js.map +1 -0
- package/dist/index-WML2dCZ0.cjs +2 -0
- package/dist/{index-CF5hnGvG.cjs.map → index-WML2dCZ0.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/EmptyState-BZo1BbAn.js.map +0 -1
- package/dist/EmptyState-sAEZ_5rU.cjs +0 -2
- package/dist/EmptyState-sAEZ_5rU.cjs.map +0 -1
- package/dist/GraphEl-BLMih7RN.cjs +0 -2
- package/dist/GraphEl-BLMih7RN.cjs.map +0 -1
- package/dist/GraphEl-CRrAlbcr.js.map +0 -1
- package/dist/Spinner-D7rnnwnA.js.map +0 -1
- package/dist/Spinner-DRMBUsX7.cjs +0 -2
- package/dist/Spinner-DRMBUsX7.cjs.map +0 -1
- package/dist/index-CF5hnGvG.cjs +0 -2
- package/dist/index-DPGq3eIL.js +0 -330
- package/dist/index-DPGq3eIL.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index-CHPV5EwG-CTPQjnHt.cjs"),A=require("react"),b=require("./parse-hMnG_lRV.cjs"),Me=require("./index-Cno4Q0YE.cjs"),Te=require("./numberFormattingFunction-02t-wJta.cjs"),Ye=require("./Tooltip-uUdw6wJL.cjs"),v=require("./checkIfNullOrUndefined-BCW3Y1ML.cjs"),qe=require("./customArea-CMF5g-C3.cjs"),Fe=require("./AxisTitle-sS5bLLR7.cjs"),Xe=require("./Axis-DxRV2yMi.cjs"),Pe=require("./XTicksAndGridLines-B6CELS7q.cjs"),Be=require("./ReferenceLine-BH0qdf4R.cjs"),ze=require("./YTicksAndGridLines-4pxTRlRK.cjs"),Je=require("./index-B_sAFsEV.cjs"),F=require("./Colors.cjs"),Ae=require("./uniqBy-O05lp2S5.cjs"),Ee=require("./init-DU0ybBc_.cjs"),Ke=require("./time-CZd5YLSP.cjs"),Qe=require("./linear-BwPAspcq.cjs"),Ze=require("./delaunay-rcy0HhZi.cjs"),Ie=require("./line-DaEMhXmx.cjs"),Re=require("./step-BZ3C8QFW.cjs"),_e=require("./select-Bnfk0lJx.cjs"),tn=require("./pointer-Dkq5NV1q.cjs"),en=require("./use-in-view-QcfiW0w3.cjs"),Gt=require("./proxy-BxvUI_9l.cjs"),nn=require("./GraphFooter.cjs"),on=require("./GraphHeader.cjs"),rn=require("./EmptyState-sAEZ_5rU.cjs"),sn=require("./ColorLegendWithMouseOver.cjs"),$e=require("./GraphContainer-d8A46BK2.cjs"),ln=require("./getNoOfTicks-C_1CFXv_.cjs");function an(e,t){return Array.from(t,s=>e[s])}function cn(e,...t){if(typeof e[Symbol.iterator]!="function")throw new TypeError("values is not iterable");e=Array.from(e);let[s]=t;if(s&&s.length!==2||t.length>1){const j=Uint32Array.from(e,(E,u)=>u);return t.length>1?(t=t.map(E=>e.map(E)),j.sort((E,u)=>{for(const r of t){const vt=Se(r[E],r[u]);if(vt)return vt}})):(s=e.map(s),j.sort((E,u)=>Se(s[E],s[u]))),an(e,j)}return e.sort(un(s))}function un(e=Ee.ascending){if(e===Ee.ascending)return Se;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,s)=>{const j=e(t,s);return j||j===0?j:(e(s,s)===0)-(e(t,t)===0)}}function Se(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}function fn(e){const t=o.compilerRuntimeExports.c(128),{data:s,width:j,height:E,lineColors:u,dateFormat:r,noOfXTicks:vt,rightMargin:nt,topMargin:Wt,bottomMargin:it,suffix:U,prefix:h,leftMargin:C,tooltip:jt,onSeriesMouseOver:ot,refValues:rt,highlightAreaSettings:Yt,minValue:X,maxValue:Ot,highlightedLines:H,animate:l,rtl:P,strokeWidth:M,showDots:oe,annotations:wt,customHighlightAreaSettings:Ft,yAxisTitle:B,noOfYTicks:Xt,minDate:Pt,maxDate:Bt,curveType:st,styles:O,colorDomain:D,selectedColor:bt,classNames:R,showLabels:pe,dimmedOpacity:L,precision:z,naLabel:de,customLayers:J}=e,Ct=A.useRef(null);let K;t[0]!==l.amount||t[1]!==l.once?(K={once:l.once,amount:l.amount},t[0]=l.amount,t[1]=l.once,t[2]=K):K=t[2];const m=en.useInView(Ct,K),[q,re]=A.useState(!1);let Rt,lt;t[3]!==l.duration||t[4]!==q||t[5]!==m?(Rt=()=>{if(m&&!q){const n=setTimeout(()=>{re(!0)},(l.duration+.5)*1e3);return()=>clearTimeout(n)}},lt=[m,q,l.duration],t[3]=l.duration,t[4]=q,t[5]=m,t[6]=Rt,t[7]=lt):(Rt=t[6],lt=t[7]),A.useEffect(Rt,lt);const se=st==="linear"?Ie.curveLinear:st==="step"?Re.curveStep:st==="stepAfter"?Re.stepAfter:st==="stepBefore"?Re.stepBefore:Re.monotoneX;let At;t[8]!==r?(At=n=>({...n,date:b.parse(`${n.date}`,r,new Date)}),t[8]=r,t[9]=At):At=t[9];const a=Me.orderBy(s.map(At),["date"],["asc"]).filter(Wn),g=Ae.uniqBy(a,"label",!0);let Et;t[10]!==r?(Et=n=>b.parse(`${n}`,r,new Date),t[10]=r,t[11]=Et):Et=t[11];const zt=cn(Ae.uniqBy(s,"date",!0).map(Et),Gn),[x,at]=A.useState(void 0),[ct,Q]=A.useState(void 0),[ut,Z]=A.useState(void 0),kt=B?C+30:C;let ft;t[12]!==it||t[13]!==nt||t[14]!==kt||t[15]!==Wt?(ft={top:Wt,bottom:it,left:kt,right:nt},t[12]=it,t[13]=nt,t[14]=kt,t[15]=Wt,t[16]=ft):ft=t[16];const d=ft,le=A.useRef(null),ae=g.map(n=>Me.orderBy(a.filter(i=>i.label==n),["date"],["asc"]));let mt;if(t[17]!==r||t[18]!==Yt){let n;t[20]!==r?(n=i=>({...i,coordinates:[i.coordinates[0]===null?null:b.parse(`${i.coordinates[0]}`,r,new Date),i.coordinates[1]===null?null:b.parse(`${i.coordinates[1]}`,r,new Date)]}),t[20]=r,t[21]=n):n=t[21],mt=Yt.map(n),t[17]=r,t[18]=Yt,t[19]=mt}else mt=t[19];const Nt=mt;let xt;if(t[22]!==Ft||t[23]!==r){let n;t[25]!==r?(n=i=>({...i,coordinates:i.coordinates.map((y,Ht)=>Ht%2===0?b.parse(`${y}`,r,new Date):y)}),t[25]=r,t[26]=n):n=t[26],xt=Ft.map(n),t[22]=Ft,t[23]=r,t[24]=xt}else xt=t[24];const Jt=xt,p=j-d.left-d.right,k=E-d.top-d.bottom,ce=Pt?b.parse(`${Pt}`,r,new Date):zt[0],Kt=Bt?b.parse(`${Bt}`,r,new Date):zt[zt.length-1],w=v.checkIfNullOrUndefined(X)?Math.min(...a.map(Hn).filter(Un))?Math.min(...a.map(Vn).filter($n))>0?0:Math.min(...a.map(In).filter(Tn)):0:X,G=Math.max(...a.map(Mn).filter(Sn))?Math.max(...a.map(qn).filter(Ln)):0,c=Ke.time().domain([ce,Kt]).range([0,p]);let _;t[27]!==w||t[28]!==X?(_=v.checkIfNullOrUndefined(X)?w:X,t[27]=w,t[28]=X,t[29]=_):_=t[29];let S;t[30]!==G||t[31]!==Ot?(S=v.checkIfNullOrUndefined(Ot)?G>0?G:0:Ot,t[30]=G,t[31]=Ot,t[32]=S):S=t[32];const f=Qe.linear().domain([_,S]).range([k,0]).nice(),ue=Ze.Delaunay.from(a.filter(Dn),n=>c(n.date),n=>f(n.y)).voronoi([0,0,p<0?0:p,k<0?0:k]),Dt=Ie.line().x(n=>c(n.date)).y(n=>f(n.y)).curve(se),Lt=f.ticks(Xt),Qt=c.ticks(vt);A.useEffect(()=>{const n=y=>{const Ht=a[Ee.bisectCenter(a.map(Nn),c.invert(tn.pointer(y)[0]),0)];at(Ht||a[a.length-1]),Z(y.clientY),Q(y.clientX),ot?.(Ht||a[a.length-1])},i=()=>{at(void 0),Q(void 0),Z(void 0)};_e.select(le.current).on("mousemove",n).on("mouseout",i),ot?.(void 0)},[c,a,ot]);let tt;t[33]!==l||t[34]!==k||t[35]!==p||t[36]!==Nt||t[37]!==m||t[38]!==c?(tt=o.jsxRuntimeExports.jsx(Je.HighlightArea,{areaSettings:Nt,width:p,height:k,scale:c,animate:l,isInView:m}),t[33]=l,t[34]=k,t[35]=p,t[36]=Nt,t[37]=m,t[38]=c,t[39]=tt):tt=t[39];const qt=O?.yAxis?.gridLines,T=O?.yAxis?.labels;let pt;t[40]!==qt||t[41]!==T?(pt={gridLines:qt,labels:T},t[40]=qt,t[41]=T,t[42]=pt):pt=t[42];const St=R?.yAxis?.gridLines,Mt=R?.yAxis?.labels;let dt;t[43]!==St||t[44]!==Mt?(dt={gridLines:St,labels:Mt},t[43]=St,t[44]=Mt,t[45]=dt):dt=t[45];const ht=f(w<0?0:w),Tt=f(w<0?0:w),It=0-C,et=p+d.right,fe=w<0?0:w;let I;t[46]!==z||t[47]!==h||t[48]!==U||t[49]!==fe?(I=Te.numberFormattingFunction(fe,"NA",z,h,U),t[46]=z,t[47]=h,t[48]=U,t[49]=fe,t[50]=I):I=t[50];const me=0-C,$t=f(w<0?0:w),xe=G<0?"1em":-5;let W;t[51]!==me||t[52]!==$t||t[53]!==xe?(W={x:me,y:$t,dx:0,dy:xe},t[51]=me,t[52]=$t,t[53]=xe,t[54]=W):W=t[54];const Zt=R?.xAxis?.axis,gt=R?.yAxis?.labels;let $;t[55]!==Zt||t[56]!==gt?($={axis:Zt,label:gt},t[55]=Zt,t[56]=gt,t[57]=$):$=t[57];const Vt=O?.xAxis?.axis,Ut=O?.yAxis?.labels;let N;t[58]!==Vt||t[59]!==Ut?(N={axis:Vt,label:Ut},t[58]=Vt,t[59]=Ut,t[60]=N):N=t[60];let V;t[61]!==ht||t[62]!==Tt||t[63]!==It||t[64]!==et||t[65]!==I||t[66]!==W||t[67]!==$||t[68]!==N?(V=o.jsxRuntimeExports.jsx(Xe.Axis,{y1:ht,y2:Tt,x1:It,x2:et,label:I,labelPos:W,classNames:$,styles:N}),t[61]=ht,t[62]=Tt,t[63]=It,t[64]=et,t[65]=I,t[66]=W,t[67]=$,t[68]=N,t[69]=V):V=t[69];const Y=0-C-15,yt=k/2,_t=O?.yAxis?.title,te=R?.yAxis?.title;let he;t[70]!==Y||t[71]!==yt||t[72]!==_t||t[73]!==te||t[74]!==B?(he=o.jsxRuntimeExports.jsx(Fe.AxisTitle,{x:Y,y:yt,style:_t,className:te,text:B,rotate90:!0}),t[70]=Y,t[71]=yt,t[72]=_t,t[73]=te,t[74]=B,t[75]=he):he=t[75];let ge;t[76]!==r?(ge=n=>b.format(n,r),t[76]=r,t[77]=ge):ge=t[77];const Ve=Qt.map(ge),Ue=Qt.map(n=>c(n)),ke=O?.xAxis?.gridLines,Ne=O?.xAxis?.labels;let ye;t[78]!==ke||t[79]!==Ne?(ye={gridLines:ke,labels:Ne},t[78]=ke,t[79]=Ne,t[80]=ye):ye=t[80];const De=R?.xAxis?.gridLines;let ee;t[81]!==De?(ee=o.mo("opacity-0",De),t[81]=De,t[82]=ee):ee=t[82];const Le=R?.xAxis?.labels;let ne;t[83]!==Le?(ne=o.mo("fill-primary-gray-700 dark:fill-primary-gray-300 xs:max-[360px]:hidden text-[9px] md:text-[10px] lg:text-xs",Le),t[83]=Le,t[84]=ne):ne=t[84];let ve;t[85]!==ee||t[86]!==ne?(ve={gridLines:ee,labels:ne},t[85]=ee,t[86]=ne,t[87]=ve):ve=t[87];let je;t[88]!==J?(je=J.filter(An).map(Rn),t[88]=J,t[89]=je):je=t[89];const He=a.filter(pn).map((n,i)=>o.jsxRuntimeExports.jsx("g",{children:o.jsxRuntimeExports.jsx("path",{d:ue.renderCell(a.findIndex(y=>y.label===n.label&&y.date===n.date)),opacity:0,onMouseEnter:y=>{at(n),Z(y.clientY),Q(y.clientX),ot?.(n)},onMouseMove:y=>{at(n),Z(y.clientY),Q(y.clientX)},onMouseLeave:()=>{at(void 0),Q(void 0),Z(void 0),ot?.(void 0)}})},i));let Oe;t[90]!==l||t[91]!==p||t[92]!==m||t[93]!==C||t[94]!==d.right||t[95]!==rt||t[96]!==f?(Oe=rt?o.jsxRuntimeExports.jsx(o.jsxRuntimeExports.Fragment,{children:rt.map((n,i)=>o.jsxRuntimeExports.jsx(Be.RefLineY,{text:n.text,color:n.color,y:f(n.value),x1:0-C,x2:p+d.right,classNames:n.classNames,styles:n.styles,animate:l,isInView:m},i))}):null,t[90]=l,t[91]=p,t[92]=m,t[93]=C,t[94]=d.right,t[95]=rt,t[96]=f,t[97]=Oe):Oe=t[97];let ie;if(t[98]!==l||t[99]!==wt||t[100]!==r||t[101]!==p||t[102]!==m||t[103]!==d.right||t[104]!==P||t[105]!==c||t[106]!==f){let n;t[108]!==l||t[109]!==r||t[110]!==p||t[111]!==m||t[112]!==d.right||t[113]!==P||t[114]!==c||t[115]!==f?(n=(i,y)=>{const Ht=qe.getLineEndPoint({x:i.xCoordinate?c(b.parse(`${i.xCoordinate}`,r,new Date))+(i.xOffset||0):0+(i.xOffset||0),y:i.yCoordinate?f(i.yCoordinate)+(i.yOffset||0)-8:0+(i.yOffset||0)-8},{x:i.xCoordinate?c(b.parse(`${i.xCoordinate}`,r,new Date)):0,y:i.yCoordinate?f(i.yCoordinate):0},v.checkIfNullOrUndefined(i.connectorRadius)?3.5:i.connectorRadius),Ge=i.showConnector?{y1:Ht.y,x1:Ht.x,y2:i.yCoordinate?f(i.yCoordinate)+(i.yOffset||0):0+(i.yOffset||0),x2:i.xCoordinate?c(b.parse(`${i.xCoordinate}`,r,new Date))+(i.xOffset||0):0+(i.xOffset||0),cy:i.yCoordinate?f(i.yCoordinate):0,cx:i.xCoordinate?c(b.parse(`${i.xCoordinate}`,r,new Date)):0,circleRadius:v.checkIfNullOrUndefined(i.connectorRadius)?3.5:i.connectorRadius,strokeWidth:i.showConnector===!0?2:Math.min(i.showConnector||0,1)}:void 0,We={y:i.yCoordinate?f(i.yCoordinate)+(i.yOffset||0)-8:0+(i.yOffset||0)-8,x:P?0:i.xCoordinate?c(b.parse(`${i.xCoordinate}`,r,new Date))+(i.xOffset||0):0+(i.xOffset||0),width:P?i.xCoordinate?c(b.parse(`${i.xCoordinate}`,r,new Date))+(i.xOffset||0):0+(i.xOffset||0):p+d.right-(i.xCoordinate?c(b.parse(`${i.xCoordinate}`,r,new Date))+(i.xOffset||0):0+(i.xOffset||0)),maxWidth:i.maxWidth,fontWeight:i.fontWeight,align:i.align};return o.jsxRuntimeExports.jsx(qe.Annotation,{color:i.color,connectorsSettings:Ge,labelSettings:We,text:i.text,classNames:i.classNames,styles:i.styles,animate:l,isInView:m},y)},t[108]=l,t[109]=r,t[110]=p,t[111]=m,t[112]=d.right,t[113]=P,t[114]=c,t[115]=f,t[116]=n):n=t[116],ie=wt.map(n),t[98]=l,t[99]=wt,t[100]=r,t[101]=p,t[102]=m,t[103]=d.right,t[104]=P,t[105]=c,t[106]=f,t[107]=ie}else ie=t[107];let we;t[117]!==ie?(we=o.jsxRuntimeExports.jsx("g",{children:ie}),t[117]=ie,t[118]=we):we=t[118];let be;t[119]!==J?(be=J.filter(xn).map(mn),t[119]=J,t[120]=be):be=t[120];let Ce;return t[121]!==R?.tooltip||t[122]!==ct||t[123]!==ut||t[124]!==x||t[125]!==O?.tooltip||t[126]!==jt?(Ce=x&&jt&&ct&&ut?o.jsxRuntimeExports.jsx(Ye.Tooltip,{data:x,body:jt,xPos:ct,yPos:ut,backgroundStyle:O?.tooltip,className:R?.tooltip}):null,t[121]=R?.tooltip,t[122]=ct,t[123]=ut,t[124]=x,t[125]=O?.tooltip,t[126]=jt,t[127]=Ce):Ce=t[127],o.jsxRuntimeExports.jsxs(o.jsxRuntimeExports.Fragment,{children:[o.jsxRuntimeExports.jsx(Gt.motion.svg,{width:`${j}px`,height:`${E}px`,viewBox:`0 0 ${j} ${E}`,direction:"ltr",ref:Ct,children:o.jsxRuntimeExports.jsxs("g",{transform:`translate(${d.left},${d.top})`,children:[tt,o.jsxRuntimeExports.jsx(qe.CustomArea,{areaSettings:Jt,scaleX:c,scaleY:f,animate:l,isInView:m}),o.jsxRuntimeExports.jsxs("g",{children:[o.jsxRuntimeExports.jsx(ze.YTicksAndGridLines,{values:Lt.filter(kn),y:Lt.filter(En).map(n=>f(n)),x1:0-C,x2:p+d.right,styles:pt,classNames:dt,suffix:U,prefix:h,labelType:"secondary",showGridLines:!0,labelPos:"vertical",precision:z}),V,he]}),o.jsxRuntimeExports.jsx("g",{children:o.jsxRuntimeExports.jsx(Pe.XTicksAndGridLines,{values:Ve,x:Ue,y1:0,y2:k,styles:ye,classNames:ve,suffix:U,prefix:h,labelType:"primary",showGridLines:!0,precision:z})}),je,o.jsxRuntimeExports.jsxs(Gt.motion.g,{children:[ae.map(n=>o.jsxRuntimeExports.jsxs(Gt.motion.g,{exit:{opacity:0,transition:{duration:l.duration}},variants:{initial:{opacity:x?n[0].label===x.label?1:L:bt?n[0].color&&u[D.indexOf(n[0].color)]===bt?1:L:H.length!==0?H.indexOf(n[0].label)!==-1?1:L:1},whileInView:{opacity:x?n[0].label===x.label?1:L:bt?n[0].color&&u[D.indexOf(n[0].color)]===bt?1:L:H.length!==0?H.indexOf(n[0].label)!==-1?1:L:1,transition:{duration:l.duration}}},initial:"initial",animate:m?"whileInView":"initial",children:[o.jsxRuntimeExports.jsx(Gt.motion.path,{d:Dt(n.filter(Cn))||"",style:{fill:"none",strokeWidth:x?n[0].label===x.label?M+Math.max(2,.5*M):M:H.length!==0&&H.indexOf(n[0].label)!==-1?M+Math.max(2,.5*M):M},exit:{opacity:0,transition:{duration:l.duration}},variants:{initial:{pathLength:0,d:Dt(n.filter(bn))||"",opacity:1,stroke:s.filter(wn).length===0?u[0]:n[0].color?u[D.indexOf(n[0].color)]:F.Colors.gray},whileInView:{pathLength:1,d:Dt(n.filter(On))||"",opacity:1,stroke:s.filter(jn).length===0?u[0]:n[0].color?u[D.indexOf(n[0].color)]:F.Colors.gray,transition:{duration:l.duration}}},initial:"initial",animate:m?"whileInView":"initial"}),n.map((i,y)=>o.jsxRuntimeExports.jsx(Gt.motion.g,{children:v.checkIfNullOrUndefined(i.y)?null:o.jsxRuntimeExports.jsx(o.jsxRuntimeExports.Fragment,{children:oe?o.jsxRuntimeExports.jsx(Gt.motion.circle,{r:p/n.length<5?0:p/n.length<20?2:4,exit:{opacity:0,transition:{duration:l.duration}},variants:{initial:{opacity:0,fill:s.filter(vn).length===0?u[0]:n[0].color?u[D.indexOf(n[0].color)]:F.Colors.gray,cx:c(i.date),cy:f(i.y)},whileInView:{opacity:1,fill:s.filter(yn).length===0?u[0]:n[0].color?u[D.indexOf(n[0].color)]:F.Colors.gray,transition:{duration:q?l.duration:.5,delay:q?0:l.duration},cx:c(i.date),cy:f(i.y)}},initial:"initial",animate:m?"whileInView":"initial"}):null})},y)),(H.indexOf(n[0].label)!==-1||x?.label===n[0].label)&&pe?o.jsxRuntimeExports.jsx(Gt.motion.text,{className:"text-sm font-bold",dx:5,dy:4,exit:{opacity:0,transition:{duration:l.duration}},variants:{initial:{opacity:0,fill:s.filter(gn).length===0?u[0]:n[0].color?u[D.indexOf(n[0].color)]:F.Colors.gray,x:c(n[n.length-1].date),y:f(n[n.length-1].y)},whileInView:{opacity:1,fill:s.filter(hn).length===0?u[0]:n[0].color?u[D.indexOf(n[0].color)]:F.Colors.gray,x:c(n[n.length-1].date),y:f(n[n.length-1].y),transition:{duration:q?l.duration:.5,delay:q?0:l.duration}}},initial:"initial",animate:m?"whileInView":"initial",children:n[0].label}):null]},n[0].label)),x?o.jsxRuntimeExports.jsx("text",{y:f(x.y)-8,x:c(x.date),className:o.mo("graph-value text-sm font-bold",R?.graphObjectValues),style:{fill:s.filter(dn).length===0?u[0]:x.color?u[D.indexOf(x.color)]:F.Colors.gray,textAnchor:"middle",...O?.graphObjectValues||{}},children:Te.numberFormattingFunction(x.y,de,z,h,U)}):null]}),He,Oe,we,be]})}),Ce]})}function mn(e){return e.layer}function xn(e){return e.position==="after"}function pn(e){return!v.checkIfNullOrUndefined(e.y)}function dn(e){return e.color}function hn(e){return e.color}function gn(e){return e.color}function yn(e){return e.color}function vn(e){return e.color}function jn(e){return e.color}function On(e){return!v.checkIfNullOrUndefined(e.y)}function wn(e){return e.color}function bn(e){return!v.checkIfNullOrUndefined(e.y)}function Cn(e){return!v.checkIfNullOrUndefined(e.y)}function Rn(e){return e.layer}function An(e){return e.position==="before"}function En(e){return e!==0}function kn(e){return e!==0}function Nn(e){return e.date}function Dn(e){return!v.checkIfNullOrUndefined(e.date)&&!v.checkIfNullOrUndefined(e.y)}function Ln(e){return!v.checkIfNullOrUndefined(e)}function qn(e){return e.y}function Sn(e){return!v.checkIfNullOrUndefined(e)}function Mn(e){return e.y}function Tn(e){return!v.checkIfNullOrUndefined(e)}function In(e){return e.y}function $n(e){return!v.checkIfNullOrUndefined(e)}function Vn(e){return e.y}function Un(e){return!v.checkIfNullOrUndefined(e)}function Hn(e){return e.y}function Gn(e,t){return Ee.ascending(e,t)}function Wn(e){return!v.checkIfNullOrUndefined(e.y)}function Yn(e){const t=o.compilerRuntimeExports.c(94),{data:s,graphTitle:j,showNAColor:E,colors:u,colorDomain:r,suffix:vt,sources:nt,prefix:Wt,graphDescription:it,height:U,width:h,footNote:C,noOfXTicks:jt,dateFormat:ot,padding:rt,backgroundColor:Yt,leftMargin:X,rightMargin:Ot,topMargin:H,bottomMargin:l,showColorScale:P,tooltip:M,relativeHeight:oe,onSeriesMouseOver:wt,showLabels:Ft,refValues:B,highlightAreaSettings:Xt,graphID:Pt,minValue:Bt,maxValue:st,highlightedLines:O,graphDownload:D,dataDownload:bt,animate:R,language:pe,colorLegendTitle:L,minHeight:z,strokeWidth:de,showDots:J,annotations:Ct,customHighlightAreaSettings:K,theme:m,ariaLabel:q,yAxisTitle:re,noOfYTicks:Rt,minDate:lt,maxDate:se,curveType:At,styles:a,classNames:g,dimmedOpacity:Et,precision:zt,customLayers:x,naLabel:at}=e,ct=E===void 0?!0:E,Q=vt===void 0?"":vt,ut=Wt===void 0?"":Wt,Z=jt===void 0?10:jt,kt=ot===void 0?"yyyy":ot,ft=Yt===void 0?!1:Yt,d=X===void 0?30:X,le=Ot===void 0?50:Ot,ae=H===void 0?20:H,mt=l===void 0?25:l,Nt=P===void 0?!0:P,xt=Ft===void 0?!0:Ft;let Jt;t[0]!==B?(Jt=B===void 0?[]:B,t[0]=B,t[1]=Jt):Jt=t[1];const p=Jt;let k;t[2]!==Xt?(k=Xt===void 0?[]:Xt,t[2]=Xt,t[3]=k):k=t[3];const ce=k;let Kt;t[4]!==O?(Kt=O===void 0?[]:O,t[4]=O,t[5]=Kt):Kt=t[5];const w=Kt,G=D===void 0?!1:D,c=bt===void 0?!1:bt,_=R===void 0?!1:R,S=pe===void 0?"en":pe,f=z===void 0?0:z,ue=de===void 0?2:de,Dt=J===void 0?!0:J;let Lt;t[6]!==Ct?(Lt=Ct===void 0?[]:Ct,t[6]=Ct,t[7]=Lt):Lt=t[7];const Qt=Lt;let tt;t[8]!==K?(tt=K===void 0?[]:K,t[8]=K,t[9]=tt):tt=t[9];const qt=tt,T=m===void 0?"light":m,pt=Rt===void 0?5:Rt,St=At===void 0?"curve":At,Mt=Et===void 0?.3:Et,dt=zt===void 0?2:zt;let ht;t[10]!==x?(ht=x===void 0?[]:x,t[10]=x,t[11]=ht):ht=t[11];const Tt=ht,It=at===void 0?"NA":at,[et,fe]=A.useState(0),[I,me]=A.useState(0),[$t,xe]=A.useState(void 0),W=A.useRef(null),Zt=A.useRef(null);let gt,$;t[12]===Symbol.for("react.memo_cache_sentinel")?(gt=()=>{const _t=new ResizeObserver(te=>{fe(te[0].target.clientWidth||620),me(te[0].target.clientHeight||480)});return W.current&&_t.observe(W.current),()=>_t.disconnect()},$=[],t[12]=gt,t[13]=$):(gt=t[12],$=t[13]),A.useEffect(gt,$);const Vt=g?.graphContainer,Ut=a?.graphContainer;let N;t[14]!==g?.description||t[15]!==g?.title||t[16]!==s||t[17]!==c||t[18]!==it||t[19]!==G||t[20]!==j||t[21]!==a?.description||t[22]!==a?.title||t[23]!==h?(N=j||it||G||c?o.jsxRuntimeExports.jsx(on.GraphHeader,{styles:{title:a?.title,description:a?.description},classNames:{title:g?.title,description:g?.description},graphTitle:j,graphDescription:it,width:h,graphDownload:G?Zt:void 0,dataDownload:c?s.map(Qn).filter(Kn).length>0?s.map(Jn).filter(zn):s.filter(Bn):null}):null,t[14]=g?.description,t[15]=g?.title,t[16]=s,t[17]=c,t[18]=it,t[19]=G,t[20]=j,t[21]=a?.description,t[22]=a?.title,t[23]=h,t[24]=N):N=t[24];let V;t[25]!==_||t[26]!==Qt||t[27]!==mt||t[28]!==g||t[29]!==r||t[30]!==L||t[31]!==u||t[32]!==St||t[33]!==qt||t[34]!==Tt||t[35]!==s||t[36]!==kt||t[37]!==Mt||t[38]!==ce||t[39]!==w||t[40]!==S||t[41]!==d||t[42]!==se||t[43]!==st||t[44]!==lt||t[45]!==Bt||t[46]!==It||t[47]!==Z||t[48]!==pt||t[49]!==wt||t[50]!==dt||t[51]!==ut||t[52]!==p||t[53]!==le||t[54]!==$t||t[55]!==Nt||t[56]!==Dt||t[57]!==xt||t[58]!==ct||t[59]!==ue||t[60]!==a||t[61]!==Q||t[62]!==I||t[63]!==et||t[64]!==T||t[65]!==M||t[66]!==ae||t[67]!==h||t[68]!==re?(V=s.length===0?o.jsxRuntimeExports.jsx(rn.EmptyState,{}):o.jsxRuntimeExports.jsxs(o.jsxRuntimeExports.Fragment,{children:[Nt&&s.filter(Pn).length!==0?o.jsxRuntimeExports.jsx(sn.ColorLegendWithMouseOver,{width:h,colorLegendTitle:L,colors:u||F.Colors[T].categoricalColors.colors,colorDomain:r||Ae.uniqBy(s,"color",!0),setSelectedColor:xe,showNAColor:ct,className:g?.colorLegend}):null,o.jsxRuntimeExports.jsx($e.GraphArea,{ref:W,children:et&&I?o.jsxRuntimeExports.jsx(fn,{data:s,lineColors:s.filter(Xn).length===0?u?[u]:[F.Colors.primaryColors["blue-600"]]:u||F.Colors[T].categoricalColors.colors,width:et,height:I,dateFormat:kt,noOfXTicks:Z??ln.getNoOfTicks(et),leftMargin:d,rightMargin:le,topMargin:ae,bottomMargin:mt,tooltip:M,onSeriesMouseOver:wt,suffix:Q,prefix:ut,highlightAreaSettings:ce,refValues:p,minValue:Bt,maxValue:st,highlightedLines:w,animate:_===!0?{duration:.5,once:!0,amount:.5}:_||{duration:0,once:!0,amount:0},rtl:S==="he"||S==="ar",strokeWidth:ue,showDots:Dt,annotations:Qt,customHighlightAreaSettings:qt,yAxisTitle:re,noOfYTicks:pt,minDate:lt,maxDate:se,curveType:St,styles:a,classNames:g,selectedColor:$t,showLabels:xt,colorDomain:s.filter(Fn).length===0?[]:r||Ae.uniqBy(s,"color",!0),dimmedOpacity:Mt,precision:dt,customLayers:Tt,naLabel:It}):null})]}),t[25]=_,t[26]=Qt,t[27]=mt,t[28]=g,t[29]=r,t[30]=L,t[31]=u,t[32]=St,t[33]=qt,t[34]=Tt,t[35]=s,t[36]=kt,t[37]=Mt,t[38]=ce,t[39]=w,t[40]=S,t[41]=d,t[42]=se,t[43]=st,t[44]=lt,t[45]=Bt,t[46]=It,t[47]=Z,t[48]=pt,t[49]=wt,t[50]=dt,t[51]=ut,t[52]=p,t[53]=le,t[54]=$t,t[55]=Nt,t[56]=Dt,t[57]=xt,t[58]=ct,t[59]=ue,t[60]=a,t[61]=Q,t[62]=I,t[63]=et,t[64]=T,t[65]=M,t[66]=ae,t[67]=h,t[68]=re,t[69]=V):V=t[69];let Y;t[70]!==g?.footnote||t[71]!==g?.source||t[72]!==C||t[73]!==nt||t[74]!==a?.footnote||t[75]!==a?.source||t[76]!==h?(Y=nt||C?o.jsxRuntimeExports.jsx(nn.GraphFooter,{styles:{footnote:a?.footnote,source:a?.source},classNames:{footnote:g?.footnote,source:g?.source},sources:nt,footNote:C,width:h}):null,t[70]=g?.footnote,t[71]=g?.source,t[72]=C,t[73]=nt,t[74]=a?.footnote,t[75]=a?.source,t[76]=h,t[77]=Y):Y=t[77];let yt;return t[78]!==q||t[79]!==ft||t[80]!==Pt||t[81]!==U||t[82]!==S||t[83]!==f||t[84]!==rt||t[85]!==oe||t[86]!==Vt||t[87]!==Ut||t[88]!==N||t[89]!==V||t[90]!==Y||t[91]!==T||t[92]!==h?(yt=o.jsxRuntimeExports.jsxs($e.GraphContainer,{className:Vt,style:Ut,id:Pt,ref:Zt,"aria-label":q,backgroundColor:ft,theme:T,language:S,minHeight:f,width:h,height:U,relativeHeight:oe,padding:rt,children:[N,V,Y]}),t[78]=q,t[79]=ft,t[80]=Pt,t[81]=U,t[82]=S,t[83]=f,t[84]=rt,t[85]=oe,t[86]=Vt,t[87]=Ut,t[88]=N,t[89]=V,t[90]=Y,t[91]=T,t[92]=h,t[93]=yt):yt=t[93],yt}function Fn(e){return e.color}function Xn(e){return e.color}function Pn(e){return e.color}function Bn(e){return e!==void 0}function zn(e){return e!==void 0}function Jn(e){return e.data}function Kn(e){return e!==void 0}function Qn(e){return e.data}exports.MultiLineAltChart=Yn;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-CHPV5EwG-CTPQjnHt.cjs"),A=require("react"),b=require("./parse-hMnG_lRV.cjs"),Te=require("./index-Cno4Q0YE.cjs"),Ie=require("./numberFormattingFunction-02t-wJta.cjs"),Ye=require("./Tooltip-uUdw6wJL.cjs"),v=require("./checkIfNullOrUndefined-BCW3Y1ML.cjs"),Se=require("./customArea-CMF5g-C3.cjs"),Xe=require("./AxisTitle-sS5bLLR7.cjs"),Fe=require("./Axis-DxRV2yMi.cjs"),Pe=require("./XTicksAndGridLines-B6CELS7q.cjs"),Be=require("./ReferenceLine-BH0qdf4R.cjs"),ze=require("./YTicksAndGridLines-4pxTRlRK.cjs"),Je=require("./index-B_sAFsEV.cjs"),B=require("./Colors.cjs"),Ee=require("./uniqBy-O05lp2S5.cjs"),ke=require("./init-DU0ybBc_.cjs"),Ke=require("./time-CZd5YLSP.cjs"),Qe=require("./linear-BwPAspcq.cjs"),Ze=require("./delaunay-rcy0HhZi.cjs"),$e=require("./line-DaEMhXmx.cjs"),Ae=require("./step-BZ3C8QFW.cjs"),_e=require("./select-Bnfk0lJx.cjs"),tn=require("./pointer-Dkq5NV1q.cjs"),en=require("./use-in-view-QcfiW0w3.cjs"),Ft=require("./proxy-BxvUI_9l.cjs"),nn=require("./GraphFooter.cjs"),on=require("./GraphHeader.cjs"),rn=require("./EmptyState-gLDRXBHm.cjs"),sn=require("./ColorLegendWithMouseOver.cjs"),Ve=require("./GraphContainer-d8A46BK2.cjs"),ln=require("./getNoOfTicks-C_1CFXv_.cjs");function an(e,t){return Array.from(t,i=>e[i])}function cn(e,...t){if(typeof e[Symbol.iterator]!="function")throw new TypeError("values is not iterable");e=Array.from(e);let[i]=t;if(i&&i.length!==2||t.length>1){const O=Uint32Array.from(e,(E,c)=>c);return t.length>1?(t=t.map(E=>e.map(E)),O.sort((E,c)=>{for(const r of t){const wt=Me(r[E],r[c]);if(wt)return wt}})):(i=e.map(i),O.sort((E,c)=>Me(i[E],i[c]))),an(e,O)}return e.sort(un(i))}function un(e=ke.ascending){if(e===ke.ascending)return Me;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,i)=>{const O=e(t,i);return O||O===0?O:(e(i,i)===0)-(e(t,t)===0)}}function Me(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}function fn(e){const t=s.compilerRuntimeExports.c(128),{data:i,width:O,height:E,lineColors:c,dateFormat:r,noOfXTicks:wt,rightMargin:st,topMargin:Pt,bottomMargin:lt,suffix:U,prefix:g,leftMargin:C,tooltip:bt,onSeriesMouseOver:at,refValues:ct,highlightAreaSettings:Bt,minValue:z,maxValue:Ct,highlightedLines:H,animate:l,rtl:J,strokeWidth:T,showDots:se,annotations:Rt,customHighlightAreaSettings:zt,yAxisTitle:K,noOfYTicks:Jt,minDate:Kt,maxDate:Qt,curveType:ut,styles:j,colorDomain:L,selectedColor:At,classNames:R,showLabels:he,dimmedOpacity:q,precision:Q,naLabel:ge,customLayers:Z}=e,Et=A.useRef(null);let _;t[0]!==l.amount||t[1]!==l.once?(_={once:l.once,amount:l.amount},t[0]=l.amount,t[1]=l.once,t[2]=_):_=t[2];const m=en.useInView(Et,_),[S,le]=A.useState(!1);let kt,ft;t[3]!==l.duration||t[4]!==S||t[5]!==m?(kt=()=>{if(m&&!S){const n=setTimeout(()=>{le(!0)},(l.duration+.5)*1e3);return()=>clearTimeout(n)}},ft=[m,S,l.duration],t[3]=l.duration,t[4]=S,t[5]=m,t[6]=kt,t[7]=ft):(kt=t[6],ft=t[7]),A.useEffect(kt,ft);const ae=ut==="linear"?$e.curveLinear:ut==="step"?Ae.curveStep:ut==="stepAfter"?Ae.stepAfter:ut==="stepBefore"?Ae.stepBefore:Ae.monotoneX;let Nt;t[8]!==r?(Nt=n=>({...n,date:b.parse(`${n.date}`,r,new Date)}),t[8]=r,t[9]=Nt):Nt=t[9];const a=Te.orderBy(i.map(Nt),["date"],["asc"]).filter(Wn),d=Ee.uniqBy(a,"label",!0);let Dt;t[10]!==r?(Dt=n=>b.parse(`${n}`,r,new Date),t[10]=r,t[11]=Dt):Dt=t[11];const Zt=cn(Ee.uniqBy(i,"date",!0).map(Dt),Gn),[x,mt]=A.useState(void 0),[xt,tt]=A.useState(void 0),[pt,et]=A.useState(void 0),Lt=K?C+30:C;let dt;t[12]!==lt||t[13]!==st||t[14]!==Lt||t[15]!==Pt?(dt={top:Pt,bottom:lt,left:Lt,right:st},t[12]=lt,t[13]=st,t[14]=Lt,t[15]=Pt,t[16]=dt):dt=t[16];const h=dt,ce=A.useRef(null),ue=d.map(n=>Te.orderBy(a.filter(o=>o.label==n),["date"],["asc"]));let ht;if(t[17]!==r||t[18]!==Bt){let n;t[20]!==r?(n=o=>({...o,coordinates:[o.coordinates[0]===null?null:b.parse(`${o.coordinates[0]}`,r,new Date),o.coordinates[1]===null?null:b.parse(`${o.coordinates[1]}`,r,new Date)]}),t[20]=r,t[21]=n):n=t[21],ht=Bt.map(n),t[17]=r,t[18]=Bt,t[19]=ht}else ht=t[19];const qt=ht;let gt;if(t[22]!==zt||t[23]!==r){let n;t[25]!==r?(n=o=>({...o,coordinates:o.coordinates.map((y,Xt)=>Xt%2===0?b.parse(`${y}`,r,new Date):y)}),t[25]=r,t[26]=n):n=t[26],gt=zt.map(n),t[22]=zt,t[23]=r,t[24]=gt}else gt=t[24];const _t=gt,p=O-h.left-h.right,k=E-h.top-h.bottom,fe=Kt?b.parse(`${Kt}`,r,new Date):Zt[0],te=Qt?b.parse(`${Qt}`,r,new Date):Zt[Zt.length-1],w=v.checkIfNullOrUndefined(z)?Math.min(...a.map(Hn).filter(Un))?Math.min(...a.map(Vn).filter($n))>0?0:Math.min(...a.map(In).filter(Tn)):0:z,G=Math.max(...a.map(Mn).filter(Sn))?Math.max(...a.map(qn).filter(Ln)):0,u=Ke.time().domain([fe,te]).range([0,p]);let nt;t[27]!==w||t[28]!==z?(nt=v.checkIfNullOrUndefined(z)?w:z,t[27]=w,t[28]=z,t[29]=nt):nt=t[29];let M;t[30]!==G||t[31]!==Ct?(M=v.checkIfNullOrUndefined(Ct)?G>0?G:0:Ct,t[30]=G,t[31]=Ct,t[32]=M):M=t[32];const f=Qe.linear().domain([nt,M]).range([k,0]).nice(),me=Ze.Delaunay.from(a.filter(Dn),n=>u(n.date),n=>f(n.y)).voronoi([0,0,p<0?0:p,k<0?0:k]),St=$e.line().x(n=>u(n.date)).y(n=>f(n.y)).curve(ae),Mt=f.ticks(Jt),ee=u.ticks(wt);A.useEffect(()=>{const n=y=>{const Xt=a[ke.bisectCenter(a.map(Nn),u.invert(tn.pointer(y)[0]),0)];mt(Xt||a[a.length-1]),et(y.clientY),tt(y.clientX),at?.(Xt||a[a.length-1])},o=()=>{mt(void 0),tt(void 0),et(void 0)};_e.select(ce.current).on("mousemove",n).on("mouseout",o),at?.(void 0)},[u,a,at]);let ot;t[33]!==l||t[34]!==k||t[35]!==p||t[36]!==qt||t[37]!==m||t[38]!==u?(ot=s.jsxRuntimeExports.jsx(Je.HighlightArea,{areaSettings:qt,width:p,height:k,scale:u,animate:l,isInView:m}),t[33]=l,t[34]=k,t[35]=p,t[36]=qt,t[37]=m,t[38]=u,t[39]=ot):ot=t[39];const Tt=j?.yAxis?.gridLines,N=j?.yAxis?.labels;let yt;t[40]!==Tt||t[41]!==N?(yt={gridLines:Tt,labels:N},t[40]=Tt,t[41]=N,t[42]=yt):yt=t[42];const It=R?.yAxis?.gridLines,$t=R?.yAxis?.labels;let vt;t[43]!==It||t[44]!==$t?(vt={gridLines:It,labels:$t},t[43]=It,t[44]=$t,t[45]=vt):vt=t[45];const Ot=f(w<0?0:w),Vt=f(w<0?0:w),Ut=0-C,it=p+h.right,xe=w<0?0:w;let I;t[46]!==Q||t[47]!==g||t[48]!==U||t[49]!==xe?(I=Ie.numberFormattingFunction(xe,"NA",Q,g,U),t[46]=Q,t[47]=g,t[48]=U,t[49]=xe,t[50]=I):I=t[50];const pe=0-C,Ht=f(w<0?0:w),de=G<0?"1em":-5;let W;t[51]!==pe||t[52]!==Ht||t[53]!==de?(W={x:pe,y:Ht,dx:0,dy:de},t[51]=pe,t[52]=Ht,t[53]=de,t[54]=W):W=t[54];const ne=R?.xAxis?.axis,jt=R?.yAxis?.labels;let $;t[55]!==ne||t[56]!==jt?($={axis:ne,label:jt},t[55]=ne,t[56]=jt,t[57]=$):$=t[57];const Gt=j?.xAxis?.axis,Wt=j?.yAxis?.labels;let D;t[58]!==Gt||t[59]!==Wt?(D={axis:Gt,label:Wt},t[58]=Gt,t[59]=Wt,t[60]=D):D=t[60];let V;t[61]!==Ot||t[62]!==Vt||t[63]!==Ut||t[64]!==it||t[65]!==I||t[66]!==W||t[67]!==$||t[68]!==D?(V=s.jsxRuntimeExports.jsx(Fe.Axis,{y1:Ot,y2:Vt,x1:Ut,x2:it,label:I,labelPos:W,classNames:$,styles:D}),t[61]=Ot,t[62]=Vt,t[63]=Ut,t[64]=it,t[65]=I,t[66]=W,t[67]=$,t[68]=D,t[69]=V):V=t[69];const Y=0-C-15,X=k/2,F=j?.yAxis?.title,P=R?.yAxis?.title;let rt;t[70]!==Y||t[71]!==X||t[72]!==F||t[73]!==P||t[74]!==K?(rt=s.jsxRuntimeExports.jsx(Xe.AxisTitle,{x:Y,y:X,style:F,className:P,text:K,rotate90:!0}),t[70]=Y,t[71]=X,t[72]=F,t[73]=P,t[74]=K,t[75]=rt):rt=t[75];let Yt;t[76]!==r?(Yt=n=>b.format(n,r),t[76]=r,t[77]=Yt):Yt=t[77];const ye=ee.map(Yt),Ue=ee.map(n=>u(n)),Ne=j?.xAxis?.gridLines,De=j?.xAxis?.labels;let ve;t[78]!==Ne||t[79]!==De?(ve={gridLines:Ne,labels:De},t[78]=Ne,t[79]=De,t[80]=ve):ve=t[80];const Le=R?.xAxis?.gridLines;let oe;t[81]!==Le?(oe=s.mo("opacity-0",Le),t[81]=Le,t[82]=oe):oe=t[82];const qe=R?.xAxis?.labels;let ie;t[83]!==qe?(ie=s.mo("fill-primary-gray-700 dark:fill-primary-gray-300 xs:max-[360px]:hidden text-[9px] md:text-[10px] lg:text-xs",qe),t[83]=qe,t[84]=ie):ie=t[84];let Oe;t[85]!==oe||t[86]!==ie?(Oe={gridLines:oe,labels:ie},t[85]=oe,t[86]=ie,t[87]=Oe):Oe=t[87];let je;t[88]!==Z?(je=Z.filter(An).map(Rn),t[88]=Z,t[89]=je):je=t[89];const He=a.filter(pn).map((n,o)=>s.jsxRuntimeExports.jsx("g",{children:s.jsxRuntimeExports.jsx("path",{d:me.renderCell(a.findIndex(y=>y.label===n.label&&y.date===n.date)),opacity:0,onMouseEnter:y=>{mt(n),et(y.clientY),tt(y.clientX),at?.(n)},onMouseMove:y=>{mt(n),et(y.clientY),tt(y.clientX)},onMouseLeave:()=>{mt(void 0),tt(void 0),et(void 0),at?.(void 0)}})},o));let we;t[90]!==l||t[91]!==p||t[92]!==m||t[93]!==C||t[94]!==h.right||t[95]!==ct||t[96]!==f?(we=ct?s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:ct.map((n,o)=>s.jsxRuntimeExports.jsx(Be.RefLineY,{text:n.text,color:n.color,y:f(n.value),x1:0-C,x2:p+h.right,classNames:n.classNames,styles:n.styles,animate:l,isInView:m},o))}):null,t[90]=l,t[91]=p,t[92]=m,t[93]=C,t[94]=h.right,t[95]=ct,t[96]=f,t[97]=we):we=t[97];let re;if(t[98]!==l||t[99]!==Rt||t[100]!==r||t[101]!==p||t[102]!==m||t[103]!==h.right||t[104]!==J||t[105]!==u||t[106]!==f){let n;t[108]!==l||t[109]!==r||t[110]!==p||t[111]!==m||t[112]!==h.right||t[113]!==J||t[114]!==u||t[115]!==f?(n=(o,y)=>{const Xt=Se.getLineEndPoint({x:o.xCoordinate?u(b.parse(`${o.xCoordinate}`,r,new Date))+(o.xOffset||0):0+(o.xOffset||0),y:o.yCoordinate?f(o.yCoordinate)+(o.yOffset||0)-8:0+(o.yOffset||0)-8},{x:o.xCoordinate?u(b.parse(`${o.xCoordinate}`,r,new Date)):0,y:o.yCoordinate?f(o.yCoordinate):0},v.checkIfNullOrUndefined(o.connectorRadius)?3.5:o.connectorRadius),Ge=o.showConnector?{y1:Xt.y,x1:Xt.x,y2:o.yCoordinate?f(o.yCoordinate)+(o.yOffset||0):0+(o.yOffset||0),x2:o.xCoordinate?u(b.parse(`${o.xCoordinate}`,r,new Date))+(o.xOffset||0):0+(o.xOffset||0),cy:o.yCoordinate?f(o.yCoordinate):0,cx:o.xCoordinate?u(b.parse(`${o.xCoordinate}`,r,new Date)):0,circleRadius:v.checkIfNullOrUndefined(o.connectorRadius)?3.5:o.connectorRadius,strokeWidth:o.showConnector===!0?2:Math.min(o.showConnector||0,1)}:void 0,We={y:o.yCoordinate?f(o.yCoordinate)+(o.yOffset||0)-8:0+(o.yOffset||0)-8,x:J?0:o.xCoordinate?u(b.parse(`${o.xCoordinate}`,r,new Date))+(o.xOffset||0):0+(o.xOffset||0),width:J?o.xCoordinate?u(b.parse(`${o.xCoordinate}`,r,new Date))+(o.xOffset||0):0+(o.xOffset||0):p+h.right-(o.xCoordinate?u(b.parse(`${o.xCoordinate}`,r,new Date))+(o.xOffset||0):0+(o.xOffset||0)),maxWidth:o.maxWidth,fontWeight:o.fontWeight,align:o.align};return s.jsxRuntimeExports.jsx(Se.Annotation,{color:o.color,connectorsSettings:Ge,labelSettings:We,text:o.text,classNames:o.classNames,styles:o.styles,animate:l,isInView:m},y)},t[108]=l,t[109]=r,t[110]=p,t[111]=m,t[112]=h.right,t[113]=J,t[114]=u,t[115]=f,t[116]=n):n=t[116],re=Rt.map(n),t[98]=l,t[99]=Rt,t[100]=r,t[101]=p,t[102]=m,t[103]=h.right,t[104]=J,t[105]=u,t[106]=f,t[107]=re}else re=t[107];let be;t[117]!==re?(be=s.jsxRuntimeExports.jsx("g",{children:re}),t[117]=re,t[118]=be):be=t[118];let Ce;t[119]!==Z?(Ce=Z.filter(xn).map(mn),t[119]=Z,t[120]=Ce):Ce=t[120];let Re;return t[121]!==R?.tooltip||t[122]!==xt||t[123]!==pt||t[124]!==x||t[125]!==j?.tooltip||t[126]!==bt?(Re=x&&bt&&xt&&pt?s.jsxRuntimeExports.jsx(Ye.Tooltip,{data:x,body:bt,xPos:xt,yPos:pt,backgroundStyle:j?.tooltip,className:R?.tooltip}):null,t[121]=R?.tooltip,t[122]=xt,t[123]=pt,t[124]=x,t[125]=j?.tooltip,t[126]=bt,t[127]=Re):Re=t[127],s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(Ft.motion.svg,{width:`${O}px`,height:`${E}px`,viewBox:`0 0 ${O} ${E}`,direction:"ltr",ref:Et,children:s.jsxRuntimeExports.jsxs("g",{transform:`translate(${h.left},${h.top})`,children:[ot,s.jsxRuntimeExports.jsx(Se.CustomArea,{areaSettings:_t,scaleX:u,scaleY:f,animate:l,isInView:m}),s.jsxRuntimeExports.jsxs("g",{children:[s.jsxRuntimeExports.jsx(ze.YTicksAndGridLines,{values:Mt.filter(kn),y:Mt.filter(En).map(n=>f(n)),x1:0-C,x2:p+h.right,styles:yt,classNames:vt,suffix:U,prefix:g,labelType:"secondary",showGridLines:!0,labelPos:"vertical",precision:Q}),V,rt]}),s.jsxRuntimeExports.jsx("g",{children:s.jsxRuntimeExports.jsx(Pe.XTicksAndGridLines,{values:ye,x:Ue,y1:0,y2:k,styles:ve,classNames:Oe,suffix:U,prefix:g,labelType:"primary",showGridLines:!0,precision:Q})}),je,s.jsxRuntimeExports.jsxs(Ft.motion.g,{children:[ue.map(n=>s.jsxRuntimeExports.jsxs(Ft.motion.g,{exit:{opacity:0,transition:{duration:l.duration}},variants:{initial:{opacity:x?n[0].label===x.label?1:q:At?n[0].color&&c[L.indexOf(n[0].color)]===At?1:q:H.length!==0?H.indexOf(n[0].label)!==-1?1:q:1},whileInView:{opacity:x?n[0].label===x.label?1:q:At?n[0].color&&c[L.indexOf(n[0].color)]===At?1:q:H.length!==0?H.indexOf(n[0].label)!==-1?1:q:1,transition:{duration:l.duration}}},initial:"initial",animate:m?"whileInView":"initial",children:[s.jsxRuntimeExports.jsx(Ft.motion.path,{d:St(n.filter(Cn))||"",style:{fill:"none",strokeWidth:x?n[0].label===x.label?T+Math.max(2,.5*T):T:H.length!==0&&H.indexOf(n[0].label)!==-1?T+Math.max(2,.5*T):T},exit:{opacity:0,transition:{duration:l.duration}},variants:{initial:{pathLength:0,d:St(n.filter(bn))||"",opacity:1,stroke:i.filter(wn).length===0?c[0]:n[0].color?c[L.indexOf(n[0].color)]:B.Colors.gray},whileInView:{pathLength:1,d:St(n.filter(jn))||"",opacity:1,stroke:i.filter(On).length===0?c[0]:n[0].color?c[L.indexOf(n[0].color)]:B.Colors.gray,transition:{duration:l.duration}}},initial:"initial",animate:m?"whileInView":"initial"}),n.map((o,y)=>s.jsxRuntimeExports.jsx(Ft.motion.g,{children:v.checkIfNullOrUndefined(o.y)?null:s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:se?s.jsxRuntimeExports.jsx(Ft.motion.circle,{r:p/n.length<5?0:p/n.length<20?2:4,exit:{opacity:0,transition:{duration:l.duration}},variants:{initial:{opacity:0,fill:i.filter(vn).length===0?c[0]:n[0].color?c[L.indexOf(n[0].color)]:B.Colors.gray,cx:u(o.date),cy:f(o.y)},whileInView:{opacity:1,fill:i.filter(yn).length===0?c[0]:n[0].color?c[L.indexOf(n[0].color)]:B.Colors.gray,transition:{duration:S?l.duration:.5,delay:S?0:l.duration},cx:u(o.date),cy:f(o.y)}},initial:"initial",animate:m?"whileInView":"initial"}):null})},y)),(H.indexOf(n[0].label)!==-1||x?.label===n[0].label)&&he?s.jsxRuntimeExports.jsx(Ft.motion.text,{className:"text-sm font-bold",dx:5,dy:4,exit:{opacity:0,transition:{duration:l.duration}},variants:{initial:{opacity:0,fill:i.filter(gn).length===0?c[0]:n[0].color?c[L.indexOf(n[0].color)]:B.Colors.gray,x:u(n[n.length-1].date),y:f(n[n.length-1].y)},whileInView:{opacity:1,fill:i.filter(hn).length===0?c[0]:n[0].color?c[L.indexOf(n[0].color)]:B.Colors.gray,x:u(n[n.length-1].date),y:f(n[n.length-1].y),transition:{duration:S?l.duration:.5,delay:S?0:l.duration}}},initial:"initial",animate:m?"whileInView":"initial",children:n[0].label}):null]},n[0].label)),x?s.jsxRuntimeExports.jsx("text",{y:f(x.y)-8,x:u(x.date),className:s.mo("graph-value text-sm font-bold",R?.graphObjectValues),style:{fill:i.filter(dn).length===0?c[0]:x.color?c[L.indexOf(x.color)]:B.Colors.gray,textAnchor:"middle",...j?.graphObjectValues||{}},children:Ie.numberFormattingFunction(x.y,ge,Q,g,U)}):null]}),He,we,be,Ce]})}),Re]})}function mn(e){return e.layer}function xn(e){return e.position==="after"}function pn(e){return!v.checkIfNullOrUndefined(e.y)}function dn(e){return e.color}function hn(e){return e.color}function gn(e){return e.color}function yn(e){return e.color}function vn(e){return e.color}function On(e){return e.color}function jn(e){return!v.checkIfNullOrUndefined(e.y)}function wn(e){return e.color}function bn(e){return!v.checkIfNullOrUndefined(e.y)}function Cn(e){return!v.checkIfNullOrUndefined(e.y)}function Rn(e){return e.layer}function An(e){return e.position==="before"}function En(e){return e!==0}function kn(e){return e!==0}function Nn(e){return e.date}function Dn(e){return!v.checkIfNullOrUndefined(e.date)&&!v.checkIfNullOrUndefined(e.y)}function Ln(e){return!v.checkIfNullOrUndefined(e)}function qn(e){return e.y}function Sn(e){return!v.checkIfNullOrUndefined(e)}function Mn(e){return e.y}function Tn(e){return!v.checkIfNullOrUndefined(e)}function In(e){return e.y}function $n(e){return!v.checkIfNullOrUndefined(e)}function Vn(e){return e.y}function Un(e){return!v.checkIfNullOrUndefined(e)}function Hn(e){return e.y}function Gn(e,t){return ke.ascending(e,t)}function Wn(e){return!v.checkIfNullOrUndefined(e.y)}function Yn(e){const t=s.compilerRuntimeExports.c(106),{data:i,graphTitle:O,showNAColor:E,colors:c,colorDomain:r,suffix:wt,sources:st,prefix:Pt,graphDescription:lt,height:U,width:g,footNote:C,noOfXTicks:bt,dateFormat:at,padding:ct,backgroundColor:Bt,leftMargin:z,rightMargin:Ct,topMargin:H,bottomMargin:l,showColorScale:J,tooltip:T,relativeHeight:se,onSeriesMouseOver:Rt,showLabels:zt,refValues:K,highlightAreaSettings:Jt,graphID:Kt,minValue:Qt,maxValue:ut,highlightedLines:j,graphDownload:L,dataDownload:At,animate:R,language:he,colorLegendTitle:q,minHeight:Q,strokeWidth:ge,showDots:Z,annotations:Et,customHighlightAreaSettings:_,theme:m,ariaLabel:S,yAxisTitle:le,noOfYTicks:kt,minDate:ft,maxDate:ae,curveType:Nt,styles:a,classNames:d,dimmedOpacity:Dt,precision:Zt,customLayers:x,naLabel:mt}=e,xt=E===void 0?!0:E,tt=wt===void 0?"":wt,pt=Pt===void 0?"":Pt,et=bt===void 0?10:bt,Lt=at===void 0?"yyyy":at,dt=Bt===void 0?!1:Bt,h=z===void 0?30:z,ce=Ct===void 0?50:Ct,ue=H===void 0?20:H,ht=l===void 0?25:l,qt=J===void 0?!0:J,gt=zt===void 0?!0:zt;let _t;t[0]!==K?(_t=K===void 0?[]:K,t[0]=K,t[1]=_t):_t=t[1];const p=_t;let k;t[2]!==Jt?(k=Jt===void 0?[]:Jt,t[2]=Jt,t[3]=k):k=t[3];const fe=k;let te;t[4]!==j?(te=j===void 0?[]:j,t[4]=j,t[5]=te):te=t[5];const w=te,G=L===void 0?!1:L,u=At===void 0?!1:At,nt=R===void 0?!1:R,M=he===void 0?"en":he,f=Q===void 0?0:Q,me=ge===void 0?2:ge,St=Z===void 0?!0:Z;let Mt;t[6]!==Et?(Mt=Et===void 0?[]:Et,t[6]=Et,t[7]=Mt):Mt=t[7];const ee=Mt;let ot;t[8]!==_?(ot=_===void 0?[]:_,t[8]=_,t[9]=ot):ot=t[9];const Tt=ot,N=m===void 0?"light":m,yt=kt===void 0?5:kt,It=Nt===void 0?"curve":Nt,$t=Dt===void 0?.3:Dt,vt=Zt===void 0?2:Zt;let Ot;t[10]!==x?(Ot=x===void 0?[]:x,t[10]=x,t[11]=Ot):Ot=t[11];const Vt=Ot,Ut=mt===void 0?"NA":mt,[it,xe]=A.useState(0),[I,pe]=A.useState(0),[Ht,de]=A.useState(void 0),W=A.useRef(null),ne=A.useRef(null);let jt,$;t[12]===Symbol.for("react.memo_cache_sentinel")?(jt=()=>{const Yt=new ResizeObserver(ye=>{xe(ye[0].target.clientWidth||620),pe(ye[0].target.clientHeight||480)});return W.current&&Yt.observe(W.current),()=>Yt.disconnect()},$=[],t[12]=jt,t[13]=$):(jt=t[12],$=t[13]),A.useEffect(jt,$);const Gt=d?.graphContainer,Wt=a?.graphContainer;let D;t[14]!==d?.description||t[15]!==d?.title||t[16]!==i||t[17]!==u||t[18]!==lt||t[19]!==G||t[20]!==O||t[21]!==a?.description||t[22]!==a?.title||t[23]!==g?(D=O||lt||G||u?s.jsxRuntimeExports.jsx(on.GraphHeader,{styles:{title:a?.title,description:a?.description},classNames:{title:d?.title,description:d?.description},graphTitle:O,graphDescription:lt,width:g,graphDownload:G?ne:void 0,dataDownload:u?i.map(Qn).filter(Kn).length>0?i.map(Jn).filter(zn):i.filter(Bn):null}):null,t[14]=d?.description,t[15]=d?.title,t[16]=i,t[17]=u,t[18]=lt,t[19]=G,t[20]=O,t[21]=a?.description,t[22]=a?.title,t[23]=g,t[24]=D):D=t[24];let V;t[25]!==d?.colorLegend||t[26]!==r||t[27]!==q||t[28]!==c||t[29]!==i||t[30]!==qt||t[31]!==xt||t[32]!==N||t[33]!==g?(V=qt&&i.filter(Pn).length!==0&&i.length>0?s.jsxRuntimeExports.jsx(sn.ColorLegendWithMouseOver,{width:g,colorLegendTitle:q,colors:c||B.Colors[N].categoricalColors.colors,colorDomain:r||Ee.uniqBy(i,"color",!0),setSelectedColor:de,showNAColor:xt,className:d?.colorLegend}):null,t[25]=d?.colorLegend,t[26]=r,t[27]=q,t[28]=c,t[29]=i,t[30]=qt,t[31]=xt,t[32]=N,t[33]=g,t[34]=V):V=t[34];let Y;t[35]!==i.length?(Y=i.length===0&&s.jsxRuntimeExports.jsx(rn.EmptyState,{}),t[35]=i.length,t[36]=Y):Y=t[36];let X;t[37]!==nt||t[38]!==ee||t[39]!==ht||t[40]!==d||t[41]!==r||t[42]!==c||t[43]!==It||t[44]!==Tt||t[45]!==Vt||t[46]!==i||t[47]!==Lt||t[48]!==$t||t[49]!==fe||t[50]!==w||t[51]!==M||t[52]!==h||t[53]!==ae||t[54]!==ut||t[55]!==ft||t[56]!==Qt||t[57]!==Ut||t[58]!==et||t[59]!==yt||t[60]!==Rt||t[61]!==vt||t[62]!==pt||t[63]!==p||t[64]!==ce||t[65]!==Ht||t[66]!==St||t[67]!==gt||t[68]!==me||t[69]!==a||t[70]!==tt||t[71]!==I||t[72]!==it||t[73]!==N||t[74]!==T||t[75]!==ue||t[76]!==le?(X=it&&I&&i.length>0?s.jsxRuntimeExports.jsx(fn,{data:i,lineColors:i.filter(Fn).length===0?c?[c]:[B.Colors.primaryColors["blue-600"]]:c||B.Colors[N].categoricalColors.colors,width:it,height:I,dateFormat:Lt,noOfXTicks:et??ln.getNoOfTicks(it),leftMargin:h,rightMargin:ce,topMargin:ue,bottomMargin:ht,tooltip:T,onSeriesMouseOver:Rt,suffix:tt,prefix:pt,highlightAreaSettings:fe,refValues:p,minValue:Qt,maxValue:ut,highlightedLines:w,animate:nt===!0?{duration:.5,once:!0,amount:.5}:nt||{duration:0,once:!0,amount:0},rtl:M==="he"||M==="ar",strokeWidth:me,showDots:St,annotations:ee,customHighlightAreaSettings:Tt,yAxisTitle:le,noOfYTicks:yt,minDate:ft,maxDate:ae,curveType:It,styles:a,classNames:d,selectedColor:Ht,showLabels:gt,colorDomain:i.filter(Xn).length===0?[]:r||Ee.uniqBy(i,"color",!0),dimmedOpacity:$t,precision:vt,customLayers:Vt,naLabel:Ut}):null,t[37]=nt,t[38]=ee,t[39]=ht,t[40]=d,t[41]=r,t[42]=c,t[43]=It,t[44]=Tt,t[45]=Vt,t[46]=i,t[47]=Lt,t[48]=$t,t[49]=fe,t[50]=w,t[51]=M,t[52]=h,t[53]=ae,t[54]=ut,t[55]=ft,t[56]=Qt,t[57]=Ut,t[58]=et,t[59]=yt,t[60]=Rt,t[61]=vt,t[62]=pt,t[63]=p,t[64]=ce,t[65]=Ht,t[66]=St,t[67]=gt,t[68]=me,t[69]=a,t[70]=tt,t[71]=I,t[72]=it,t[73]=N,t[74]=T,t[75]=ue,t[76]=le,t[77]=X):X=t[77];let F;t[78]!==Y||t[79]!==X?(F=s.jsxRuntimeExports.jsxs(Ve.GraphArea,{ref:W,children:[Y,X]}),t[78]=Y,t[79]=X,t[80]=F):F=t[80];let P;t[81]!==d?.footnote||t[82]!==d?.source||t[83]!==C||t[84]!==st||t[85]!==a?.footnote||t[86]!==a?.source||t[87]!==g?(P=st||C?s.jsxRuntimeExports.jsx(nn.GraphFooter,{styles:{footnote:a?.footnote,source:a?.source},classNames:{footnote:d?.footnote,source:d?.source},sources:st,footNote:C,width:g}):null,t[81]=d?.footnote,t[82]=d?.source,t[83]=C,t[84]=st,t[85]=a?.footnote,t[86]=a?.source,t[87]=g,t[88]=P):P=t[88];let rt;return t[89]!==S||t[90]!==dt||t[91]!==Kt||t[92]!==U||t[93]!==M||t[94]!==f||t[95]!==ct||t[96]!==se||t[97]!==Gt||t[98]!==Wt||t[99]!==D||t[100]!==V||t[101]!==F||t[102]!==P||t[103]!==N||t[104]!==g?(rt=s.jsxRuntimeExports.jsxs(Ve.GraphContainer,{className:Gt,style:Wt,id:Kt,ref:ne,"aria-label":S,backgroundColor:dt,theme:N,language:M,minHeight:f,width:g,height:U,relativeHeight:se,padding:ct,children:[D,V,F,P]}),t[89]=S,t[90]=dt,t[91]=Kt,t[92]=U,t[93]=M,t[94]=f,t[95]=ct,t[96]=se,t[97]=Gt,t[98]=Wt,t[99]=D,t[100]=V,t[101]=F,t[102]=P,t[103]=N,t[104]=g,t[105]=rt):rt=t[105],rt}function Xn(e){return e.color}function Fn(e){return e.color}function Pn(e){return e.color}function Bn(e){return e!==void 0}function zn(e){return e!==void 0}function Jn(e){return e.data}function Kn(e){return e!==void 0}function Qn(e){return e.data}exports.MultiLineAltChart=Yn;
|
|
2
2
|
//# sourceMappingURL=MultiLineAltChart.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiLineAltChart.cjs","sources":["../node_modules/d3-array/src/permute.js","../node_modules/d3-array/src/sort.js","../src/Components/Graphs/LineCharts/MultiLineAltChart/Graph.tsx","../src/Components/Graphs/LineCharts/MultiLineAltChart/index.tsx"],"sourcesContent":["export default function permute(source, keys) {\n return Array.from(keys, key => source[key]);\n}\n","import ascending from \"./ascending.js\";\nimport permute from \"./permute.js\";\n\nexport default function sort(values, ...F) {\n if (typeof values[Symbol.iterator] !== \"function\") throw new TypeError(\"values is not iterable\");\n values = Array.from(values);\n let [f] = F;\n if ((f && f.length !== 2) || F.length > 1) {\n const index = Uint32Array.from(values, (d, i) => i);\n if (F.length > 1) {\n F = F.map(f => values.map(f));\n index.sort((i, j) => {\n for (const f of F) {\n const c = ascendingDefined(f[i], f[j]);\n if (c) return c;\n }\n });\n } else {\n f = values.map(f);\n index.sort((i, j) => ascendingDefined(f[i], f[j]));\n }\n return permute(values, index);\n }\n return values.sort(compareDefined(f));\n}\n\nexport function compareDefined(compare = ascending) {\n if (compare === ascending) return ascendingDefined;\n if (typeof compare !== \"function\") throw new TypeError(\"compare is not a function\");\n return (a, b) => {\n const x = compare(a, b);\n if (x || x === 0) return x;\n return (compare(b, b) === 0) - (compare(a, a) === 0);\n };\n}\n\nexport function ascendingDefined(a, b) {\n return (a == null || !(a >= a)) - (b == null || !(b >= b)) || (a < b ? -1 : a > b ? 1 : 0);\n}\n","import { useEffect, useRef, useState } from 'react';\r\nimport {\r\n line,\r\n curveLinear,\r\n curveMonotoneX,\r\n curveStep,\r\n curveStepAfter,\r\n curveStepBefore,\r\n} from 'd3-shape';\r\nimport { scaleLinear, scaleTime } from 'd3-scale';\r\nimport { format } from 'date-fns/format';\r\nimport { parse } from 'date-fns/parse';\r\nimport { bisectCenter } from 'd3-array';\r\nimport { pointer, select } from 'd3-selection';\r\nimport { ascending, sort } from 'd3-array';\r\nimport { cn } from '@undp/design-system-react/cn';\r\nimport { Delaunay } from 'd3-delaunay';\r\nimport { motion, useInView } from 'motion/react';\r\nimport orderBy from 'lodash.orderby';\r\n\r\nimport {\r\n AnimateDataType,\r\n AnnotationSettingsDataType,\r\n ClassNameObject,\r\n CurveTypes,\r\n CustomHighlightAreaSettingsDataType,\r\n CustomLayerDataType,\r\n HighlightAreaSettingsDataType,\r\n MultiLineAltChartDataType,\r\n ReferenceDataType,\r\n StyleObject,\r\n} from '@/Types';\r\nimport { numberFormattingFunction } from '@/Utils/numberFormattingFunction';\r\nimport { Tooltip } from '@/Components/Elements/Tooltip';\r\nimport { checkIfNullOrUndefined } from '@/Utils/checkIfNullOrUndefined';\r\nimport { getLineEndPoint } from '@/Utils/getLineEndPoint';\r\nimport { AxisTitle } from '@/Components/Elements/Axes/AxisTitle';\r\nimport { Axis } from '@/Components/Elements/Axes/Axis';\r\nimport { XTicksAndGridLines } from '@/Components/Elements/Axes/XTicksAndGridLines';\r\nimport { RefLineY } from '@/Components/Elements/ReferenceLine';\r\nimport { Annotation } from '@/Components/Elements/Annotations';\r\nimport { YTicksAndGridLines } from '@/Components/Elements/Axes/YTicksAndGridLines';\r\nimport { CustomArea } from '@/Components/Elements/HighlightArea/customArea';\r\nimport { HighlightArea } from '@/Components/Elements/HighlightArea';\r\nimport { Colors } from '@/Components/ColorPalette';\r\nimport { uniqBy } from '@/Utils/uniqBy';\r\n\r\ninterface Props {\r\n // Data\r\n /** Array of data objects */\r\n data: MultiLineAltChartDataType[];\r\n lineColors: string[];\r\n width: number;\r\n height: number;\r\n dateFormat: string;\r\n noOfXTicks: number;\r\n topMargin: number;\r\n bottomMargin: number;\r\n leftMargin: number;\r\n rightMargin: number;\r\n suffix: string;\r\n prefix: string;\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n tooltip?: string | ((_d: any) => React.ReactNode);\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n onSeriesMouseOver?: (_d: any) => void;\r\n highlightAreaSettings: HighlightAreaSettingsDataType[];\r\n refValues: ReferenceDataType[];\r\n maxValue?: number;\r\n minValue?: number;\r\n highlightedLines: (string | number)[];\r\n animate: AnimateDataType;\r\n rtl: boolean;\r\n strokeWidth: number;\r\n showLabels: boolean;\r\n showDots: boolean;\r\n annotations: AnnotationSettingsDataType[];\r\n customHighlightAreaSettings: CustomHighlightAreaSettingsDataType[];\r\n yAxisTitle?: string;\r\n noOfYTicks: number;\r\n minDate?: string | number;\r\n maxDate?: string | number;\r\n colorDomain: (string | number)[];\r\n curveType: CurveTypes;\r\n styles?: StyleObject;\r\n classNames?: ClassNameObject;\r\n selectedColor?: string;\r\n dimmedOpacity: number;\r\n precision: number;\r\n customLayers: CustomLayerDataType[];\r\n naLabel: string;\r\n}\r\n\r\ninterface FormattedDataType {\r\n y: number;\r\n date: Date;\r\n label: number | string;\r\n}\r\n\r\nexport function Graph(props: Props) {\r\n const {\r\n data,\r\n width,\r\n height,\r\n lineColors,\r\n dateFormat,\r\n noOfXTicks,\r\n rightMargin,\r\n topMargin,\r\n bottomMargin,\r\n suffix,\r\n prefix,\r\n leftMargin,\r\n tooltip,\r\n onSeriesMouseOver,\r\n refValues,\r\n highlightAreaSettings,\r\n minValue,\r\n maxValue,\r\n highlightedLines,\r\n animate,\r\n rtl,\r\n strokeWidth,\r\n showDots,\r\n annotations,\r\n customHighlightAreaSettings,\r\n yAxisTitle,\r\n noOfYTicks,\r\n minDate,\r\n maxDate,\r\n curveType,\r\n styles,\r\n colorDomain,\r\n selectedColor,\r\n classNames,\r\n showLabels,\r\n dimmedOpacity,\r\n precision,\r\n naLabel,\r\n customLayers,\r\n } = props;\r\n const svgRef = useRef(null);\r\n const isInView = useInView(svgRef, {\r\n once: animate.once,\r\n amount: animate.amount,\r\n });\r\n const [hasAnimatedOnce, setHasAnimatedOnce] = useState(false);\r\n\r\n useEffect(() => {\r\n if (isInView && !hasAnimatedOnce) {\r\n const timeout = setTimeout(\r\n () => {\r\n setHasAnimatedOnce(true);\r\n },\r\n (animate.duration + 0.5) * 1000,\r\n );\r\n return () => clearTimeout(timeout);\r\n }\r\n }, [isInView, hasAnimatedOnce, animate.duration]);\r\n const curve =\r\n curveType === 'linear'\r\n ? curveLinear\r\n : curveType === 'step'\r\n ? curveStep\r\n : curveType === 'stepAfter'\r\n ? curveStepAfter\r\n : curveType === 'stepBefore'\r\n ? curveStepBefore\r\n : curveMonotoneX;\r\n const dataFormatted = orderBy(\r\n data.map(d => ({\r\n ...d,\r\n date: parse(`${d.date}`, dateFormat, new Date()),\r\n })),\r\n ['date'],\r\n ['asc'],\r\n ).filter(d => !checkIfNullOrUndefined(d.y));\r\n const labels = uniqBy(dataFormatted, 'label', true) as (string | number)[];\r\n const dates = sort(\r\n uniqBy(data, 'date', true).map(d => parse(`${d}`, dateFormat, new Date())),\r\n (a, b) => ascending(a, b),\r\n );\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n const [mouseOverData, setMouseOverData] = useState<any>(undefined);\r\n const [eventX, setEventX] = useState<number | undefined>(undefined);\r\n const [eventY, setEventY] = useState<number | undefined>(undefined);\r\n const margin = {\r\n top: topMargin,\r\n bottom: bottomMargin,\r\n left: yAxisTitle ? leftMargin + 30 : leftMargin,\r\n right: rightMargin,\r\n };\r\n const MouseoverRectRef = useRef(null);\r\n const lineArray = labels.map(d =>\r\n orderBy(\r\n dataFormatted.filter(el => el.label == d),\r\n ['date'],\r\n ['asc'],\r\n ),\r\n );\r\n const highlightAreaSettingsFormatted = highlightAreaSettings.map(d => ({\r\n ...d,\r\n coordinates: [\r\n d.coordinates[0] === null ? null : parse(`${d.coordinates[0]}`, dateFormat, new Date()),\r\n d.coordinates[1] === null ? null : parse(`${d.coordinates[1]}`, dateFormat, new Date()),\r\n ],\r\n }));\r\n const customHighlightAreaSettingsFormatted = customHighlightAreaSettings.map(d => ({\r\n ...d,\r\n coordinates: d.coordinates.map((el, j) =>\r\n j % 2 === 0 ? parse(`${el}`, dateFormat, new Date()) : (el as number),\r\n ),\r\n }));\r\n const graphWidth = width - margin.left - margin.right;\r\n const graphHeight = height - margin.top - margin.bottom;\r\n const minYear = minDate ? parse(`${minDate}`, dateFormat, new Date()) : dates[0];\r\n const maxYear = maxDate ? parse(`${maxDate}`, dateFormat, new Date()) : dates[dates.length - 1];\r\n const minParam: number = checkIfNullOrUndefined(minValue)\r\n ? Math.min(...(dataFormatted.map(d => d.y).filter(d => !checkIfNullOrUndefined(d)) as number[]))\r\n ? (Math.min(\r\n ...(dataFormatted.map(d => d.y).filter(d => !checkIfNullOrUndefined(d)) as number[]),\r\n ) as number) > 0\r\n ? 0\r\n : (Math.min(\r\n ...(dataFormatted.map(d => d.y).filter(d => !checkIfNullOrUndefined(d)) as number[]),\r\n ) as number)\r\n : 0\r\n : (minValue as number);\r\n const maxParam: number = (Math.max(\r\n ...(dataFormatted.map(d => d.y).filter(d => !checkIfNullOrUndefined(d)) as number[]),\r\n ) as number)\r\n ? (Math.max(\r\n ...(dataFormatted.map(d => d.y).filter(d => !checkIfNullOrUndefined(d)) as number[]),\r\n ) as number)\r\n : 0;\r\n\r\n const x = scaleTime().domain([minYear, maxYear]).range([0, graphWidth]);\r\n const y = scaleLinear()\r\n .domain([\r\n checkIfNullOrUndefined(minValue) ? minParam : (minValue as number),\r\n checkIfNullOrUndefined(maxValue) ? (maxParam > 0 ? maxParam : 0) : (maxValue as number),\r\n ])\r\n .range([graphHeight, 0])\r\n .nice();\r\n\r\n const voronoiDiagram = Delaunay.from(\r\n dataFormatted.filter(d => !checkIfNullOrUndefined(d.date) && !checkIfNullOrUndefined(d.y)),\r\n d => x(d.date),\r\n d => y(d.y as number),\r\n ).voronoi([0, 0, graphWidth < 0 ? 0 : graphWidth, graphHeight < 0 ? 0 : graphHeight]);\r\n const lineShape = line<FormattedDataType>()\r\n .x(d => x(d.date))\r\n .y(d => y(d.y))\r\n .curve(curve);\r\n const yTicks = y.ticks(noOfYTicks);\r\n const xTicks = x.ticks(noOfXTicks);\r\n useEffect(() => {\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n const mousemove = (event: any) => {\r\n const selectedData =\r\n dataFormatted[\r\n bisectCenter(\r\n dataFormatted.map(d => d.date),\r\n x.invert(pointer(event)[0]),\r\n 0,\r\n )\r\n ];\r\n setMouseOverData(selectedData || dataFormatted[dataFormatted.length - 1]);\r\n setEventY(event.clientY);\r\n setEventX(event.clientX);\r\n onSeriesMouseOver?.(selectedData || dataFormatted[dataFormatted.length - 1]);\r\n };\r\n const mouseout = () => {\r\n setMouseOverData(undefined);\r\n setEventX(undefined);\r\n setEventY(undefined);\r\n };\r\n select(MouseoverRectRef.current).on('mousemove', mousemove).on('mouseout', mouseout);\r\n onSeriesMouseOver?.(undefined);\r\n }, [x, dataFormatted, onSeriesMouseOver]);\r\n\r\n return (\r\n <>\r\n <motion.svg\r\n width={`${width}px`}\r\n height={`${height}px`}\r\n viewBox={`0 0 ${width} ${height}`}\r\n direction='ltr'\r\n ref={svgRef}\r\n >\r\n <g transform={`translate(${margin.left},${margin.top})`}>\r\n <HighlightArea\r\n areaSettings={highlightAreaSettingsFormatted}\r\n width={graphWidth}\r\n height={graphHeight}\r\n scale={x}\r\n animate={animate}\r\n isInView={isInView}\r\n />\r\n <CustomArea\r\n areaSettings={customHighlightAreaSettingsFormatted}\r\n scaleX={x}\r\n scaleY={y}\r\n animate={animate}\r\n isInView={isInView}\r\n />\r\n <g>\r\n <YTicksAndGridLines\r\n values={yTicks.filter(d => d !== 0)}\r\n y={yTicks.filter(d => d !== 0).map(d => y(d))}\r\n x1={0 - leftMargin}\r\n x2={graphWidth + margin.right}\r\n styles={{\r\n gridLines: styles?.yAxis?.gridLines,\r\n labels: styles?.yAxis?.labels,\r\n }}\r\n classNames={{\r\n gridLines: classNames?.yAxis?.gridLines,\r\n labels: classNames?.yAxis?.labels,\r\n }}\r\n suffix={suffix}\r\n prefix={prefix}\r\n labelType='secondary'\r\n showGridLines\r\n labelPos='vertical'\r\n precision={precision}\r\n />\r\n <Axis\r\n y1={y(minParam < 0 ? 0 : minParam)}\r\n y2={y(minParam < 0 ? 0 : minParam)}\r\n x1={0 - leftMargin}\r\n x2={graphWidth + margin.right}\r\n label={numberFormattingFunction(\r\n minParam < 0 ? 0 : minParam,\r\n 'NA',\r\n precision,\r\n prefix,\r\n suffix,\r\n )}\r\n labelPos={{\r\n x: 0 - leftMargin,\r\n y: y(minParam < 0 ? 0 : minParam),\r\n dx: 0,\r\n dy: maxParam < 0 ? '1em' : -5,\r\n }}\r\n classNames={{\r\n axis: classNames?.xAxis?.axis,\r\n label: classNames?.yAxis?.labels,\r\n }}\r\n styles={{\r\n axis: styles?.xAxis?.axis,\r\n label: styles?.yAxis?.labels,\r\n }}\r\n />\r\n <AxisTitle\r\n x={0 - leftMargin - 15}\r\n y={graphHeight / 2}\r\n style={styles?.yAxis?.title}\r\n className={classNames?.yAxis?.title}\r\n text={yAxisTitle}\r\n rotate90\r\n />\r\n </g>\r\n <g>\r\n <XTicksAndGridLines\r\n values={xTicks.map(d => format(d, dateFormat))}\r\n x={xTicks.map(d => x(d))}\r\n y1={0}\r\n y2={graphHeight}\r\n styles={{\r\n gridLines: styles?.xAxis?.gridLines,\r\n labels: styles?.xAxis?.labels,\r\n }}\r\n classNames={{\r\n gridLines: cn('opacity-0', classNames?.xAxis?.gridLines),\r\n labels: cn(\r\n 'fill-primary-gray-700 dark:fill-primary-gray-300 xs:max-[360px]:hidden text-[9px] md:text-[10px] lg:text-xs',\r\n classNames?.xAxis?.labels,\r\n ),\r\n }}\r\n suffix={suffix}\r\n prefix={prefix}\r\n labelType='primary'\r\n showGridLines\r\n precision={precision}\r\n />\r\n </g>\r\n {customLayers.filter(d => d.position === 'before').map(d => d.layer)}\r\n <motion.g>\r\n {lineArray.map(d => (\r\n <motion.g\r\n key={d[0].label}\r\n exit={{ opacity: 0, transition: { duration: animate.duration } }}\r\n variants={{\r\n initial: {\r\n opacity: mouseOverData\r\n ? d[0].label === mouseOverData.label\r\n ? 1\r\n : dimmedOpacity\r\n : selectedColor\r\n ? d[0].color\r\n ? lineColors[colorDomain.indexOf(d[0].color)] === selectedColor\r\n ? 1\r\n : dimmedOpacity\r\n : dimmedOpacity\r\n : highlightedLines.length !== 0\r\n ? highlightedLines.indexOf(d[0].label) !== -1\r\n ? 1\r\n : dimmedOpacity\r\n : 1,\r\n },\r\n whileInView: {\r\n opacity: mouseOverData\r\n ? d[0].label === mouseOverData.label\r\n ? 1\r\n : dimmedOpacity\r\n : selectedColor\r\n ? d[0].color\r\n ? lineColors[colorDomain.indexOf(d[0].color)] === selectedColor\r\n ? 1\r\n : dimmedOpacity\r\n : dimmedOpacity\r\n : highlightedLines.length !== 0\r\n ? highlightedLines.indexOf(d[0].label) !== -1\r\n ? 1\r\n : dimmedOpacity\r\n : 1,\r\n transition: { duration: animate.duration },\r\n },\r\n }}\r\n initial='initial'\r\n animate={isInView ? 'whileInView' : 'initial'}\r\n >\r\n <motion.path\r\n d={\r\n lineShape(\r\n d.filter((el): el is FormattedDataType => !checkIfNullOrUndefined(el.y)),\r\n ) || ''\r\n }\r\n style={{\r\n fill: 'none',\r\n strokeWidth: mouseOverData\r\n ? d[0].label === mouseOverData.label\r\n ? strokeWidth + Math.max(2, 0.5 * strokeWidth)\r\n : strokeWidth\r\n : highlightedLines.length !== 0\r\n ? highlightedLines.indexOf(d[0].label) !== -1\r\n ? strokeWidth + Math.max(2, 0.5 * strokeWidth)\r\n : strokeWidth\r\n : strokeWidth,\r\n }}\r\n exit={{ opacity: 0, transition: { duration: animate.duration } }}\r\n variants={{\r\n initial: {\r\n pathLength: 0,\r\n d:\r\n lineShape(\r\n d.filter((el): el is FormattedDataType => !checkIfNullOrUndefined(el.y)),\r\n ) || '',\r\n opacity: 1,\r\n stroke:\r\n data.filter(el => el.color).length === 0\r\n ? lineColors[0]\r\n : !d[0].color\r\n ? Colors.gray\r\n : lineColors[colorDomain.indexOf(d[0].color)],\r\n },\r\n whileInView: {\r\n pathLength: 1,\r\n d:\r\n lineShape(\r\n d.filter((el): el is FormattedDataType => !checkIfNullOrUndefined(el.y)),\r\n ) || '',\r\n opacity: 1,\r\n stroke:\r\n data.filter(el => el.color).length === 0\r\n ? lineColors[0]\r\n : !d[0].color\r\n ? Colors.gray\r\n : lineColors[colorDomain.indexOf(d[0].color)],\r\n transition: { duration: animate.duration },\r\n },\r\n }}\r\n initial='initial'\r\n animate={isInView ? 'whileInView' : 'initial'}\r\n />\r\n {d.map((el, j) => (\r\n <motion.g key={j}>\r\n {!checkIfNullOrUndefined(el.y) ? (\r\n <>\r\n {showDots ? (\r\n <motion.circle\r\n r={graphWidth / d.length < 5 ? 0 : graphWidth / d.length < 20 ? 2 : 4}\r\n exit={{ opacity: 0, transition: { duration: animate.duration } }}\r\n variants={{\r\n initial: {\r\n opacity: 0,\r\n fill:\r\n data.filter(el => el.color).length === 0\r\n ? lineColors[0]\r\n : !d[0].color\r\n ? Colors.gray\r\n : lineColors[colorDomain.indexOf(d[0].color)],\r\n cx: x(el.date),\r\n cy: y(el.y as number),\r\n },\r\n whileInView: {\r\n opacity: 1,\r\n fill:\r\n data.filter(el => el.color).length === 0\r\n ? lineColors[0]\r\n : !d[0].color\r\n ? Colors.gray\r\n : lineColors[colorDomain.indexOf(d[0].color)],\r\n transition: {\r\n duration: hasAnimatedOnce ? animate.duration : 0.5,\r\n delay: hasAnimatedOnce ? 0 : animate.duration,\r\n },\r\n cx: x(el.date),\r\n cy: y(el.y as number),\r\n },\r\n }}\r\n initial='initial'\r\n animate={isInView ? 'whileInView' : 'initial'}\r\n />\r\n ) : null}\r\n </>\r\n ) : null}\r\n </motion.g>\r\n ))}\r\n {(highlightedLines.indexOf(d[0].label) !== -1 ||\r\n mouseOverData?.label === d[0].label) &&\r\n showLabels ? (\r\n <motion.text\r\n className='text-sm font-bold'\r\n dx={5}\r\n dy={4}\r\n exit={{ opacity: 0, transition: { duration: animate.duration } }}\r\n variants={{\r\n initial: {\r\n opacity: 0,\r\n fill:\r\n data.filter(el => el.color).length === 0\r\n ? lineColors[0]\r\n : !d[0].color\r\n ? Colors.gray\r\n : lineColors[colorDomain.indexOf(d[0].color)],\r\n x: x(d[d.length - 1].date),\r\n y: y(d[d.length - 1].y as number),\r\n },\r\n whileInView: {\r\n opacity: 1,\r\n fill:\r\n data.filter(el => el.color).length === 0\r\n ? lineColors[0]\r\n : !d[0].color\r\n ? Colors.gray\r\n : lineColors[colorDomain.indexOf(d[0].color)],\r\n x: x(d[d.length - 1].date),\r\n y: y(d[d.length - 1].y as number),\r\n transition: {\r\n duration: hasAnimatedOnce ? animate.duration : 0.5,\r\n delay: hasAnimatedOnce ? 0 : animate.duration,\r\n },\r\n },\r\n }}\r\n initial='initial'\r\n animate={isInView ? 'whileInView' : 'initial'}\r\n >\r\n {d[0].label}\r\n </motion.text>\r\n ) : null}\r\n </motion.g>\r\n ))}\r\n {mouseOverData ? (\r\n <text\r\n y={y(mouseOverData.y) - 8}\r\n x={x(mouseOverData.date)}\r\n className={cn('graph-value text-sm font-bold', classNames?.graphObjectValues)}\r\n style={{\r\n fill:\r\n data.filter(el => el.color).length === 0\r\n ? lineColors[0]\r\n : !mouseOverData.color\r\n ? Colors.gray\r\n : lineColors[colorDomain.indexOf(mouseOverData.color)],\r\n textAnchor: 'middle',\r\n ...(styles?.graphObjectValues || {}),\r\n }}\r\n >\r\n {numberFormattingFunction(mouseOverData.y, naLabel, precision, prefix, suffix)}\r\n </text>\r\n ) : null}\r\n </motion.g>\r\n {dataFormatted\r\n .filter(d => !checkIfNullOrUndefined(d.y))\r\n .map((d, i) => {\r\n return (\r\n <g key={i}>\r\n <path\r\n d={voronoiDiagram.renderCell(\r\n dataFormatted.findIndex(el => el.label === d.label && el.date === d.date),\r\n )}\r\n opacity={0}\r\n onMouseEnter={event => {\r\n setMouseOverData(d);\r\n setEventY(event.clientY);\r\n setEventX(event.clientX);\r\n onSeriesMouseOver?.(d);\r\n }}\r\n onMouseMove={event => {\r\n setMouseOverData(d);\r\n setEventY(event.clientY);\r\n setEventX(event.clientX);\r\n }}\r\n onMouseLeave={() => {\r\n setMouseOverData(undefined);\r\n setEventX(undefined);\r\n setEventY(undefined);\r\n onSeriesMouseOver?.(undefined);\r\n }}\r\n />\r\n </g>\r\n );\r\n })}\r\n {refValues ? (\r\n <>\r\n {refValues.map((el, i) => (\r\n <RefLineY\r\n key={i}\r\n text={el.text}\r\n color={el.color}\r\n y={y(el.value as number)}\r\n x1={0 - leftMargin}\r\n x2={graphWidth + margin.right}\r\n classNames={el.classNames}\r\n styles={el.styles}\r\n animate={animate}\r\n isInView={isInView}\r\n />\r\n ))}\r\n </>\r\n ) : null}\r\n <g>\r\n {annotations.map((d, i) => {\r\n const endPoints = getLineEndPoint(\r\n {\r\n x: d.xCoordinate\r\n ? x(parse(`${d.xCoordinate}`, dateFormat, new Date())) + (d.xOffset || 0)\r\n : 0 + (d.xOffset || 0),\r\n y: d.yCoordinate\r\n ? y(d.yCoordinate as number) + (d.yOffset || 0) - 8\r\n : 0 + (d.yOffset || 0) - 8,\r\n },\r\n {\r\n x: d.xCoordinate ? x(parse(`${d.xCoordinate}`, dateFormat, new Date())) : 0,\r\n y: d.yCoordinate ? y(d.yCoordinate as number) : 0,\r\n },\r\n checkIfNullOrUndefined(d.connectorRadius) ? 3.5 : (d.connectorRadius as number),\r\n );\r\n const connectorSettings = d.showConnector\r\n ? {\r\n y1: endPoints.y,\r\n x1: endPoints.x,\r\n y2: d.yCoordinate\r\n ? y(d.yCoordinate as number) + (d.yOffset || 0)\r\n : 0 + (d.yOffset || 0),\r\n x2: d.xCoordinate\r\n ? x(parse(`${d.xCoordinate}`, dateFormat, new Date())) + (d.xOffset || 0)\r\n : 0 + (d.xOffset || 0),\r\n cy: d.yCoordinate ? y(d.yCoordinate as number) : 0,\r\n cx: d.xCoordinate ? x(parse(`${d.xCoordinate}`, dateFormat, new Date())) : 0,\r\n circleRadius: checkIfNullOrUndefined(d.connectorRadius)\r\n ? 3.5\r\n : (d.connectorRadius as number),\r\n strokeWidth: d.showConnector === true ? 2 : Math.min(d.showConnector || 0, 1),\r\n }\r\n : undefined;\r\n const labelSettings = {\r\n y: d.yCoordinate\r\n ? y(d.yCoordinate as number) + (d.yOffset || 0) - 8\r\n : 0 + (d.yOffset || 0) - 8,\r\n x: rtl\r\n ? 0\r\n : d.xCoordinate\r\n ? x(parse(`${d.xCoordinate}`, dateFormat, new Date())) + (d.xOffset || 0)\r\n : 0 + (d.xOffset || 0),\r\n width: rtl\r\n ? d.xCoordinate\r\n ? x(parse(`${d.xCoordinate}`, dateFormat, new Date())) + (d.xOffset || 0)\r\n : 0 + (d.xOffset || 0)\r\n : graphWidth +\r\n margin.right -\r\n (d.xCoordinate\r\n ? x(parse(`${d.xCoordinate}`, dateFormat, new Date())) + (d.xOffset || 0)\r\n : 0 + (d.xOffset || 0)),\r\n maxWidth: d.maxWidth,\r\n fontWeight: d.fontWeight,\r\n align: d.align,\r\n };\r\n return (\r\n <Annotation\r\n key={i}\r\n color={d.color}\r\n connectorsSettings={connectorSettings}\r\n labelSettings={labelSettings}\r\n text={d.text}\r\n classNames={d.classNames}\r\n styles={d.styles}\r\n animate={animate}\r\n isInView={isInView}\r\n />\r\n );\r\n })}\r\n </g>\r\n {customLayers.filter(d => d.position === 'after').map(d => d.layer)}\r\n </g>\r\n </motion.svg>\r\n {mouseOverData && tooltip && eventX && eventY ? (\r\n <Tooltip\r\n data={mouseOverData}\r\n body={tooltip}\r\n xPos={eventX}\r\n yPos={eventY}\r\n backgroundStyle={styles?.tooltip}\r\n className={classNames?.tooltip}\r\n />\r\n ) : null}\r\n </>\r\n );\r\n}\r\n","import { useState, useRef, useEffect } from 'react';\r\n\r\nimport { Graph } from './Graph';\r\n\r\nimport {\r\n AnnotationSettingsDataType,\r\n CustomHighlightAreaSettingsDataType,\r\n Languages,\r\n MultiLineAltChartDataType,\r\n ReferenceDataType,\r\n SourcesDataType,\r\n StyleObject,\r\n ClassNameObject,\r\n HighlightAreaSettingsDataType,\r\n CurveTypes,\r\n CustomLayerDataType,\r\n AnimateDataType,\r\n} from '@/Types';\r\nimport { GraphFooter } from '@/Components/Elements/GraphFooter';\r\nimport { GraphHeader } from '@/Components/Elements/GraphHeader';\r\nimport { Colors } from '@/Components/ColorPalette';\r\nimport { EmptyState } from '@/Components/Elements/EmptyState';\r\nimport { ColorLegendWithMouseOver } from '@/Components/Elements/ColorLegendWithMouseOver';\r\nimport { uniqBy } from '@/Utils/uniqBy';\r\nimport { GraphArea, GraphContainer } from '@/Components/Elements/GraphContainer';\r\nimport { getNoOfTicks } from '@/Utils/getNoOfTicks';\r\n\r\ninterface Props {\r\n // Data\r\n /** Array of data objects */\r\n data: MultiLineAltChartDataType[];\r\n\r\n // Titles, Labels, and Sources\r\n /** Title of the graph */\r\n graphTitle?: string | React.ReactNode;\r\n /** Description of the graph */\r\n graphDescription?: string | React.ReactNode;\r\n /** Footnote for the graph */\r\n footNote?: string | React.ReactNode;\r\n /** Source data for the graph */\r\n sources?: SourcesDataType[];\r\n /** Accessibility label */\r\n ariaLabel?: string;\r\n\r\n // Colors and Styling\r\n /** Color or array of colors for lines */\r\n colors?: string | string[];\r\n /** Domain of colors for the graph */\r\n colorDomain?: (string | number)[];\r\n /** Toggle the visibility of labels of the lines when highlighted or mouse hovered */\r\n showLabels?: boolean;\r\n /** Title for the color legend */\r\n colorLegendTitle?: string;\r\n /** Background color of the graph */\r\n backgroundColor?: string | boolean;\r\n /** Custom styles for the graph. Each object should be a valid React CSS style object. */\r\n styles?: StyleObject;\r\n /** Custom class names */\r\n classNames?: ClassNameObject;\r\n\r\n // Size and Spacing\r\n /** Width of the graph */\r\n width?: number;\r\n /** Height of the graph */\r\n height?: number;\r\n /** Minimum height of the graph */\r\n minHeight?: number;\r\n /** Relative height scaling factor. This overwrites the height props */\r\n relativeHeight?: number;\r\n /** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */\r\n padding?: string;\r\n /** Left margin of the graph */\r\n leftMargin?: number;\r\n /** Right margin of the graph */\r\n rightMargin?: number;\r\n /** Top margin of the graph */\r\n topMargin?: number;\r\n /** Bottom margin of the graph */\r\n bottomMargin?: number;\r\n\r\n // Values and Ticks\r\n /** Prefix for values */\r\n prefix?: string;\r\n /** Suffix for values */\r\n suffix?: string;\r\n /** Maximum value for the chart */\r\n maxValue?: number;\r\n /** Minimum value for the chart */\r\n minValue?: number;\r\n /** Reference values for comparison */\r\n refValues?: ReferenceDataType[];\r\n /** Maximum value of the date for the chart */\r\n maxDate?: string | number;\r\n /** Minimum value of the date for the chart */\r\n minDate?: string | number;\r\n /** No. of ticks on the x-axis */\r\n noOfXTicks?: number;\r\n /** No. of ticks on the y-axis */\r\n noOfYTicks?: number;\r\n\r\n // Graph Parameters\r\n /** Toggle visibility of dots on the line */\r\n showDots?: boolean;\r\n /** Stroke width of the line */\r\n strokeWidth?: number;\r\n /** Toggle the initial animation of the line. If the type is number then it uses the number as the time in seconds for animation. */\r\n animate?: boolean | AnimateDataType;\r\n /** Format of the date in the data object. Available formats can be found [here](https://date-fns.org/docs/format) */\r\n dateFormat?: string;\r\n /** Title for the Y-axis */\r\n yAxisTitle?: string;\r\n /** Toggle visibility of color scale. This is only applicable if the data props hae color parameter */\r\n showColorScale?: boolean;\r\n /** Toggle visibility of NA color in the color scale. This is only applicable if the data props hae color parameter and showColorScale prop is true */\r\n showNAColor?: boolean;\r\n /** Defines how “NA” values should be displayed/labelled in the graph */\r\n naLabel?: string;\r\n /** Data points to highlight. Use the label value from data to highlight the data point */\r\n highlightedLines?: (string | number)[];\r\n /** Defines the opacity of the non-highlighted data */\r\n dimmedOpacity?: number;\r\n /** Annotations on the chart */\r\n annotations?: AnnotationSettingsDataType[];\r\n /** Highlighted area(square) on the chart */\r\n highlightAreaSettings?: HighlightAreaSettingsDataType[];\r\n /** Highlighted area(custom shape) on the chart */\r\n customHighlightAreaSettings?: CustomHighlightAreaSettingsDataType[];\r\n /** Curve type for the line */\r\n curveType?: CurveTypes;\r\n /** Specifies the number of decimal places to display in the value. */\r\n precision?: number;\r\n /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */\r\n customLayers?: CustomLayerDataType[];\r\n /** Enable graph download option as png */\r\n graphDownload?: boolean;\r\n /** Enable data download option as a csv */\r\n dataDownload?: boolean;\r\n\r\n // Interactions and Callbacks\r\n /** Tooltip content. If the type is string then this uses the [handlebar](../?path=/docs/misc-handlebars-templates-and-custom-helpers--docs) template to display the data */\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n tooltip?: string | ((_d: any) => React.ReactNode);\r\n /** Callback for mouse over event */\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n onSeriesMouseOver?: (_d: any) => void;\r\n\r\n // Configuration and Options\r\n /** Language setting */\r\n language?: Languages;\r\n /** Color theme */\r\n theme?: 'light' | 'dark';\r\n /** Unique ID for the graph */\r\n graphID?: string;\r\n}\r\n\r\nexport function MultiLineAltChart(props: Props) {\r\n const {\r\n data,\r\n graphTitle,\r\n showNAColor = true,\r\n colors,\r\n colorDomain,\r\n suffix = '',\r\n sources,\r\n prefix = '',\r\n graphDescription,\r\n height,\r\n width,\r\n footNote,\r\n noOfXTicks = 10,\r\n dateFormat = 'yyyy',\r\n padding,\r\n backgroundColor = false,\r\n leftMargin = 30,\r\n rightMargin = 50,\r\n topMargin = 20,\r\n bottomMargin = 25,\r\n showColorScale = true,\r\n tooltip,\r\n relativeHeight,\r\n onSeriesMouseOver,\r\n showLabels = true,\r\n refValues = [],\r\n highlightAreaSettings = [],\r\n graphID,\r\n minValue,\r\n maxValue,\r\n highlightedLines = [],\r\n graphDownload = false,\r\n dataDownload = false,\r\n animate = false,\r\n language = 'en',\r\n colorLegendTitle,\r\n minHeight = 0,\r\n strokeWidth = 2,\r\n showDots = true,\r\n annotations = [],\r\n customHighlightAreaSettings = [],\r\n theme = 'light',\r\n ariaLabel,\r\n yAxisTitle,\r\n noOfYTicks = 5,\r\n minDate,\r\n maxDate,\r\n curveType = 'curve',\r\n styles,\r\n classNames,\r\n dimmedOpacity = 0.3,\r\n precision = 2,\r\n customLayers = [],\r\n naLabel = 'NA',\r\n } = props;\r\n\r\n const [svgWidth, setSvgWidth] = useState(0);\r\n const [svgHeight, setSvgHeight] = useState(0);\r\n const [selectedColor, setSelectedColor] = useState<string | undefined>(undefined);\r\n\r\n const graphDiv = useRef<HTMLDivElement>(null);\r\n const graphParentDiv = useRef<HTMLDivElement>(null);\r\n useEffect(() => {\r\n const resizeObserver = new ResizeObserver(entries => {\r\n setSvgWidth(entries[0].target.clientWidth || 620);\r\n setSvgHeight(entries[0].target.clientHeight || 480);\r\n });\r\n if (graphDiv.current) {\r\n resizeObserver.observe(graphDiv.current);\r\n }\r\n return () => resizeObserver.disconnect();\r\n }, []);\r\n\r\n return (\r\n <GraphContainer\r\n className={classNames?.graphContainer}\r\n style={styles?.graphContainer}\r\n id={graphID}\r\n ref={graphParentDiv}\r\n aria-label={ariaLabel}\r\n backgroundColor={backgroundColor}\r\n theme={theme}\r\n language={language}\r\n minHeight={minHeight}\r\n width={width}\r\n height={height}\r\n relativeHeight={relativeHeight}\r\n padding={padding}\r\n >\r\n {graphTitle || graphDescription || graphDownload || dataDownload ? (\r\n <GraphHeader\r\n styles={{\r\n title: styles?.title,\r\n description: styles?.description,\r\n }}\r\n classNames={{\r\n title: classNames?.title,\r\n description: classNames?.description,\r\n }}\r\n graphTitle={graphTitle}\r\n graphDescription={graphDescription}\r\n width={width}\r\n graphDownload={graphDownload ? graphParentDiv : undefined}\r\n dataDownload={\r\n dataDownload\r\n ? data.map(d => d.data).filter(d => d !== undefined).length > 0\r\n ? data.map(d => d.data).filter(d => d !== undefined)\r\n : data.filter(d => d !== undefined)\r\n : null\r\n }\r\n />\r\n ) : null}\r\n {data.length === 0 ? (\r\n <EmptyState />\r\n ) : (\r\n <>\r\n {showColorScale && data.filter(el => el.color).length !== 0 ? (\r\n <ColorLegendWithMouseOver\r\n width={width}\r\n colorLegendTitle={colorLegendTitle}\r\n colors={(colors as string[] | undefined) || Colors[theme].categoricalColors.colors}\r\n colorDomain={colorDomain || (uniqBy(data, 'color', true) as string[])}\r\n setSelectedColor={setSelectedColor}\r\n showNAColor={showNAColor}\r\n className={classNames?.colorLegend}\r\n />\r\n ) : null}\r\n <GraphArea ref={graphDiv}>\r\n {svgWidth && svgHeight ? (\r\n <Graph\r\n data={data}\r\n lineColors={\r\n data.filter(el => el.color).length === 0\r\n ? colors\r\n ? [colors as string]\r\n : [Colors.primaryColors['blue-600']]\r\n : (colors as string[] | undefined) || Colors[theme].categoricalColors.colors\r\n }\r\n width={svgWidth}\r\n height={svgHeight}\r\n dateFormat={dateFormat}\r\n noOfXTicks={noOfXTicks ?? getNoOfTicks(svgWidth)}\r\n leftMargin={leftMargin}\r\n rightMargin={rightMargin}\r\n topMargin={topMargin}\r\n bottomMargin={bottomMargin}\r\n tooltip={tooltip}\r\n onSeriesMouseOver={onSeriesMouseOver}\r\n suffix={suffix}\r\n prefix={prefix}\r\n highlightAreaSettings={highlightAreaSettings}\r\n refValues={refValues}\r\n minValue={minValue}\r\n maxValue={maxValue}\r\n highlightedLines={highlightedLines}\r\n animate={\r\n animate === true\r\n ? { duration: 0.5, once: true, amount: 0.5 }\r\n : animate || { duration: 0, once: true, amount: 0 }\r\n }\r\n rtl={language === 'he' || language === 'ar'}\r\n strokeWidth={strokeWidth}\r\n showDots={showDots}\r\n annotations={annotations}\r\n customHighlightAreaSettings={customHighlightAreaSettings}\r\n yAxisTitle={yAxisTitle}\r\n noOfYTicks={noOfYTicks}\r\n minDate={minDate}\r\n maxDate={maxDate}\r\n curveType={curveType}\r\n styles={styles}\r\n classNames={classNames}\r\n selectedColor={selectedColor}\r\n showLabels={showLabels}\r\n colorDomain={\r\n data.filter(el => el.color).length === 0\r\n ? []\r\n : colorDomain || (uniqBy(data, 'color', true) as string[])\r\n }\r\n dimmedOpacity={dimmedOpacity}\r\n precision={precision}\r\n customLayers={customLayers}\r\n naLabel={naLabel}\r\n />\r\n ) : null}\r\n </GraphArea>\r\n </>\r\n )}\r\n {sources || footNote ? (\r\n <GraphFooter\r\n styles={{ footnote: styles?.footnote, source: styles?.source }}\r\n classNames={{\r\n footnote: classNames?.footnote,\r\n source: classNames?.source,\r\n }}\r\n sources={sources}\r\n footNote={footNote}\r\n width={width}\r\n />\r\n ) : null}\r\n </GraphContainer>\r\n );\r\n}\r\n"],"names":["permute","source","keys","key","sort","values","F","f","index","d","i","j","c","ascendingDefined","compareDefined","compare","ascending","a","b","x","Graph","props","$","_c","data","width","height","lineColors","dateFormat","noOfXTicks","rightMargin","topMargin","bottomMargin","suffix","prefix","leftMargin","tooltip","onSeriesMouseOver","refValues","highlightAreaSettings","minValue","maxValue","highlightedLines","animate","rtl","strokeWidth","showDots","annotations","customHighlightAreaSettings","yAxisTitle","noOfYTicks","minDate","maxDate","curveType","styles","colorDomain","selectedColor","classNames","showLabels","dimmedOpacity","precision","naLabel","customLayers","svgRef","useRef","t0","amount","once","isInView","useInView","hasAnimatedOnce","setHasAnimatedOnce","useState","t1","t2","duration","timeout","setTimeout","clearTimeout","useEffect","curve","curveLinear","curveStep","curveStepAfter","curveStepBefore","curveMonotoneX","t3","date","parse","Date","dataFormatted","orderBy","map","filter","_temp","labels","uniqBy","t4","d_1","dates","_temp2","mouseOverData","setMouseOverData","undefined","eventX","setEventX","eventY","setEventY","t5","t6","top","bottom","left","right","margin","MouseoverRectRef","lineArray","el","label","t7","t8","d_3","coordinates","highlightAreaSettingsFormatted","t9","d_4","el_0","customHighlightAreaSettingsFormatted","graphWidth","graphHeight","minYear","maxYear","length","minParam","checkIfNullOrUndefined","Math","min","_temp3","_temp4","_temp5","_temp6","_temp7","_temp8","maxParam","max","_temp9","_temp0","_temp1","_temp10","scaleTime","domain","range","t10","y","scaleLinear","nice","voronoiDiagram","Delaunay","from","_temp11","d_16","voronoi","lineShape","line","d_18","yTicks","ticks","xTicks","mousemove","event","selectedData","bisectCenter","_temp12","invert","pointer","clientY","clientX","mouseout","select","current","on","t11","jsx","HighlightArea","t12","yAxis","gridLines","t13","t14","t15","t16","t17","t18","t19","t20","t21","t22","t23","numberFormattingFunction","t24","t25","t26","t27","dx","dy","t28","xAxis","axis","t29","t30","t31","t32","t33","t34","Axis","t35","t36","t37","title","t38","t39","AxisTitle","t40","d_24","format","t41","t42","d_25","t43","t44","t45","t46","t47","cn","t48","t49","t50","t51","_temp15","_temp16","t52","_temp27","d_30","renderCell","findIndex","el_12","event_0","event_1","t53","Fragment","el_13","i_0","RefLineY","text","color","value","t54","t55","d_31","i_1","endPoints","getLineEndPoint","xCoordinate","xOffset","yCoordinate","yOffset","connectorRadius","connectorSettings","showConnector","y1","x1","y2","x2","cy","cx","circleRadius","labelSettings","maxWidth","fontWeight","align","Annotation","t56","_temp28","_temp29","t57","Tooltip","jsxs","motion","CustomArea","YTicksAndGridLines","_temp13","_temp14","d_23","XTicksAndGridLines","d_28","opacity","transition","initial","indexOf","whileInView","_temp17","fill","pathLength","_temp18","stroke","_temp19","Colors","gray","_temp20","_temp21","el_6","j_0","_temp22","_temp23","delay","_temp24","_temp25","graphObjectValues","_temp26","textAnchor","d_33","layer","d_32","position","d_29","el_11","el_10","el_9","el_8","el_7","el_5","el_4","el_3","el_2","el_1","d_27","d_26","d_22","d_21","d_20","d_15","d_12","d_11","d_14","d_13","d_6","d_5","d_8","d_7","d_10","d_9","d_0","MultiLineAltChart","graphTitle","showNAColor","colors","sources","graphDescription","footNote","padding","backgroundColor","showColorScale","relativeHeight","graphID","graphDownload","dataDownload","language","colorLegendTitle","minHeight","theme","ariaLabel","svgWidth","setSvgWidth","svgHeight","setSvgHeight","setSelectedColor","graphDiv","graphParentDiv","Symbol","for","resizeObserver","ResizeObserver","entries","target","clientWidth","clientHeight","observe","disconnect","graphContainer","description","GraphHeader","EmptyState","ColorLegendWithMouseOver","categoricalColors","colorLegend","GraphArea","primaryColors","getNoOfTicks","footnote","GraphFooter","GraphContainer","d_2"],"mappings":"sxCAAe,SAASA,GAAQC,EAAQC,EAAM,CAC5C,OAAO,MAAM,KAAKA,EAAMC,GAAOF,EAAOE,CAA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CtV,IAAM8F,MAAS,CA5G5D,SAAAkC,GAAAhI,EAAA,CAAA,OA4GyBA,EAACe,IAAK,CA5G/B,SAAA4E,GAAAqB,EAAA,CAAA,OA2G2ChH,IAAM8F,MAAS,CA3G1D,SAAAT,GAAAmT,EAAA,CAAA,OA2GuBxY,EAACe,IAAK","x_google_ignoreList":[0,1]}
|
|
1
|
+
{"version":3,"file":"MultiLineAltChart.cjs","sources":["../node_modules/d3-array/src/permute.js","../node_modules/d3-array/src/sort.js","../src/Components/Graphs/LineCharts/MultiLineAltChart/Graph.tsx","../src/Components/Graphs/LineCharts/MultiLineAltChart/index.tsx"],"sourcesContent":["export default function permute(source, keys) {\n return Array.from(keys, key => source[key]);\n}\n","import ascending from \"./ascending.js\";\nimport permute from \"./permute.js\";\n\nexport default function sort(values, ...F) {\n if (typeof values[Symbol.iterator] !== \"function\") throw new TypeError(\"values is not iterable\");\n values = Array.from(values);\n let [f] = F;\n if ((f && f.length !== 2) || F.length > 1) {\n const index = Uint32Array.from(values, (d, i) => i);\n if (F.length > 1) {\n F = F.map(f => values.map(f));\n index.sort((i, j) => {\n for (const f of F) {\n const c = ascendingDefined(f[i], f[j]);\n if (c) return c;\n }\n });\n } else {\n f = values.map(f);\n index.sort((i, j) => ascendingDefined(f[i], f[j]));\n }\n return permute(values, index);\n }\n return values.sort(compareDefined(f));\n}\n\nexport function compareDefined(compare = ascending) {\n if (compare === ascending) return ascendingDefined;\n if (typeof compare !== \"function\") throw new TypeError(\"compare is not a function\");\n return (a, b) => {\n const x = compare(a, b);\n if (x || x === 0) return x;\n return (compare(b, b) === 0) - (compare(a, a) === 0);\n };\n}\n\nexport function ascendingDefined(a, b) {\n return (a == null || !(a >= a)) - (b == null || !(b >= b)) || (a < b ? -1 : a > b ? 1 : 0);\n}\n","import { useEffect, useRef, useState } from 'react';\r\nimport {\r\n line,\r\n curveLinear,\r\n curveMonotoneX,\r\n curveStep,\r\n curveStepAfter,\r\n curveStepBefore,\r\n} from 'd3-shape';\r\nimport { scaleLinear, scaleTime } from 'd3-scale';\r\nimport { format } from 'date-fns/format';\r\nimport { parse } from 'date-fns/parse';\r\nimport { bisectCenter } from 'd3-array';\r\nimport { pointer, select } from 'd3-selection';\r\nimport { ascending, sort } from 'd3-array';\r\nimport { cn } from '@undp/design-system-react/cn';\r\nimport { Delaunay } from 'd3-delaunay';\r\nimport { motion, useInView } from 'motion/react';\r\nimport orderBy from 'lodash.orderby';\r\n\r\nimport {\r\n AnimateDataType,\r\n AnnotationSettingsDataType,\r\n ClassNameObject,\r\n CurveTypes,\r\n CustomHighlightAreaSettingsDataType,\r\n CustomLayerDataType,\r\n HighlightAreaSettingsDataType,\r\n MultiLineAltChartDataType,\r\n ReferenceDataType,\r\n StyleObject,\r\n} from '@/Types';\r\nimport { numberFormattingFunction } from '@/Utils/numberFormattingFunction';\r\nimport { Tooltip } from '@/Components/Elements/Tooltip';\r\nimport { checkIfNullOrUndefined } from '@/Utils/checkIfNullOrUndefined';\r\nimport { getLineEndPoint } from '@/Utils/getLineEndPoint';\r\nimport { AxisTitle } from '@/Components/Elements/Axes/AxisTitle';\r\nimport { Axis } from '@/Components/Elements/Axes/Axis';\r\nimport { XTicksAndGridLines } from '@/Components/Elements/Axes/XTicksAndGridLines';\r\nimport { RefLineY } from '@/Components/Elements/ReferenceLine';\r\nimport { Annotation } from '@/Components/Elements/Annotations';\r\nimport { YTicksAndGridLines } from '@/Components/Elements/Axes/YTicksAndGridLines';\r\nimport { CustomArea } from '@/Components/Elements/HighlightArea/customArea';\r\nimport { HighlightArea } from '@/Components/Elements/HighlightArea';\r\nimport { Colors } from '@/Components/ColorPalette';\r\nimport { uniqBy } from '@/Utils/uniqBy';\r\n\r\ninterface Props {\r\n // Data\r\n /** Array of data objects */\r\n data: MultiLineAltChartDataType[];\r\n lineColors: string[];\r\n width: number;\r\n height: number;\r\n dateFormat: string;\r\n noOfXTicks: number;\r\n topMargin: number;\r\n bottomMargin: number;\r\n leftMargin: number;\r\n rightMargin: number;\r\n suffix: string;\r\n prefix: string;\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n tooltip?: string | ((_d: any) => React.ReactNode);\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n onSeriesMouseOver?: (_d: any) => void;\r\n highlightAreaSettings: HighlightAreaSettingsDataType[];\r\n refValues: ReferenceDataType[];\r\n maxValue?: number;\r\n minValue?: number;\r\n highlightedLines: (string | number)[];\r\n animate: AnimateDataType;\r\n rtl: boolean;\r\n strokeWidth: number;\r\n showLabels: boolean;\r\n showDots: boolean;\r\n annotations: AnnotationSettingsDataType[];\r\n customHighlightAreaSettings: CustomHighlightAreaSettingsDataType[];\r\n yAxisTitle?: string;\r\n noOfYTicks: number;\r\n minDate?: string | number;\r\n maxDate?: string | number;\r\n colorDomain: (string | number)[];\r\n curveType: CurveTypes;\r\n styles?: StyleObject;\r\n classNames?: ClassNameObject;\r\n selectedColor?: string;\r\n dimmedOpacity: number;\r\n precision: number;\r\n customLayers: CustomLayerDataType[];\r\n naLabel: string;\r\n}\r\n\r\ninterface FormattedDataType {\r\n y: number;\r\n date: Date;\r\n label: number | string;\r\n}\r\n\r\nexport function Graph(props: Props) {\r\n const {\r\n data,\r\n width,\r\n height,\r\n lineColors,\r\n dateFormat,\r\n noOfXTicks,\r\n rightMargin,\r\n topMargin,\r\n bottomMargin,\r\n suffix,\r\n prefix,\r\n leftMargin,\r\n tooltip,\r\n onSeriesMouseOver,\r\n refValues,\r\n highlightAreaSettings,\r\n minValue,\r\n maxValue,\r\n highlightedLines,\r\n animate,\r\n rtl,\r\n strokeWidth,\r\n showDots,\r\n annotations,\r\n customHighlightAreaSettings,\r\n yAxisTitle,\r\n noOfYTicks,\r\n minDate,\r\n maxDate,\r\n curveType,\r\n styles,\r\n colorDomain,\r\n selectedColor,\r\n classNames,\r\n showLabels,\r\n dimmedOpacity,\r\n precision,\r\n naLabel,\r\n customLayers,\r\n } = props;\r\n const svgRef = useRef(null);\r\n const isInView = useInView(svgRef, {\r\n once: animate.once,\r\n amount: animate.amount,\r\n });\r\n const [hasAnimatedOnce, setHasAnimatedOnce] = useState(false);\r\n\r\n useEffect(() => {\r\n if (isInView && !hasAnimatedOnce) {\r\n const timeout = setTimeout(\r\n () => {\r\n setHasAnimatedOnce(true);\r\n },\r\n (animate.duration + 0.5) * 1000,\r\n );\r\n return () => clearTimeout(timeout);\r\n }\r\n }, [isInView, hasAnimatedOnce, animate.duration]);\r\n const curve =\r\n curveType === 'linear'\r\n ? curveLinear\r\n : curveType === 'step'\r\n ? curveStep\r\n : curveType === 'stepAfter'\r\n ? curveStepAfter\r\n : curveType === 'stepBefore'\r\n ? curveStepBefore\r\n : curveMonotoneX;\r\n const dataFormatted = orderBy(\r\n data.map(d => ({\r\n ...d,\r\n date: parse(`${d.date}`, dateFormat, new Date()),\r\n })),\r\n ['date'],\r\n ['asc'],\r\n ).filter(d => !checkIfNullOrUndefined(d.y));\r\n const labels = uniqBy(dataFormatted, 'label', true) as (string | number)[];\r\n const dates = sort(\r\n uniqBy(data, 'date', true).map(d => parse(`${d}`, dateFormat, new Date())),\r\n (a, b) => ascending(a, b),\r\n );\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n const [mouseOverData, setMouseOverData] = useState<any>(undefined);\r\n const [eventX, setEventX] = useState<number | undefined>(undefined);\r\n const [eventY, setEventY] = useState<number | undefined>(undefined);\r\n const margin = {\r\n top: topMargin,\r\n bottom: bottomMargin,\r\n left: yAxisTitle ? leftMargin + 30 : leftMargin,\r\n right: rightMargin,\r\n };\r\n const MouseoverRectRef = useRef(null);\r\n const lineArray = labels.map(d =>\r\n orderBy(\r\n dataFormatted.filter(el => el.label == d),\r\n ['date'],\r\n ['asc'],\r\n ),\r\n );\r\n const highlightAreaSettingsFormatted = highlightAreaSettings.map(d => ({\r\n ...d,\r\n coordinates: [\r\n d.coordinates[0] === null ? null : parse(`${d.coordinates[0]}`, dateFormat, new Date()),\r\n d.coordinates[1] === null ? null : parse(`${d.coordinates[1]}`, dateFormat, new Date()),\r\n ],\r\n }));\r\n const customHighlightAreaSettingsFormatted = customHighlightAreaSettings.map(d => ({\r\n ...d,\r\n coordinates: d.coordinates.map((el, j) =>\r\n j % 2 === 0 ? parse(`${el}`, dateFormat, new Date()) : (el as number),\r\n ),\r\n }));\r\n const graphWidth = width - margin.left - margin.right;\r\n const graphHeight = height - margin.top - margin.bottom;\r\n const minYear = minDate ? parse(`${minDate}`, dateFormat, new Date()) : dates[0];\r\n const maxYear = maxDate ? parse(`${maxDate}`, dateFormat, new Date()) : dates[dates.length - 1];\r\n const minParam: number = checkIfNullOrUndefined(minValue)\r\n ? Math.min(...(dataFormatted.map(d => d.y).filter(d => !checkIfNullOrUndefined(d)) as number[]))\r\n ? (Math.min(\r\n ...(dataFormatted.map(d => d.y).filter(d => !checkIfNullOrUndefined(d)) as number[]),\r\n ) as number) > 0\r\n ? 0\r\n : (Math.min(\r\n ...(dataFormatted.map(d => d.y).filter(d => !checkIfNullOrUndefined(d)) as number[]),\r\n ) as number)\r\n : 0\r\n : (minValue as number);\r\n const maxParam: number = (Math.max(\r\n ...(dataFormatted.map(d => d.y).filter(d => !checkIfNullOrUndefined(d)) as number[]),\r\n ) as number)\r\n ? (Math.max(\r\n ...(dataFormatted.map(d => d.y).filter(d => !checkIfNullOrUndefined(d)) as number[]),\r\n ) as number)\r\n : 0;\r\n\r\n const x = scaleTime().domain([minYear, maxYear]).range([0, graphWidth]);\r\n const y = scaleLinear()\r\n .domain([\r\n checkIfNullOrUndefined(minValue) ? minParam : (minValue as number),\r\n checkIfNullOrUndefined(maxValue) ? (maxParam > 0 ? maxParam : 0) : (maxValue as number),\r\n ])\r\n .range([graphHeight, 0])\r\n .nice();\r\n\r\n const voronoiDiagram = Delaunay.from(\r\n dataFormatted.filter(d => !checkIfNullOrUndefined(d.date) && !checkIfNullOrUndefined(d.y)),\r\n d => x(d.date),\r\n d => y(d.y as number),\r\n ).voronoi([0, 0, graphWidth < 0 ? 0 : graphWidth, graphHeight < 0 ? 0 : graphHeight]);\r\n const lineShape = line<FormattedDataType>()\r\n .x(d => x(d.date))\r\n .y(d => y(d.y))\r\n .curve(curve);\r\n const yTicks = y.ticks(noOfYTicks);\r\n const xTicks = x.ticks(noOfXTicks);\r\n useEffect(() => {\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n const mousemove = (event: any) => {\r\n const selectedData =\r\n dataFormatted[\r\n bisectCenter(\r\n dataFormatted.map(d => d.date),\r\n x.invert(pointer(event)[0]),\r\n 0,\r\n )\r\n ];\r\n setMouseOverData(selectedData || dataFormatted[dataFormatted.length - 1]);\r\n setEventY(event.clientY);\r\n setEventX(event.clientX);\r\n onSeriesMouseOver?.(selectedData || dataFormatted[dataFormatted.length - 1]);\r\n };\r\n const mouseout = () => {\r\n setMouseOverData(undefined);\r\n setEventX(undefined);\r\n setEventY(undefined);\r\n };\r\n select(MouseoverRectRef.current).on('mousemove', mousemove).on('mouseout', mouseout);\r\n onSeriesMouseOver?.(undefined);\r\n }, [x, dataFormatted, onSeriesMouseOver]);\r\n\r\n return (\r\n <>\r\n <motion.svg\r\n width={`${width}px`}\r\n height={`${height}px`}\r\n viewBox={`0 0 ${width} ${height}`}\r\n direction='ltr'\r\n ref={svgRef}\r\n >\r\n <g transform={`translate(${margin.left},${margin.top})`}>\r\n <HighlightArea\r\n areaSettings={highlightAreaSettingsFormatted}\r\n width={graphWidth}\r\n height={graphHeight}\r\n scale={x}\r\n animate={animate}\r\n isInView={isInView}\r\n />\r\n <CustomArea\r\n areaSettings={customHighlightAreaSettingsFormatted}\r\n scaleX={x}\r\n scaleY={y}\r\n animate={animate}\r\n isInView={isInView}\r\n />\r\n <g>\r\n <YTicksAndGridLines\r\n values={yTicks.filter(d => d !== 0)}\r\n y={yTicks.filter(d => d !== 0).map(d => y(d))}\r\n x1={0 - leftMargin}\r\n x2={graphWidth + margin.right}\r\n styles={{\r\n gridLines: styles?.yAxis?.gridLines,\r\n labels: styles?.yAxis?.labels,\r\n }}\r\n classNames={{\r\n gridLines: classNames?.yAxis?.gridLines,\r\n labels: classNames?.yAxis?.labels,\r\n }}\r\n suffix={suffix}\r\n prefix={prefix}\r\n labelType='secondary'\r\n showGridLines\r\n labelPos='vertical'\r\n precision={precision}\r\n />\r\n <Axis\r\n y1={y(minParam < 0 ? 0 : minParam)}\r\n y2={y(minParam < 0 ? 0 : minParam)}\r\n x1={0 - leftMargin}\r\n x2={graphWidth + margin.right}\r\n label={numberFormattingFunction(\r\n minParam < 0 ? 0 : minParam,\r\n 'NA',\r\n precision,\r\n prefix,\r\n suffix,\r\n )}\r\n labelPos={{\r\n x: 0 - leftMargin,\r\n y: y(minParam < 0 ? 0 : minParam),\r\n dx: 0,\r\n dy: maxParam < 0 ? '1em' : -5,\r\n }}\r\n classNames={{\r\n axis: classNames?.xAxis?.axis,\r\n label: classNames?.yAxis?.labels,\r\n }}\r\n styles={{\r\n axis: styles?.xAxis?.axis,\r\n label: styles?.yAxis?.labels,\r\n }}\r\n />\r\n <AxisTitle\r\n x={0 - leftMargin - 15}\r\n y={graphHeight / 2}\r\n style={styles?.yAxis?.title}\r\n className={classNames?.yAxis?.title}\r\n text={yAxisTitle}\r\n rotate90\r\n />\r\n </g>\r\n <g>\r\n <XTicksAndGridLines\r\n values={xTicks.map(d => format(d, dateFormat))}\r\n x={xTicks.map(d => x(d))}\r\n y1={0}\r\n y2={graphHeight}\r\n styles={{\r\n gridLines: styles?.xAxis?.gridLines,\r\n labels: styles?.xAxis?.labels,\r\n }}\r\n classNames={{\r\n gridLines: cn('opacity-0', classNames?.xAxis?.gridLines),\r\n labels: cn(\r\n 'fill-primary-gray-700 dark:fill-primary-gray-300 xs:max-[360px]:hidden text-[9px] md:text-[10px] lg:text-xs',\r\n classNames?.xAxis?.labels,\r\n ),\r\n }}\r\n suffix={suffix}\r\n prefix={prefix}\r\n labelType='primary'\r\n showGridLines\r\n precision={precision}\r\n />\r\n </g>\r\n {customLayers.filter(d => d.position === 'before').map(d => d.layer)}\r\n <motion.g>\r\n {lineArray.map(d => (\r\n <motion.g\r\n key={d[0].label}\r\n exit={{ opacity: 0, transition: { duration: animate.duration } }}\r\n variants={{\r\n initial: {\r\n opacity: mouseOverData\r\n ? d[0].label === mouseOverData.label\r\n ? 1\r\n : dimmedOpacity\r\n : selectedColor\r\n ? d[0].color\r\n ? lineColors[colorDomain.indexOf(d[0].color)] === selectedColor\r\n ? 1\r\n : dimmedOpacity\r\n : dimmedOpacity\r\n : highlightedLines.length !== 0\r\n ? highlightedLines.indexOf(d[0].label) !== -1\r\n ? 1\r\n : dimmedOpacity\r\n : 1,\r\n },\r\n whileInView: {\r\n opacity: mouseOverData\r\n ? d[0].label === mouseOverData.label\r\n ? 1\r\n : dimmedOpacity\r\n : selectedColor\r\n ? d[0].color\r\n ? lineColors[colorDomain.indexOf(d[0].color)] === selectedColor\r\n ? 1\r\n : dimmedOpacity\r\n : dimmedOpacity\r\n : highlightedLines.length !== 0\r\n ? highlightedLines.indexOf(d[0].label) !== -1\r\n ? 1\r\n : dimmedOpacity\r\n : 1,\r\n transition: { duration: animate.duration },\r\n },\r\n }}\r\n initial='initial'\r\n animate={isInView ? 'whileInView' : 'initial'}\r\n >\r\n <motion.path\r\n d={\r\n lineShape(\r\n d.filter((el): el is FormattedDataType => !checkIfNullOrUndefined(el.y)),\r\n ) || ''\r\n }\r\n style={{\r\n fill: 'none',\r\n strokeWidth: mouseOverData\r\n ? d[0].label === mouseOverData.label\r\n ? strokeWidth + Math.max(2, 0.5 * strokeWidth)\r\n : strokeWidth\r\n : highlightedLines.length !== 0\r\n ? highlightedLines.indexOf(d[0].label) !== -1\r\n ? strokeWidth + Math.max(2, 0.5 * strokeWidth)\r\n : strokeWidth\r\n : strokeWidth,\r\n }}\r\n exit={{ opacity: 0, transition: { duration: animate.duration } }}\r\n variants={{\r\n initial: {\r\n pathLength: 0,\r\n d:\r\n lineShape(\r\n d.filter((el): el is FormattedDataType => !checkIfNullOrUndefined(el.y)),\r\n ) || '',\r\n opacity: 1,\r\n stroke:\r\n data.filter(el => el.color).length === 0\r\n ? lineColors[0]\r\n : !d[0].color\r\n ? Colors.gray\r\n : lineColors[colorDomain.indexOf(d[0].color)],\r\n },\r\n whileInView: {\r\n pathLength: 1,\r\n d:\r\n lineShape(\r\n d.filter((el): el is FormattedDataType => !checkIfNullOrUndefined(el.y)),\r\n ) || '',\r\n opacity: 1,\r\n stroke:\r\n data.filter(el => el.color).length === 0\r\n ? lineColors[0]\r\n : !d[0].color\r\n ? Colors.gray\r\n : lineColors[colorDomain.indexOf(d[0].color)],\r\n transition: { duration: animate.duration },\r\n },\r\n }}\r\n initial='initial'\r\n animate={isInView ? 'whileInView' : 'initial'}\r\n />\r\n {d.map((el, j) => (\r\n <motion.g key={j}>\r\n {!checkIfNullOrUndefined(el.y) ? (\r\n <>\r\n {showDots ? (\r\n <motion.circle\r\n r={graphWidth / d.length < 5 ? 0 : graphWidth / d.length < 20 ? 2 : 4}\r\n exit={{ opacity: 0, transition: { duration: animate.duration } }}\r\n variants={{\r\n initial: {\r\n opacity: 0,\r\n fill:\r\n data.filter(el => el.color).length === 0\r\n ? lineColors[0]\r\n : !d[0].color\r\n ? Colors.gray\r\n : lineColors[colorDomain.indexOf(d[0].color)],\r\n cx: x(el.date),\r\n cy: y(el.y as number),\r\n },\r\n whileInView: {\r\n opacity: 1,\r\n fill:\r\n data.filter(el => el.color).length === 0\r\n ? lineColors[0]\r\n : !d[0].color\r\n ? Colors.gray\r\n : lineColors[colorDomain.indexOf(d[0].color)],\r\n transition: {\r\n duration: hasAnimatedOnce ? animate.duration : 0.5,\r\n delay: hasAnimatedOnce ? 0 : animate.duration,\r\n },\r\n cx: x(el.date),\r\n cy: y(el.y as number),\r\n },\r\n }}\r\n initial='initial'\r\n animate={isInView ? 'whileInView' : 'initial'}\r\n />\r\n ) : null}\r\n </>\r\n ) : null}\r\n </motion.g>\r\n ))}\r\n {(highlightedLines.indexOf(d[0].label) !== -1 ||\r\n mouseOverData?.label === d[0].label) &&\r\n showLabels ? (\r\n <motion.text\r\n className='text-sm font-bold'\r\n dx={5}\r\n dy={4}\r\n exit={{ opacity: 0, transition: { duration: animate.duration } }}\r\n variants={{\r\n initial: {\r\n opacity: 0,\r\n fill:\r\n data.filter(el => el.color).length === 0\r\n ? lineColors[0]\r\n : !d[0].color\r\n ? Colors.gray\r\n : lineColors[colorDomain.indexOf(d[0].color)],\r\n x: x(d[d.length - 1].date),\r\n y: y(d[d.length - 1].y as number),\r\n },\r\n whileInView: {\r\n opacity: 1,\r\n fill:\r\n data.filter(el => el.color).length === 0\r\n ? lineColors[0]\r\n : !d[0].color\r\n ? Colors.gray\r\n : lineColors[colorDomain.indexOf(d[0].color)],\r\n x: x(d[d.length - 1].date),\r\n y: y(d[d.length - 1].y as number),\r\n transition: {\r\n duration: hasAnimatedOnce ? animate.duration : 0.5,\r\n delay: hasAnimatedOnce ? 0 : animate.duration,\r\n },\r\n },\r\n }}\r\n initial='initial'\r\n animate={isInView ? 'whileInView' : 'initial'}\r\n >\r\n {d[0].label}\r\n </motion.text>\r\n ) : null}\r\n </motion.g>\r\n ))}\r\n {mouseOverData ? (\r\n <text\r\n y={y(mouseOverData.y) - 8}\r\n x={x(mouseOverData.date)}\r\n className={cn('graph-value text-sm font-bold', classNames?.graphObjectValues)}\r\n style={{\r\n fill:\r\n data.filter(el => el.color).length === 0\r\n ? lineColors[0]\r\n : !mouseOverData.color\r\n ? Colors.gray\r\n : lineColors[colorDomain.indexOf(mouseOverData.color)],\r\n textAnchor: 'middle',\r\n ...(styles?.graphObjectValues || {}),\r\n }}\r\n >\r\n {numberFormattingFunction(mouseOverData.y, naLabel, precision, prefix, suffix)}\r\n </text>\r\n ) : null}\r\n </motion.g>\r\n {dataFormatted\r\n .filter(d => !checkIfNullOrUndefined(d.y))\r\n .map((d, i) => {\r\n return (\r\n <g key={i}>\r\n <path\r\n d={voronoiDiagram.renderCell(\r\n dataFormatted.findIndex(el => el.label === d.label && el.date === d.date),\r\n )}\r\n opacity={0}\r\n onMouseEnter={event => {\r\n setMouseOverData(d);\r\n setEventY(event.clientY);\r\n setEventX(event.clientX);\r\n onSeriesMouseOver?.(d);\r\n }}\r\n onMouseMove={event => {\r\n setMouseOverData(d);\r\n setEventY(event.clientY);\r\n setEventX(event.clientX);\r\n }}\r\n onMouseLeave={() => {\r\n setMouseOverData(undefined);\r\n setEventX(undefined);\r\n setEventY(undefined);\r\n onSeriesMouseOver?.(undefined);\r\n }}\r\n />\r\n </g>\r\n );\r\n })}\r\n {refValues ? (\r\n <>\r\n {refValues.map((el, i) => (\r\n <RefLineY\r\n key={i}\r\n text={el.text}\r\n color={el.color}\r\n y={y(el.value as number)}\r\n x1={0 - leftMargin}\r\n x2={graphWidth + margin.right}\r\n classNames={el.classNames}\r\n styles={el.styles}\r\n animate={animate}\r\n isInView={isInView}\r\n />\r\n ))}\r\n </>\r\n ) : null}\r\n <g>\r\n {annotations.map((d, i) => {\r\n const endPoints = getLineEndPoint(\r\n {\r\n x: d.xCoordinate\r\n ? x(parse(`${d.xCoordinate}`, dateFormat, new Date())) + (d.xOffset || 0)\r\n : 0 + (d.xOffset || 0),\r\n y: d.yCoordinate\r\n ? y(d.yCoordinate as number) + (d.yOffset || 0) - 8\r\n : 0 + (d.yOffset || 0) - 8,\r\n },\r\n {\r\n x: d.xCoordinate ? x(parse(`${d.xCoordinate}`, dateFormat, new Date())) : 0,\r\n y: d.yCoordinate ? y(d.yCoordinate as number) : 0,\r\n },\r\n checkIfNullOrUndefined(d.connectorRadius) ? 3.5 : (d.connectorRadius as number),\r\n );\r\n const connectorSettings = d.showConnector\r\n ? {\r\n y1: endPoints.y,\r\n x1: endPoints.x,\r\n y2: d.yCoordinate\r\n ? y(d.yCoordinate as number) + (d.yOffset || 0)\r\n : 0 + (d.yOffset || 0),\r\n x2: d.xCoordinate\r\n ? x(parse(`${d.xCoordinate}`, dateFormat, new Date())) + (d.xOffset || 0)\r\n : 0 + (d.xOffset || 0),\r\n cy: d.yCoordinate ? y(d.yCoordinate as number) : 0,\r\n cx: d.xCoordinate ? x(parse(`${d.xCoordinate}`, dateFormat, new Date())) : 0,\r\n circleRadius: checkIfNullOrUndefined(d.connectorRadius)\r\n ? 3.5\r\n : (d.connectorRadius as number),\r\n strokeWidth: d.showConnector === true ? 2 : Math.min(d.showConnector || 0, 1),\r\n }\r\n : undefined;\r\n const labelSettings = {\r\n y: d.yCoordinate\r\n ? y(d.yCoordinate as number) + (d.yOffset || 0) - 8\r\n : 0 + (d.yOffset || 0) - 8,\r\n x: rtl\r\n ? 0\r\n : d.xCoordinate\r\n ? x(parse(`${d.xCoordinate}`, dateFormat, new Date())) + (d.xOffset || 0)\r\n : 0 + (d.xOffset || 0),\r\n width: rtl\r\n ? d.xCoordinate\r\n ? x(parse(`${d.xCoordinate}`, dateFormat, new Date())) + (d.xOffset || 0)\r\n : 0 + (d.xOffset || 0)\r\n : graphWidth +\r\n margin.right -\r\n (d.xCoordinate\r\n ? x(parse(`${d.xCoordinate}`, dateFormat, new Date())) + (d.xOffset || 0)\r\n : 0 + (d.xOffset || 0)),\r\n maxWidth: d.maxWidth,\r\n fontWeight: d.fontWeight,\r\n align: d.align,\r\n };\r\n return (\r\n <Annotation\r\n key={i}\r\n color={d.color}\r\n connectorsSettings={connectorSettings}\r\n labelSettings={labelSettings}\r\n text={d.text}\r\n classNames={d.classNames}\r\n styles={d.styles}\r\n animate={animate}\r\n isInView={isInView}\r\n />\r\n );\r\n })}\r\n </g>\r\n {customLayers.filter(d => d.position === 'after').map(d => d.layer)}\r\n </g>\r\n </motion.svg>\r\n {mouseOverData && tooltip && eventX && eventY ? (\r\n <Tooltip\r\n data={mouseOverData}\r\n body={tooltip}\r\n xPos={eventX}\r\n yPos={eventY}\r\n backgroundStyle={styles?.tooltip}\r\n className={classNames?.tooltip}\r\n />\r\n ) : null}\r\n </>\r\n );\r\n}\r\n","import { useState, useRef, useEffect } from 'react';\r\n\r\nimport { Graph } from './Graph';\r\n\r\nimport {\r\n AnnotationSettingsDataType,\r\n CustomHighlightAreaSettingsDataType,\r\n Languages,\r\n MultiLineAltChartDataType,\r\n ReferenceDataType,\r\n SourcesDataType,\r\n StyleObject,\r\n ClassNameObject,\r\n HighlightAreaSettingsDataType,\r\n CurveTypes,\r\n CustomLayerDataType,\r\n AnimateDataType,\r\n} from '@/Types';\r\nimport { GraphFooter } from '@/Components/Elements/GraphFooter';\r\nimport { GraphHeader } from '@/Components/Elements/GraphHeader';\r\nimport { Colors } from '@/Components/ColorPalette';\r\nimport { EmptyState } from '@/Components/Elements/EmptyState';\r\nimport { ColorLegendWithMouseOver } from '@/Components/Elements/ColorLegendWithMouseOver';\r\nimport { uniqBy } from '@/Utils/uniqBy';\r\nimport { GraphArea, GraphContainer } from '@/Components/Elements/GraphContainer';\r\nimport { getNoOfTicks } from '@/Utils/getNoOfTicks';\r\n\r\ninterface Props {\r\n // Data\r\n /** Array of data objects */\r\n data: MultiLineAltChartDataType[];\r\n\r\n // Titles, Labels, and Sources\r\n /** Title of the graph */\r\n graphTitle?: string | React.ReactNode;\r\n /** Description of the graph */\r\n graphDescription?: string | React.ReactNode;\r\n /** Footnote for the graph */\r\n footNote?: string | React.ReactNode;\r\n /** Source data for the graph */\r\n sources?: SourcesDataType[];\r\n /** Accessibility label */\r\n ariaLabel?: string;\r\n\r\n // Colors and Styling\r\n /** Color or array of colors for lines */\r\n colors?: string | string[];\r\n /** Domain of colors for the graph */\r\n colorDomain?: (string | number)[];\r\n /** Toggle the visibility of labels of the lines when highlighted or mouse hovered */\r\n showLabels?: boolean;\r\n /** Title for the color legend */\r\n colorLegendTitle?: string;\r\n /** Background color of the graph */\r\n backgroundColor?: string | boolean;\r\n /** Custom styles for the graph. Each object should be a valid React CSS style object. */\r\n styles?: StyleObject;\r\n /** Custom class names */\r\n classNames?: ClassNameObject;\r\n\r\n // Size and Spacing\r\n /** Width of the graph */\r\n width?: number;\r\n /** Height of the graph */\r\n height?: number;\r\n /** Minimum height of the graph */\r\n minHeight?: number;\r\n /** Relative height scaling factor. This overwrites the height props */\r\n relativeHeight?: number;\r\n /** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */\r\n padding?: string;\r\n /** Left margin of the graph */\r\n leftMargin?: number;\r\n /** Right margin of the graph */\r\n rightMargin?: number;\r\n /** Top margin of the graph */\r\n topMargin?: number;\r\n /** Bottom margin of the graph */\r\n bottomMargin?: number;\r\n\r\n // Values and Ticks\r\n /** Prefix for values */\r\n prefix?: string;\r\n /** Suffix for values */\r\n suffix?: string;\r\n /** Maximum value for the chart */\r\n maxValue?: number;\r\n /** Minimum value for the chart */\r\n minValue?: number;\r\n /** Reference values for comparison */\r\n refValues?: ReferenceDataType[];\r\n /** Maximum value of the date for the chart */\r\n maxDate?: string | number;\r\n /** Minimum value of the date for the chart */\r\n minDate?: string | number;\r\n /** No. of ticks on the x-axis */\r\n noOfXTicks?: number;\r\n /** No. of ticks on the y-axis */\r\n noOfYTicks?: number;\r\n\r\n // Graph Parameters\r\n /** Toggle visibility of dots on the line */\r\n showDots?: boolean;\r\n /** Stroke width of the line */\r\n strokeWidth?: number;\r\n /** Toggle the initial animation of the line. If the type is number then it uses the number as the time in seconds for animation. */\r\n animate?: boolean | AnimateDataType;\r\n /** Format of the date in the data object. Available formats can be found [here](https://date-fns.org/docs/format) */\r\n dateFormat?: string;\r\n /** Title for the Y-axis */\r\n yAxisTitle?: string;\r\n /** Toggle visibility of color scale. This is only applicable if the data props hae color parameter */\r\n showColorScale?: boolean;\r\n /** Toggle visibility of NA color in the color scale. This is only applicable if the data props hae color parameter and showColorScale prop is true */\r\n showNAColor?: boolean;\r\n /** Defines how “NA” values should be displayed/labelled in the graph */\r\n naLabel?: string;\r\n /** Data points to highlight. Use the label value from data to highlight the data point */\r\n highlightedLines?: (string | number)[];\r\n /** Defines the opacity of the non-highlighted data */\r\n dimmedOpacity?: number;\r\n /** Annotations on the chart */\r\n annotations?: AnnotationSettingsDataType[];\r\n /** Highlighted area(square) on the chart */\r\n highlightAreaSettings?: HighlightAreaSettingsDataType[];\r\n /** Highlighted area(custom shape) on the chart */\r\n customHighlightAreaSettings?: CustomHighlightAreaSettingsDataType[];\r\n /** Curve type for the line */\r\n curveType?: CurveTypes;\r\n /** Specifies the number of decimal places to display in the value. */\r\n precision?: number;\r\n /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */\r\n customLayers?: CustomLayerDataType[];\r\n /** Enable graph download option as png */\r\n graphDownload?: boolean;\r\n /** Enable data download option as a csv */\r\n dataDownload?: boolean;\r\n\r\n // Interactions and Callbacks\r\n /** Tooltip content. If the type is string then this uses the [handlebar](../?path=/docs/misc-handlebars-templates-and-custom-helpers--docs) template to display the data */\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n tooltip?: string | ((_d: any) => React.ReactNode);\r\n /** Callback for mouse over event */\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n onSeriesMouseOver?: (_d: any) => void;\r\n\r\n // Configuration and Options\r\n /** Language setting */\r\n language?: Languages;\r\n /** Color theme */\r\n theme?: 'light' | 'dark';\r\n /** Unique ID for the graph */\r\n graphID?: string;\r\n}\r\n\r\nexport function MultiLineAltChart(props: Props) {\r\n const {\r\n data,\r\n graphTitle,\r\n showNAColor = true,\r\n colors,\r\n colorDomain,\r\n suffix = '',\r\n sources,\r\n prefix = '',\r\n graphDescription,\r\n height,\r\n width,\r\n footNote,\r\n noOfXTicks = 10,\r\n dateFormat = 'yyyy',\r\n padding,\r\n backgroundColor = false,\r\n leftMargin = 30,\r\n rightMargin = 50,\r\n topMargin = 20,\r\n bottomMargin = 25,\r\n showColorScale = true,\r\n tooltip,\r\n relativeHeight,\r\n onSeriesMouseOver,\r\n showLabels = true,\r\n refValues = [],\r\n highlightAreaSettings = [],\r\n graphID,\r\n minValue,\r\n maxValue,\r\n highlightedLines = [],\r\n graphDownload = false,\r\n dataDownload = false,\r\n animate = false,\r\n language = 'en',\r\n colorLegendTitle,\r\n minHeight = 0,\r\n strokeWidth = 2,\r\n showDots = true,\r\n annotations = [],\r\n customHighlightAreaSettings = [],\r\n theme = 'light',\r\n ariaLabel,\r\n yAxisTitle,\r\n noOfYTicks = 5,\r\n minDate,\r\n maxDate,\r\n curveType = 'curve',\r\n styles,\r\n classNames,\r\n dimmedOpacity = 0.3,\r\n precision = 2,\r\n customLayers = [],\r\n naLabel = 'NA',\r\n } = props;\r\n\r\n const [svgWidth, setSvgWidth] = useState(0);\r\n const [svgHeight, setSvgHeight] = useState(0);\r\n const [selectedColor, setSelectedColor] = useState<string | undefined>(undefined);\r\n\r\n const graphDiv = useRef<HTMLDivElement>(null);\r\n const graphParentDiv = useRef<HTMLDivElement>(null);\r\n useEffect(() => {\r\n const resizeObserver = new ResizeObserver(entries => {\r\n setSvgWidth(entries[0].target.clientWidth || 620);\r\n setSvgHeight(entries[0].target.clientHeight || 480);\r\n });\r\n if (graphDiv.current) {\r\n resizeObserver.observe(graphDiv.current);\r\n }\r\n return () => resizeObserver.disconnect();\r\n }, []);\r\n\r\n return (\r\n <GraphContainer\r\n className={classNames?.graphContainer}\r\n style={styles?.graphContainer}\r\n id={graphID}\r\n ref={graphParentDiv}\r\n aria-label={ariaLabel}\r\n backgroundColor={backgroundColor}\r\n theme={theme}\r\n language={language}\r\n minHeight={minHeight}\r\n width={width}\r\n height={height}\r\n relativeHeight={relativeHeight}\r\n padding={padding}\r\n >\r\n {graphTitle || graphDescription || graphDownload || dataDownload ? (\r\n <GraphHeader\r\n styles={{\r\n title: styles?.title,\r\n description: styles?.description,\r\n }}\r\n classNames={{\r\n title: classNames?.title,\r\n description: classNames?.description,\r\n }}\r\n graphTitle={graphTitle}\r\n graphDescription={graphDescription}\r\n width={width}\r\n graphDownload={graphDownload ? graphParentDiv : undefined}\r\n dataDownload={\r\n dataDownload\r\n ? data.map(d => d.data).filter(d => d !== undefined).length > 0\r\n ? data.map(d => d.data).filter(d => d !== undefined)\r\n : data.filter(d => d !== undefined)\r\n : null\r\n }\r\n />\r\n ) : null}\r\n {showColorScale && data.filter(el => el.color).length !== 0 && data.length > 0 ? (\r\n <ColorLegendWithMouseOver\r\n width={width}\r\n colorLegendTitle={colorLegendTitle}\r\n colors={(colors as string[] | undefined) || Colors[theme].categoricalColors.colors}\r\n colorDomain={colorDomain || (uniqBy(data, 'color', true) as string[])}\r\n setSelectedColor={setSelectedColor}\r\n showNAColor={showNAColor}\r\n className={classNames?.colorLegend}\r\n />\r\n ) : null}\r\n <GraphArea ref={graphDiv}>\r\n {data.length === 0 && <EmptyState />}\r\n {svgWidth && svgHeight && data.length > 0 ? (\r\n <Graph\r\n data={data}\r\n lineColors={\r\n data.filter(el => el.color).length === 0\r\n ? colors\r\n ? [colors as string]\r\n : [Colors.primaryColors['blue-600']]\r\n : (colors as string[] | undefined) || Colors[theme].categoricalColors.colors\r\n }\r\n width={svgWidth}\r\n height={svgHeight}\r\n dateFormat={dateFormat}\r\n noOfXTicks={noOfXTicks ?? getNoOfTicks(svgWidth)}\r\n leftMargin={leftMargin}\r\n rightMargin={rightMargin}\r\n topMargin={topMargin}\r\n bottomMargin={bottomMargin}\r\n tooltip={tooltip}\r\n onSeriesMouseOver={onSeriesMouseOver}\r\n suffix={suffix}\r\n prefix={prefix}\r\n highlightAreaSettings={highlightAreaSettings}\r\n refValues={refValues}\r\n minValue={minValue}\r\n maxValue={maxValue}\r\n highlightedLines={highlightedLines}\r\n animate={\r\n animate === true\r\n ? { duration: 0.5, once: true, amount: 0.5 }\r\n : animate || { duration: 0, once: true, amount: 0 }\r\n }\r\n rtl={language === 'he' || language === 'ar'}\r\n strokeWidth={strokeWidth}\r\n showDots={showDots}\r\n annotations={annotations}\r\n customHighlightAreaSettings={customHighlightAreaSettings}\r\n yAxisTitle={yAxisTitle}\r\n noOfYTicks={noOfYTicks}\r\n minDate={minDate}\r\n maxDate={maxDate}\r\n curveType={curveType}\r\n styles={styles}\r\n classNames={classNames}\r\n selectedColor={selectedColor}\r\n showLabels={showLabels}\r\n colorDomain={\r\n data.filter(el => el.color).length === 0\r\n ? []\r\n : colorDomain || (uniqBy(data, 'color', true) as string[])\r\n }\r\n dimmedOpacity={dimmedOpacity}\r\n precision={precision}\r\n customLayers={customLayers}\r\n naLabel={naLabel}\r\n />\r\n ) : null}\r\n </GraphArea>\r\n {sources || footNote ? (\r\n <GraphFooter\r\n styles={{ footnote: styles?.footnote, source: styles?.source }}\r\n classNames={{\r\n footnote: classNames?.footnote,\r\n source: classNames?.source,\r\n }}\r\n sources={sources}\r\n footNote={footNote}\r\n width={width}\r\n />\r\n ) : null}\r\n </GraphContainer>\r\n );\r\n}\r\n"],"names":["permute","source","keys","key","sort","values","F","f","index","d","i","j","c","ascendingDefined","compareDefined","compare","ascending","a","b","x","Graph","props","$","_c","data","width","height","lineColors","dateFormat","noOfXTicks","rightMargin","topMargin","bottomMargin","suffix","prefix","leftMargin","tooltip","onSeriesMouseOver","refValues","highlightAreaSettings","minValue","maxValue","highlightedLines","animate","rtl","strokeWidth","showDots","annotations","customHighlightAreaSettings","yAxisTitle","noOfYTicks","minDate","maxDate","curveType","styles","colorDomain","selectedColor","classNames","showLabels","dimmedOpacity","precision","naLabel","customLayers","svgRef","useRef","t0","amount","once","isInView","useInView","hasAnimatedOnce","setHasAnimatedOnce","useState","t1","t2","duration","timeout","setTimeout","clearTimeout","useEffect","curve","curveLinear","curveStep","curveStepAfter","curveStepBefore","curveMonotoneX","t3","date","parse","Date","dataFormatted","orderBy","map","filter","_temp","labels","uniqBy","t4","d_1","dates","_temp2","mouseOverData","setMouseOverData","undefined","eventX","setEventX","eventY","setEventY","t5","t6","top","bottom","left","right","margin","MouseoverRectRef","lineArray","el","label","t7","t8","d_3","coordinates","highlightAreaSettingsFormatted","t9","d_4","el_0","customHighlightAreaSettingsFormatted","graphWidth","graphHeight","minYear","maxYear","length","minParam","checkIfNullOrUndefined","Math","min","_temp3","_temp4","_temp5","_temp6","_temp7","_temp8","maxParam","max","_temp9","_temp0","_temp1","_temp10","scaleTime","domain","range","t10","y","scaleLinear","nice","voronoiDiagram","Delaunay","from","_temp11","d_16","voronoi","lineShape","line","d_18","yTicks","ticks","xTicks","mousemove","event","selectedData","bisectCenter","_temp12","invert","pointer","clientY","clientX","mouseout","select","current","on","t11","jsx","HighlightArea","t12","yAxis","gridLines","t13","t14","t15","t16","t17","t18","t19","t20","t21","t22","t23","numberFormattingFunction","t24","t25","t26","t27","dx","dy","t28","xAxis","axis","t29","t30","t31","t32","t33","t34","Axis","t35","t36","t37","title","t38","t39","AxisTitle","t40","d_24","format","t41","t42","d_25","t43","t44","t45","t46","t47","cn","t48","t49","t50","t51","_temp15","_temp16","t52","_temp27","d_30","renderCell","findIndex","el_12","event_0","event_1","t53","Fragment","el_13","i_0","RefLineY","text","color","value","t54","t55","d_31","i_1","endPoints","getLineEndPoint","xCoordinate","xOffset","yCoordinate","yOffset","connectorRadius","connectorSettings","showConnector","y1","x1","y2","x2","cy","cx","circleRadius","labelSettings","maxWidth","fontWeight","align","Annotation","t56","_temp28","_temp29","t57","Tooltip","jsxs","motion","CustomArea","YTicksAndGridLines","_temp13","_temp14","d_23","XTicksAndGridLines","d_28","opacity","transition","initial","indexOf","whileInView","_temp17","fill","pathLength","_temp18","stroke","_temp19","Colors","gray","_temp20","_temp21","el_6","j_0","_temp22","_temp23","delay","_temp24","_temp25","graphObjectValues","_temp26","textAnchor","d_33","layer","d_32","position","d_29","el_11","el_10","el_9","el_8","el_7","el_5","el_4","el_3","el_2","el_1","d_27","d_26","d_22","d_21","d_20","d_15","d_12","d_11","d_14","d_13","d_6","d_5","d_8","d_7","d_10","d_9","d_0","MultiLineAltChart","graphTitle","showNAColor","colors","sources","graphDescription","footNote","padding","backgroundColor","showColorScale","relativeHeight","graphID","graphDownload","dataDownload","language","colorLegendTitle","minHeight","theme","ariaLabel","svgWidth","setSvgWidth","svgHeight","setSvgHeight","setSelectedColor","graphDiv","graphParentDiv","Symbol","for","resizeObserver","ResizeObserver","entries","target","clientWidth","clientHeight","observe","disconnect","graphContainer","description","GraphHeader","colorLegend","ColorLegendWithMouseOver","categoricalColors","EmptyState","primaryColors","getNoOfTicks","GraphArea","footnote","GraphFooter","GraphContainer","d_2"],"mappings":"sxCAAe,SAASA,GAAQC,EAAQC,EAAM,CAC5C,OAAO,MAAM,KAAKA,EAAMC,GAAOF,EAAOE,CAAG,CAAC,CAC5C,CCCe,SAASC,GAAKC,KAAWC,EAAG,CACzC,GAAI,OAAOD,EAAO,OAAO,QAAQ,GAAM,WAAY,MAAM,IAAI,UAAU,wBAAwB,EAC/FA,EAAS,MAAM,KAAKA,CAAM,EAC1B,GAAI,CAACE,CAAC,EAAID,EACV,GAAKC,GAAKA,EAAE,SAAW,GAAMD,EAAE,OAAS,EAAG,CACzC,MAAME,EAAQ,YAAY,KAAKH,EAAQ,CAACI,EAAGC,IAAMA,CAAC,EAClD,OAAIJ,EAAE,OAAS,GACbA,EAAIA,EAAE,IAAIC,GAAKF,EAAO,IAAIE,CAAC,CAAC,EAC5BC,EAAM,KAAK,CAACE,EAAGC,IAAM,CACnB,UAAWJ,KAAKD,EAAG,CACjB,MAAMM,GAAIC,GAAiBN,EAAEG,CAAC,EAAGH,EAAEI,CAAC,CAAC,EACrC,GAAIC,GAAG,OAAOA,EAChB,CACF,CAAC,IAEDL,EAAIF,EAAO,IAAIE,CAAC,EAChBC,EAAM,KAAK,CAACE,EAAGC,IAAME,GAAiBN,EAAEG,CAAC,EAAGH,EAAEI,CAAC,CAAC,CAAC,GAE5CX,GAAQK,EAAQG,CAAK,CAC9B,CACA,OAAOH,EAAO,KAAKS,GAAeP,CAAC,CAAC,CACtC,CAEO,SAASO,GAAeC,EAAUC,aAAW,CAClD,GAAID,IAAYC,GAAAA,UAAW,OAAOH,GAClC,GAAI,OAAOE,GAAY,WAAY,MAAM,IAAI,UAAU,2BAA2B,EAClF,MAAO,CAACE,EAAGC,IAAM,CACf,MAAMC,EAAIJ,EAAQE,EAAGC,CAAC,EACtB,OAAIC,GAAKA,IAAM,EAAUA,GACjBJ,EAAQG,EAAG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