@undp/data-viz 2.2.2 → 2.2.3
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.js +1 -1
- package/dist/Axis-D56Gy0se.js +31 -0
- package/dist/Axis-D56Gy0se.js.map +1 -0
- package/dist/Axis-Jt_tmhxS.cjs +2 -0
- package/dist/Axis-Jt_tmhxS.cjs.map +1 -0
- package/dist/BarGraph.cjs +1 -1
- package/dist/BarGraph.cjs.map +1 -1
- package/dist/BarGraph.d.ts +6 -0
- package/dist/BarGraph.js +1759 -1750
- package/dist/BarGraph.js.map +1 -1
- package/dist/BeeSwarmChart.cjs +1 -1
- package/dist/BeeSwarmChart.cjs.map +1 -1
- package/dist/BeeSwarmChart.d.ts +2 -0
- package/dist/BeeSwarmChart.js +270 -267
- package/dist/BeeSwarmChart.js.map +1 -1
- package/dist/BulletChart.cjs +1 -1
- package/dist/BulletChart.cjs.map +1 -1
- package/dist/BulletChart.d.ts +2 -0
- package/dist/BulletChart.js +544 -542
- package/dist/BulletChart.js.map +1 -1
- package/dist/ButterflyChart.cjs +1 -1
- package/dist/ButterflyChart.cjs.map +1 -1
- package/dist/ButterflyChart.d.ts +2 -0
- package/dist/ButterflyChart.js +332 -330
- package/dist/ButterflyChart.js.map +1 -1
- package/dist/DifferenceLineChart.cjs +1 -1
- package/dist/DifferenceLineChart.js +1 -1
- package/dist/DualAxisLineChart.cjs +1 -1
- package/dist/DualAxisLineChart.js +1 -1
- package/dist/DumbbellChart.cjs +1 -1
- package/dist/DumbbellChart.cjs.map +1 -1
- package/dist/DumbbellChart.d.ts +2 -0
- package/dist/DumbbellChart.js +537 -536
- package/dist/DumbbellChart.js.map +1 -1
- package/dist/GraphEl-BZbunD1_.cjs +2 -0
- package/dist/GraphEl-BZbunD1_.cjs.map +1 -0
- package/dist/{GraphEl-DcNr5JzH.js → GraphEl-C1Rz1V__.js} +60 -51
- package/dist/GraphEl-C1Rz1V__.js.map +1 -0
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.d.ts +1 -0
- package/dist/GriddedGraphs.js +1 -1
- package/dist/GriddedGraphsFromConfig.d.ts +1 -0
- package/dist/Histogram.cjs +1 -1
- package/dist/Histogram.cjs.map +1 -1
- package/dist/Histogram.d.ts +2 -0
- package/dist/Histogram.js +50 -49
- package/dist/Histogram.js.map +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs +1 -1
- package/dist/LineChartWithConfidenceInterval.js +1 -1
- package/dist/MultiGraphDashboard.d.ts +1 -0
- package/dist/MultiGraphDashboardFromConfig.d.ts +1 -0
- package/dist/MultiLineAltChart.cjs +1 -1
- package/dist/MultiLineAltChart.js +1 -1
- package/dist/MultiLineChart.cjs +1 -1
- package/dist/MultiLineChart.js +1 -1
- package/dist/ParetoChart.cjs +1 -1
- package/dist/ParetoChart.js +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +1 -0
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +1 -0
- package/dist/PerformanceIntensiveScrollStory.d.ts +1 -0
- package/dist/ScatterPlot.cjs +1 -1
- package/dist/ScatterPlot.js +1 -1
- package/dist/ScrollStory.d.ts +1 -0
- package/dist/SimpleLineChart.cjs +1 -1
- package/dist/SimpleLineChart.js +1 -1
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.d.ts +1 -0
- package/dist/SingleGraphDashboard.js +1 -1
- package/dist/SingleGraphDashboardFromConfig.d.ts +1 -0
- package/dist/SingleGraphDashboardGeoHubMaps.d.ts +1 -0
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +1 -0
- package/dist/SingleGraphDashboardThreeDGraphs.d.ts +1 -0
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +1 -0
- package/dist/SlopeChart.cjs +1 -1
- package/dist/SlopeChart.js +1 -1
- package/dist/Types.d.ts +1 -0
- package/dist/WaterfallChart.cjs +1 -1
- package/dist/WaterfallChart.cjs.map +1 -1
- package/dist/WaterfallChart.d.ts +2 -0
- package/dist/WaterfallChart.js +263 -261
- package/dist/WaterfallChart.js.map +1 -1
- package/dist/index.d.ts +19 -0
- package/package.json +1 -1
- package/dist/Axis-DoOqnt6g.js +0 -32
- package/dist/Axis-DoOqnt6g.js.map +0 -1
- package/dist/Axis-Dtjn-EgM.cjs +0 -2
- package/dist/Axis-Dtjn-EgM.cjs.map +0 -1
- package/dist/GraphEl-CAjJLOGk.cjs +0 -2
- package/dist/GraphEl-CAjJLOGk.cjs.map +0 -1
- package/dist/GraphEl-DcNr5JzH.js.map +0 -1
package/dist/AreaChart.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-CHPV5EwG-6v2a2njQ.cjs"),S=require("react"),A=require("./parse-xYI9yrvL.cjs"),je=require("./index-CSNtgibC.cjs"),Ae=require("./index-Cno4Q0YE.cjs"),we=require("./numberFormattingFunction-02t-wJta.cjs"),be=require("./Tooltip-BLa2EfMs.cjs"),ue=require("./checkIfNullOrUndefined-BCW3Y1ML.cjs"),ve=require("./customArea-B1LWQBmM.cjs"),Ee=require("./AxisTitle-DV4n0RxE.cjs"),Oe=require("./Axis-Dtjn-EgM.cjs"),Le=require("./XTicksAndGridLines-CekrPykD.cjs"),Se=require("./ReferenceLine-M9aP3dj-.cjs"),qe=require("./YTicksAndGridLines-UzVC5eBM.cjs"),ke=require("./index-D69M6klB.cjs"),$e=require("./time-CkcKbhwe.cjs"),Te=require("./linear-CgUCbw9F.cjs"),De=require("./area-C1gxfNGD.cjs"),Ne=require("./line-DaEMhXmx.cjs"),xe=require("./step-BZ3C8QFW.cjs"),Me=require("./select-Bnfk0lJx.cjs"),me=require("./proxy-C4-uo6nS.cjs"),Ge=require("./init-DU0ybBc_.cjs"),He=require("./pointer-Dkq5NV1q.cjs"),Fe=require("./use-in-view-C3o_ntMv.cjs"),Ve=require("./index-CoobIWNj.cjs"),Pe=require("./GraphFooter.cjs"),Ye=require("./GraphHeader.cjs"),Ie=require("./ColorLegend.cjs"),Xe=require("./Colors.cjs"),We=require("./EmptyState-CGeBqbmR.cjs"),Ce=require("./GraphContainer-B1EDxJ0S.cjs");function Ue(r){const t=i.compilerRuntimeExports.c(133),{data:m,width:W,height:Et,colors:Ot,dateFormat:n,noOfXTicks:Pt,rightMargin:v,leftMargin:y,topMargin:Lt,bottomMargin:St,yAxisTitle:U,tooltip:B,onSeriesMouseOver:at,highlightAreaSettings:lt,refValues:ct,minValue:Yt,maxValue:ut,rtl:G,annotations:z,customHighlightAreaSettings:xt,noOfYTicks:It,prefix:H,suffix:q,curveType:J,styles:p,classNames:d,precision:K,customLayers:F,animate:c}=r,Xt=S.useRef(null);let mt;t[0]!==c.amount||t[1]!==c.once?(mt={once:c.once,amount:c.amount},t[0]=c.amount,t[1]=c.once,t[2]=mt):mt=t[2];const f=Fe.useInView(Xt,mt),qt=J==="linear"?Ne.curveLinear:J==="step"?xe.curveStep:J==="stepAfter"?xe.stepAfter:J==="stepBefore"?xe.stepBefore:xe.monotoneX,[C,kt]=S.useState(void 0),[Q,Wt]=S.useState(void 0),[ft,Ut]=S.useState(void 0),$t=U?y+30:y;let u;t[3]!==St||t[4]!==v||t[5]!==$t||t[6]!==Lt?(u={top:Lt,bottom:St,left:$t,right:v},t[3]=St,t[4]=v,t[5]=$t,t[6]=Lt,t[7]=u):u=t[7];const o=u,pt=S.useRef(null);let V;t[8]!==n?(V=s=>({...s,date:A.parse(`${s.date}`,n,new Date)}),t[8]=n,t[9]=V):V=t[9];const h=Ae.orderBy(m.map(V),["date"],["asc"]);let w;if(t[10]!==n||t[11]!==lt){let s;t[13]!==n?(s=e=>({...e,coordinates:[e.coordinates[0]===null?null:A.parse(`${e.coordinates[0]}`,n,new Date),e.coordinates[1]===null?null:A.parse(`${e.coordinates[1]}`,n,new Date)]}),t[13]=n,t[14]=s):s=t[14],w=lt.map(s),t[10]=n,t[11]=lt,t[12]=w}else w=t[12];const dt=w;let Z;if(t[15]!==xt||t[16]!==n){let s;t[18]!==n?(s=e=>({...e,coordinates:e.coordinates.map((R,X)=>X%2===0?A.parse(`${R}`,n,new Date):R)}),t[18]=n,t[19]=s):s=t[19],Z=xt.map(s),t[15]=xt,t[16]=n,t[17]=Z}else Z=t[17];const Bt=Z,zt=h[0].y.map((s,e)=>h.map(R=>({date:R.date,y0:e===0?0:je.sum(R.y.filter((X,Qt)=>Qt<e)),y1:je.sum(R.y.filter((X,Qt)=>Qt<=e))}))),x=W-o.left-o.right,g=Et-o.top-o.bottom,Jt=h[0].date,Tt=h[h.length-1].date,j=ue.checkIfNullOrUndefined(Yt)?0:Yt;let P;t[20]!==m||t[21]!==ut?(P=ue.checkIfNullOrUndefined(ut)?Math.max(...m.map(es)):ut,t[20]=m,t[21]=ut,t[22]=P):P=t[22];const Dt=P,a=$e.time().domain([Jt,Tt]).range([0,x]),l=Te.linear().domain([j,Dt]).range([g,0]).nice(),gt=De.area().x(s=>a(s.date)).y0(s=>l(s.y0)).y1(s=>l(s.y1)).curve(qt),k=l.ticks(It),Nt=a.ticks(Pt);S.useEffect(()=>{const s=R=>{const X=h[Ge.bisectCenter(h.map(ts),a.invert(He.pointer(R)[0]),0)];kt(X||h[h.length-1]),at?.(X||h[h.length-1]),Ut(R.clientY),Wt(R.clientX)},e=()=>{kt(void 0),Wt(void 0),Ut(void 0),at?.(void 0)};Me.select(pt.current).on("mousemove",s).on("mouseout",e),at?.(void 0)},[a,h,at]);let Y;t[23]!==c||t[24]!==g||t[25]!==x||t[26]!==dt||t[27]!==f||t[28]!==a?(Y=i.jsxRuntimeExports.jsx(ke.HighlightArea,{areaSettings:dt,width:x,height:g,scale:a,animate:c,isInView:f}),t[23]=c,t[24]=g,t[25]=x,t[26]=dt,t[27]=f,t[28]=a,t[29]=Y):Y=t[29];const ht=p?.yAxis?.gridLines,_=p?.yAxis?.labels;let tt;t[30]!==ht||t[31]!==_?(tt={gridLines:ht,labels:_},t[30]=ht,t[31]=_,t[32]=tt):tt=t[32];const yt=d?.yAxis?.gridLines,vt=d?.yAxis?.labels;let et;t[33]!==yt||t[34]!==vt?(et={gridLines:yt,labels:vt},t[33]=yt,t[34]=vt,t[35]=et):et=t[35];const jt=l(j<0?0:j),Ct=l(j<0?0:j),Rt=0-y,st=x+o.right,At=j<0?0:j;let b;t[36]!==K||t[37]!==H||t[38]!==q||t[39]!==At?(b=we.numberFormattingFunction(At,"NA",K,H,q),t[36]=K,t[37]=H,t[38]=q,t[39]=At,t[40]=b):b=t[40];const ot=0-y,Kt=Dt<0?"1em":-5,it=l(j<0?0:j);let nt;t[41]!==ot||t[42]!==Kt||t[43]!==it?(nt={x:ot,dx:0,dy:Kt,y:it},t[41]=ot,t[42]=Kt,t[43]=it,t[44]=nt):nt=t[44];const wt=d?.xAxis?.axis,Mt=d?.yAxis?.labels;let E;t[45]!==wt||t[46]!==Mt?(E={axis:wt,label:Mt},t[45]=wt,t[46]=Mt,t[47]=E):E=t[47];const rt=p?.xAxis?.axis,bt=p?.yAxis?.labels;let $;t[48]!==rt||t[49]!==bt?($={axis:rt,label:bt},t[48]=rt,t[49]=bt,t[50]=$):$=t[50];let O;t[51]!==jt||t[52]!==Ct||t[53]!==Rt||t[54]!==st||t[55]!==b||t[56]!==nt||t[57]!==E||t[58]!==$?(O=i.jsxRuntimeExports.jsx(Oe.Axis,{y1:jt,y2:Ct,x1:Rt,x2:st,label:b,labelPos:nt,classNames:E,styles:$}),t[51]=jt,t[52]=Ct,t[53]=Rt,t[54]=st,t[55]=b,t[56]=nt,t[57]=E,t[58]=$,t[59]=O):O=t[59];const T=0-y-15,D=g/2,N=p?.yAxis?.title,M=d?.yAxis?.title;let L;t[60]!==T||t[61]!==D||t[62]!==N||t[63]!==M||t[64]!==U?(L=i.jsxRuntimeExports.jsx(Ee.AxisTitle,{x:T,y:D,style:N,className:M,text:U,rotate90:!0}),t[60]=T,t[61]=D,t[62]=N,t[63]=M,t[64]=U,t[65]=L):L=t[65];let I;t[66]!==n?(I=s=>A.format(s,n),t[66]=n,t[67]=I):I=t[67];const Zt=Nt.map(I),_t=Nt.map(s=>a(s)),fe=p?.xAxis?.gridLines,pe=p?.xAxis?.labels;let te;t[68]!==fe||t[69]!==pe?(te={gridLines:fe,labels:pe},t[68]=fe,t[69]=pe,t[70]=te):te=t[70];const de=d?.xAxis?.gridLines;let Gt;t[71]!==de?(Gt=i.mo("opacity-0",de),t[71]=de,t[72]=Gt):Gt=t[72];const ge=d?.xAxis?.labels;let Ht;t[73]!==ge?(Ht=i.mo("fill-primary-gray-700 dark:fill-primary-gray-300 xs:max-[360px]:hidden text-[8px] sm:text-[9px] md:text-[10px] lg:text-xs",ge),t[73]=ge,t[74]=Ht):Ht=t[74];let ee;t[75]!==Gt||t[76]!==Ht?(ee={gridLines:Gt,labels:Ht},t[75]=Gt,t[76]=Ht,t[77]=ee):ee=t[77];let se;t[78]!==F?(se=F.filter(Qe).map(Ke),t[78]=F,t[79]=se):se=t[79];const he=me.motion,ye=zt.map((s,e)=>i.jsxRuntimeExports.jsx(me.motion.path,{d:gt(s),exit:{opacity:0,transition:{duration:c.duration}},variants:{initial:{d:gt(s.map(Je)),opacity:0},whileInView:{d:gt(s),opacity:1,transition:{duration:c.duration}}},initial:"initial",animate:f?"whileInView":"initial",style:{fill:Ot[e],opacity:.8}},e));let Ft;t[80]!==d?.mouseOverLine||t[81]!==g||t[82]!==C||t[83]!==p?.mouseOverLine||t[84]!==a?(Ft=C?i.jsxRuntimeExports.jsx("line",{y1:0,y2:g,x1:a(C.date),x2:a(C.date),className:i.mo("undp-tick-line stroke-primary-gray-700 dark:stroke-primary-gray-100",d?.mouseOverLine),style:p?.mouseOverLine}):null,t[80]=d?.mouseOverLine,t[81]=g,t[82]=C,t[83]=p?.mouseOverLine,t[84]=a,t[85]=Ft):Ft=t[85];let oe;t[86]!==he.g||t[87]!==ye||t[88]!==Ft?(oe=i.jsxRuntimeExports.jsxs(he.g,{children:[ye,Ft]}),t[86]=he.g,t[87]=ye,t[88]=Ft,t[89]=oe):oe=t[89];let ie;t[90]!==c||t[91]!==x||t[92]!==f||t[93]!==y||t[94]!==o.right||t[95]!==ct||t[96]!==l?(ie=ct?i.jsxRuntimeExports.jsx(i.jsxRuntimeExports.Fragment,{children:ct.map((s,e)=>i.jsxRuntimeExports.jsx(Se.RefLineY,{text:s.text,color:s.color,y:l(s.value),x1:0-y,x2:x+o.right,classNames:s.classNames,styles:s.styles,animate:c,isInView:f},e))}):null,t[90]=c,t[91]=x,t[92]=f,t[93]=y,t[94]=o.right,t[95]=ct,t[96]=l,t[97]=ie):ie=t[97];let Vt;if(t[98]!==c||t[99]!==z||t[100]!==n||t[101]!==x||t[102]!==f||t[103]!==o.right||t[104]!==G||t[105]!==a||t[106]!==l){let s;t[108]!==c||t[109]!==n||t[110]!==x||t[111]!==f||t[112]!==o.right||t[113]!==G||t[114]!==a||t[115]!==l?(s=(e,R)=>{const X=ve.getLineEndPoint({x:e.xCoordinate?a(A.parse(`${e.xCoordinate}`,n,new Date))+(e.xOffset||0):0+(e.xOffset||0),y:e.yCoordinate?l(e.yCoordinate)+(e.yOffset||0)-8:0+(e.yOffset||0)-8},{x:e.xCoordinate?a(A.parse(`${e.xCoordinate}`,n,new Date)):0,y:e.yCoordinate?l(e.yCoordinate):0},ue.checkIfNullOrUndefined(e.connectorRadius)?3.5:e.connectorRadius),Qt=e.showConnector?{y1:X.y,x1:X.x,y2:e.yCoordinate?l(e.yCoordinate)+(e.yOffset||0):0+(e.yOffset||0),x2:e.xCoordinate?a(A.parse(`${e.xCoordinate}`,n,new Date))+(e.xOffset||0):0+(e.xOffset||0),cx:e.xCoordinate?a(A.parse(`${e.xCoordinate}`,n,new Date)):0,cy:e.yCoordinate?l(e.yCoordinate):0,circleRadius:ue.checkIfNullOrUndefined(e.connectorRadius)?3.5:e.connectorRadius,strokeWidth:e.showConnector===!0?2:Math.min(e.showConnector||0,1)}:void 0,Re={y:e.yCoordinate?l(e.yCoordinate)+(e.yOffset||0)-8:0+(e.yOffset||0)-8,x:G?0:e.xCoordinate?a(A.parse(`${e.xCoordinate}`,n,new Date))+(e.xOffset||0):0+(e.xOffset||0),width:G?e.xCoordinate?a(A.parse(`${e.xCoordinate}`,n,new Date))+(e.xOffset||0):0+(e.xOffset||0):x+o.right-(e.xCoordinate?a(A.parse(`${e.xCoordinate}`,n,new Date))+(e.xOffset||0):0+(e.xOffset||0)),maxWidth:e.maxWidth,fontWeight:e.fontWeight,align:e.align};return i.jsxRuntimeExports.jsx(ve.Annotation,{color:e.color,connectorsSettings:Qt,labelSettings:Re,text:e.text,classNames:e.classNames,styles:e.styles,animate:c,isInView:f},R)},t[108]=c,t[109]=n,t[110]=x,t[111]=f,t[112]=o.right,t[113]=G,t[114]=a,t[115]=l,t[116]=s):s=t[116],Vt=z.map(s),t[98]=c,t[99]=z,t[100]=n,t[101]=x,t[102]=f,t[103]=o.right,t[104]=G,t[105]=a,t[106]=l,t[107]=Vt}else Vt=t[107];let ne;t[117]!==Vt?(ne=i.jsxRuntimeExports.jsx("g",{children:Vt}),t[117]=Vt,t[118]=ne):ne=t[118];let re;t[119]!==F?(re=F.filter(ze).map(Be),t[119]=F,t[120]=re):re=t[120];let ae;t[121]===Symbol.for("react.memo_cache_sentinel")?(ae={fill:"none",pointerEvents:"all"},t[121]=ae):ae=t[121];let le;t[122]!==pt||t[123]!==g||t[124]!==x?(le=i.jsxRuntimeExports.jsx("rect",{ref:pt,style:ae,width:x,height:g}),t[122]=pt,t[123]=g,t[124]=x,t[125]=le):le=t[125];let ce;return t[126]!==d?.tooltip||t[127]!==Q||t[128]!==ft||t[129]!==C||t[130]!==p?.tooltip||t[131]!==B?(ce=C&&B&&Q&&ft?i.jsxRuntimeExports.jsx(be.Tooltip,{data:C,body:B,xPos:Q,yPos:ft,backgroundStyle:p?.tooltip,className:d?.tooltip}):null,t[126]=d?.tooltip,t[127]=Q,t[128]=ft,t[129]=C,t[130]=p?.tooltip,t[131]=B,t[132]=ce):ce=t[132],i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[i.jsxRuntimeExports.jsx(me.motion.svg,{width:`${W}px`,height:`${Et}px`,viewBox:`0 0 ${W} ${Et}`,direction:"ltr",ref:Xt,children:i.jsxRuntimeExports.jsx(Ve.AnimatePresence,{children:i.jsxRuntimeExports.jsxs(me.motion.g,{transform:`translate(${o.left},${o.top})`,children:[Y,i.jsxRuntimeExports.jsx(ve.CustomArea,{animate:c,areaSettings:Bt,scaleX:a,scaleY:l,isInView:f}),i.jsxRuntimeExports.jsxs("g",{children:[i.jsxRuntimeExports.jsx(qe.YTicksAndGridLines,{values:k.filter(_e),y:k.filter(Ze).map(s=>l(s)),x1:0-y,x2:x+o.right,styles:tt,classNames:et,suffix:q,prefix:H,labelType:"secondary",showGridLines:!0,labelPos:"vertical",precision:K}),O,L]}),i.jsxRuntimeExports.jsx(Le.XTicksAndGridLines,{values:Zt,x:_t,y1:0,y2:g,styles:te,classNames:ee,suffix:q,prefix:H,labelType:"primary",showGridLines:!0,precision:K}),se,oe,ie,ne,re,le]})})}),ce]})}function Be(r){return r.layer}function ze(r){return r.position==="after"}function Je(r){return{...r,y0:0,y1:0}}function Ke(r){return r.layer}function Qe(r){return r.position==="before"}function Ze(r){return r!==0}function _e(r){return r!==0}function ts(r){return r.date}function es(r){return je.sum(r.y)||0}function ss(r){const t=i.compilerRuntimeExports.c(90),{data:m,graphTitle:W,colors:Et,sources:Ot,graphDescription:n,height:Pt,width:v,footNote:y,noOfXTicks:Lt,dateFormat:St,colorDomain:U,padding:B,backgroundColor:at,colorLegendTitle:lt,leftMargin:ct,rightMargin:Yt,topMargin:ut,bottomMargin:G,highlightAreaSettings:z,tooltip:xt,relativeHeight:It,onSeriesMouseOver:H,refValues:q,graphID:J,minValue:p,maxValue:d,graphDownload:K,dataDownload:F,showColorScale:c,language:Xt,minHeight:mt,annotations:f,customHighlightAreaSettings:qt,theme:C,ariaLabel:kt,yAxisTitle:Q,noOfYTicks:Wt,prefix:ft,suffix:Ut,curveType:$t,styles:u,classNames:o,precision:pt,customLayers:V,animate:h}=r,w=Et===void 0?Xe.Colors.light.categoricalColors.colors:Et,dt=Lt===void 0?10:Lt,Z=St===void 0?"yyyy":St,Bt=at===void 0?!1:at,zt=ct===void 0?50:ct,x=Yt===void 0?20:Yt,g=ut===void 0?20:ut,Jt=G===void 0?25:G;let Tt;t[0]!==z?(Tt=z===void 0?[]:z,t[0]=z,t[1]=Tt):Tt=t[1];const j=Tt;let P;t[2]!==q?(P=q===void 0?[]:q,t[2]=q,t[3]=P):P=t[3];const Dt=P,a=K===void 0?!1:K,l=F===void 0?!1:F,gt=c===void 0?!0:c,k=Xt===void 0?"en":Xt,Nt=mt===void 0?0:mt;let Y;t[4]!==f?(Y=f===void 0?[]:f,t[4]=f,t[5]=Y):Y=t[5];const ht=Y;let _;t[6]!==qt?(_=qt===void 0?[]:qt,t[6]=qt,t[7]=_):_=t[7];const tt=_,yt=C===void 0?"light":C,vt=Wt===void 0?5:Wt,et=ft===void 0?"":ft,jt=Ut===void 0?"":Ut,Ct=$t===void 0?"curve":$t,Rt=pt===void 0?2:pt;let st;t[8]!==V?(st=V===void 0?[]:V,t[8]=V,t[9]=st):st=t[9];const At=st,b=h===void 0?!1:h,[ot,Kt]=S.useState(0),[it,nt]=S.useState(0),wt=S.useRef(null),Mt=S.useRef(null);let E,rt;t[10]===Symbol.for("react.memo_cache_sentinel")?(E=()=>{const Zt=new ResizeObserver(_t=>{Kt(_t[0].target.clientWidth||620),nt(_t[0].target.clientHeight||480)});return wt.current&&Zt.observe(wt.current),()=>Zt.disconnect()},rt=[],t[10]=E,t[11]=rt):(E=t[10],rt=t[11]),S.useEffect(E,rt);const bt=o?.graphContainer,$=u?.graphContainer;let O;t[12]!==o?.description||t[13]!==o?.title||t[14]!==m||t[15]!==l||t[16]!==n||t[17]!==a||t[18]!==W||t[19]!==u?.description||t[20]!==u?.title||t[21]!==v?(O=W||n||a||l?i.jsxRuntimeExports.jsx(Ye.GraphHeader,{styles:{title:u?.title,description:u?.description},classNames:{title:o?.title,description:o?.description},graphTitle:W,graphDescription:n,width:v,graphDownload:a?Mt:void 0,dataDownload:l?m.map(as).filter(rs).length>0?m.map(ns).filter(is):m.filter(os):null}):null,t[12]=o?.description,t[13]=o?.title,t[14]=m,t[15]=l,t[16]=n,t[17]=a,t[18]=W,t[19]=u?.description,t[20]=u?.title,t[21]=v,t[22]=O):O=t[22];let T;t[23]!==o?.colorLegend||t[24]!==U||t[25]!==lt||t[26]!==w||t[27]!==m.length||t[28]!==gt?(T=gt!==!1&&m.length>0?i.jsxRuntimeExports.jsx(Ie.ColorLegend,{colorDomain:U,colors:w,colorLegendTitle:lt,showNAColor:!1,className:o?.colorLegend}):null,t[23]=o?.colorLegend,t[24]=U,t[25]=lt,t[26]=w,t[27]=m.length,t[28]=gt,t[29]=T):T=t[29];let D;t[30]!==m.length?(D=m.length===0&&i.jsxRuntimeExports.jsx(We.EmptyState,{}),t[30]=m.length,t[31]=D):D=t[31];let N;t[32]!==b||t[33]!==ht||t[34]!==Jt||t[35]!==o||t[36]!==w||t[37]!==Ct||t[38]!==tt||t[39]!==At||t[40]!==m||t[41]!==Z||t[42]!==j||t[43]!==k||t[44]!==zt||t[45]!==d||t[46]!==p||t[47]!==dt||t[48]!==vt||t[49]!==H||t[50]!==Rt||t[51]!==et||t[52]!==Dt||t[53]!==x||t[54]!==u||t[55]!==jt||t[56]!==it||t[57]!==ot||t[58]!==xt||t[59]!==g||t[60]!==Q?(N=ot&&it&&m.length>0?i.jsxRuntimeExports.jsx(Ue,{data:m,colors:w,width:ot,height:it,dateFormat:Z,noOfXTicks:dt,leftMargin:zt,rightMargin:x,topMargin:g,bottomMargin:Jt,tooltip:xt,onSeriesMouseOver:H,highlightAreaSettings:j,refValues:Dt,minValue:p,maxValue:d,rtl:k==="he"||k==="ar",annotations:ht,customHighlightAreaSettings:tt,yAxisTitle:Q,noOfYTicks:vt,prefix:et,suffix:jt,curveType:Ct,styles:u,classNames:o,precision:Rt,customLayers:At,animate:b===!0?{duration:.5,once:!0,amount:.5}:b||{duration:0,once:!0,amount:0}}):null,t[32]=b,t[33]=ht,t[34]=Jt,t[35]=o,t[36]=w,t[37]=Ct,t[38]=tt,t[39]=At,t[40]=m,t[41]=Z,t[42]=j,t[43]=k,t[44]=zt,t[45]=d,t[46]=p,t[47]=dt,t[48]=vt,t[49]=H,t[50]=Rt,t[51]=et,t[52]=Dt,t[53]=x,t[54]=u,t[55]=jt,t[56]=it,t[57]=ot,t[58]=xt,t[59]=g,t[60]=Q,t[61]=N):N=t[61];let M;t[62]!==D||t[63]!==N?(M=i.jsxRuntimeExports.jsxs(Ce.GraphArea,{ref:wt,children:[D,N]}),t[62]=D,t[63]=N,t[64]=M):M=t[64];let L;t[65]!==o?.footnote||t[66]!==o?.source||t[67]!==y||t[68]!==Ot||t[69]!==u?.footnote||t[70]!==u?.source||t[71]!==v?(L=Ot||y?i.jsxRuntimeExports.jsx(Pe.GraphFooter,{styles:{footnote:u?.footnote,source:u?.source},classNames:{footnote:o?.footnote,source:o?.source},sources:Ot,footNote:y,width:v}):null,t[65]=o?.footnote,t[66]=o?.source,t[67]=y,t[68]=Ot,t[69]=u?.footnote,t[70]=u?.source,t[71]=v,t[72]=L):L=t[72];let I;return t[73]!==kt||t[74]!==Bt||t[75]!==J||t[76]!==Pt||t[77]!==k||t[78]!==Nt||t[79]!==B||t[80]!==It||t[81]!==bt||t[82]!==$||t[83]!==O||t[84]!==T||t[85]!==M||t[86]!==L||t[87]!==yt||t[88]!==v?(I=i.jsxRuntimeExports.jsxs(Ce.GraphContainer,{className:bt,style:$,id:J,ref:Mt,"aria-label":kt,backgroundColor:Bt,theme:yt,language:k,minHeight:Nt,width:v,height:Pt,relativeHeight:It,padding:B,children:[O,T,M,L]}),t[73]=kt,t[74]=Bt,t[75]=J,t[76]=Pt,t[77]=k,t[78]=Nt,t[79]=B,t[80]=It,t[81]=bt,t[82]=$,t[83]=O,t[84]=T,t[85]=M,t[86]=L,t[87]=yt,t[88]=v,t[89]=I):I=t[89],I}function os(r){return r!==void 0}function is(r){return r!==void 0}function ns(r){return r.data}function rs(r){return r!==void 0}function as(r){return r.data}exports.AreaChart=ss;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-CHPV5EwG-6v2a2njQ.cjs"),S=require("react"),A=require("./parse-xYI9yrvL.cjs"),je=require("./index-CSNtgibC.cjs"),Ae=require("./index-Cno4Q0YE.cjs"),we=require("./numberFormattingFunction-02t-wJta.cjs"),be=require("./Tooltip-BLa2EfMs.cjs"),ue=require("./checkIfNullOrUndefined-BCW3Y1ML.cjs"),ve=require("./customArea-B1LWQBmM.cjs"),Ee=require("./AxisTitle-DV4n0RxE.cjs"),Oe=require("./Axis-Jt_tmhxS.cjs"),Le=require("./XTicksAndGridLines-CekrPykD.cjs"),Se=require("./ReferenceLine-M9aP3dj-.cjs"),qe=require("./YTicksAndGridLines-UzVC5eBM.cjs"),ke=require("./index-D69M6klB.cjs"),$e=require("./time-CkcKbhwe.cjs"),Te=require("./linear-CgUCbw9F.cjs"),De=require("./area-C1gxfNGD.cjs"),Ne=require("./line-DaEMhXmx.cjs"),xe=require("./step-BZ3C8QFW.cjs"),Me=require("./select-Bnfk0lJx.cjs"),me=require("./proxy-C4-uo6nS.cjs"),Ge=require("./init-DU0ybBc_.cjs"),He=require("./pointer-Dkq5NV1q.cjs"),Fe=require("./use-in-view-C3o_ntMv.cjs"),Ve=require("./index-CoobIWNj.cjs"),Pe=require("./GraphFooter.cjs"),Ye=require("./GraphHeader.cjs"),Ie=require("./ColorLegend.cjs"),Xe=require("./Colors.cjs"),We=require("./EmptyState-CGeBqbmR.cjs"),Ce=require("./GraphContainer-B1EDxJ0S.cjs");function Ue(r){const t=i.compilerRuntimeExports.c(133),{data:m,width:W,height:Et,colors:Ot,dateFormat:n,noOfXTicks:Pt,rightMargin:v,leftMargin:y,topMargin:Lt,bottomMargin:St,yAxisTitle:U,tooltip:B,onSeriesMouseOver:at,highlightAreaSettings:lt,refValues:ct,minValue:Yt,maxValue:ut,rtl:G,annotations:z,customHighlightAreaSettings:xt,noOfYTicks:It,prefix:H,suffix:q,curveType:J,styles:p,classNames:d,precision:K,customLayers:F,animate:c}=r,Xt=S.useRef(null);let mt;t[0]!==c.amount||t[1]!==c.once?(mt={once:c.once,amount:c.amount},t[0]=c.amount,t[1]=c.once,t[2]=mt):mt=t[2];const f=Fe.useInView(Xt,mt),qt=J==="linear"?Ne.curveLinear:J==="step"?xe.curveStep:J==="stepAfter"?xe.stepAfter:J==="stepBefore"?xe.stepBefore:xe.monotoneX,[C,kt]=S.useState(void 0),[Q,Wt]=S.useState(void 0),[ft,Ut]=S.useState(void 0),$t=U?y+30:y;let u;t[3]!==St||t[4]!==v||t[5]!==$t||t[6]!==Lt?(u={top:Lt,bottom:St,left:$t,right:v},t[3]=St,t[4]=v,t[5]=$t,t[6]=Lt,t[7]=u):u=t[7];const o=u,pt=S.useRef(null);let V;t[8]!==n?(V=s=>({...s,date:A.parse(`${s.date}`,n,new Date)}),t[8]=n,t[9]=V):V=t[9];const h=Ae.orderBy(m.map(V),["date"],["asc"]);let w;if(t[10]!==n||t[11]!==lt){let s;t[13]!==n?(s=e=>({...e,coordinates:[e.coordinates[0]===null?null:A.parse(`${e.coordinates[0]}`,n,new Date),e.coordinates[1]===null?null:A.parse(`${e.coordinates[1]}`,n,new Date)]}),t[13]=n,t[14]=s):s=t[14],w=lt.map(s),t[10]=n,t[11]=lt,t[12]=w}else w=t[12];const dt=w;let Z;if(t[15]!==xt||t[16]!==n){let s;t[18]!==n?(s=e=>({...e,coordinates:e.coordinates.map((R,X)=>X%2===0?A.parse(`${R}`,n,new Date):R)}),t[18]=n,t[19]=s):s=t[19],Z=xt.map(s),t[15]=xt,t[16]=n,t[17]=Z}else Z=t[17];const Bt=Z,zt=h[0].y.map((s,e)=>h.map(R=>({date:R.date,y0:e===0?0:je.sum(R.y.filter((X,Qt)=>Qt<e)),y1:je.sum(R.y.filter((X,Qt)=>Qt<=e))}))),x=W-o.left-o.right,g=Et-o.top-o.bottom,Jt=h[0].date,Tt=h[h.length-1].date,j=ue.checkIfNullOrUndefined(Yt)?0:Yt;let P;t[20]!==m||t[21]!==ut?(P=ue.checkIfNullOrUndefined(ut)?Math.max(...m.map(es)):ut,t[20]=m,t[21]=ut,t[22]=P):P=t[22];const Dt=P,a=$e.time().domain([Jt,Tt]).range([0,x]),l=Te.linear().domain([j,Dt]).range([g,0]).nice(),gt=De.area().x(s=>a(s.date)).y0(s=>l(s.y0)).y1(s=>l(s.y1)).curve(qt),k=l.ticks(It),Nt=a.ticks(Pt);S.useEffect(()=>{const s=R=>{const X=h[Ge.bisectCenter(h.map(ts),a.invert(He.pointer(R)[0]),0)];kt(X||h[h.length-1]),at?.(X||h[h.length-1]),Ut(R.clientY),Wt(R.clientX)},e=()=>{kt(void 0),Wt(void 0),Ut(void 0),at?.(void 0)};Me.select(pt.current).on("mousemove",s).on("mouseout",e),at?.(void 0)},[a,h,at]);let Y;t[23]!==c||t[24]!==g||t[25]!==x||t[26]!==dt||t[27]!==f||t[28]!==a?(Y=i.jsxRuntimeExports.jsx(ke.HighlightArea,{areaSettings:dt,width:x,height:g,scale:a,animate:c,isInView:f}),t[23]=c,t[24]=g,t[25]=x,t[26]=dt,t[27]=f,t[28]=a,t[29]=Y):Y=t[29];const ht=p?.yAxis?.gridLines,_=p?.yAxis?.labels;let tt;t[30]!==ht||t[31]!==_?(tt={gridLines:ht,labels:_},t[30]=ht,t[31]=_,t[32]=tt):tt=t[32];const yt=d?.yAxis?.gridLines,vt=d?.yAxis?.labels;let et;t[33]!==yt||t[34]!==vt?(et={gridLines:yt,labels:vt},t[33]=yt,t[34]=vt,t[35]=et):et=t[35];const jt=l(j<0?0:j),Ct=l(j<0?0:j),Rt=0-y,st=x+o.right,At=j<0?0:j;let b;t[36]!==K||t[37]!==H||t[38]!==q||t[39]!==At?(b=we.numberFormattingFunction(At,"NA",K,H,q),t[36]=K,t[37]=H,t[38]=q,t[39]=At,t[40]=b):b=t[40];const ot=0-y,Kt=Dt<0?"1em":-5,it=l(j<0?0:j);let nt;t[41]!==ot||t[42]!==Kt||t[43]!==it?(nt={x:ot,dx:0,dy:Kt,y:it},t[41]=ot,t[42]=Kt,t[43]=it,t[44]=nt):nt=t[44];const wt=d?.xAxis?.axis,Mt=d?.yAxis?.labels;let E;t[45]!==wt||t[46]!==Mt?(E={axis:wt,label:Mt},t[45]=wt,t[46]=Mt,t[47]=E):E=t[47];const rt=p?.xAxis?.axis,bt=p?.yAxis?.labels;let $;t[48]!==rt||t[49]!==bt?($={axis:rt,label:bt},t[48]=rt,t[49]=bt,t[50]=$):$=t[50];let O;t[51]!==jt||t[52]!==Ct||t[53]!==Rt||t[54]!==st||t[55]!==b||t[56]!==nt||t[57]!==E||t[58]!==$?(O=i.jsxRuntimeExports.jsx(Oe.Axis,{y1:jt,y2:Ct,x1:Rt,x2:st,label:b,labelPos:nt,classNames:E,styles:$}),t[51]=jt,t[52]=Ct,t[53]=Rt,t[54]=st,t[55]=b,t[56]=nt,t[57]=E,t[58]=$,t[59]=O):O=t[59];const T=0-y-15,D=g/2,N=p?.yAxis?.title,M=d?.yAxis?.title;let L;t[60]!==T||t[61]!==D||t[62]!==N||t[63]!==M||t[64]!==U?(L=i.jsxRuntimeExports.jsx(Ee.AxisTitle,{x:T,y:D,style:N,className:M,text:U,rotate90:!0}),t[60]=T,t[61]=D,t[62]=N,t[63]=M,t[64]=U,t[65]=L):L=t[65];let I;t[66]!==n?(I=s=>A.format(s,n),t[66]=n,t[67]=I):I=t[67];const Zt=Nt.map(I),_t=Nt.map(s=>a(s)),fe=p?.xAxis?.gridLines,pe=p?.xAxis?.labels;let te;t[68]!==fe||t[69]!==pe?(te={gridLines:fe,labels:pe},t[68]=fe,t[69]=pe,t[70]=te):te=t[70];const de=d?.xAxis?.gridLines;let Gt;t[71]!==de?(Gt=i.mo("opacity-0",de),t[71]=de,t[72]=Gt):Gt=t[72];const ge=d?.xAxis?.labels;let Ht;t[73]!==ge?(Ht=i.mo("fill-primary-gray-700 dark:fill-primary-gray-300 xs:max-[360px]:hidden text-[8px] sm:text-[9px] md:text-[10px] lg:text-xs",ge),t[73]=ge,t[74]=Ht):Ht=t[74];let ee;t[75]!==Gt||t[76]!==Ht?(ee={gridLines:Gt,labels:Ht},t[75]=Gt,t[76]=Ht,t[77]=ee):ee=t[77];let se;t[78]!==F?(se=F.filter(Qe).map(Ke),t[78]=F,t[79]=se):se=t[79];const he=me.motion,ye=zt.map((s,e)=>i.jsxRuntimeExports.jsx(me.motion.path,{d:gt(s),exit:{opacity:0,transition:{duration:c.duration}},variants:{initial:{d:gt(s.map(Je)),opacity:0},whileInView:{d:gt(s),opacity:1,transition:{duration:c.duration}}},initial:"initial",animate:f?"whileInView":"initial",style:{fill:Ot[e],opacity:.8}},e));let Ft;t[80]!==d?.mouseOverLine||t[81]!==g||t[82]!==C||t[83]!==p?.mouseOverLine||t[84]!==a?(Ft=C?i.jsxRuntimeExports.jsx("line",{y1:0,y2:g,x1:a(C.date),x2:a(C.date),className:i.mo("undp-tick-line stroke-primary-gray-700 dark:stroke-primary-gray-100",d?.mouseOverLine),style:p?.mouseOverLine}):null,t[80]=d?.mouseOverLine,t[81]=g,t[82]=C,t[83]=p?.mouseOverLine,t[84]=a,t[85]=Ft):Ft=t[85];let oe;t[86]!==he.g||t[87]!==ye||t[88]!==Ft?(oe=i.jsxRuntimeExports.jsxs(he.g,{children:[ye,Ft]}),t[86]=he.g,t[87]=ye,t[88]=Ft,t[89]=oe):oe=t[89];let ie;t[90]!==c||t[91]!==x||t[92]!==f||t[93]!==y||t[94]!==o.right||t[95]!==ct||t[96]!==l?(ie=ct?i.jsxRuntimeExports.jsx(i.jsxRuntimeExports.Fragment,{children:ct.map((s,e)=>i.jsxRuntimeExports.jsx(Se.RefLineY,{text:s.text,color:s.color,y:l(s.value),x1:0-y,x2:x+o.right,classNames:s.classNames,styles:s.styles,animate:c,isInView:f},e))}):null,t[90]=c,t[91]=x,t[92]=f,t[93]=y,t[94]=o.right,t[95]=ct,t[96]=l,t[97]=ie):ie=t[97];let Vt;if(t[98]!==c||t[99]!==z||t[100]!==n||t[101]!==x||t[102]!==f||t[103]!==o.right||t[104]!==G||t[105]!==a||t[106]!==l){let s;t[108]!==c||t[109]!==n||t[110]!==x||t[111]!==f||t[112]!==o.right||t[113]!==G||t[114]!==a||t[115]!==l?(s=(e,R)=>{const X=ve.getLineEndPoint({x:e.xCoordinate?a(A.parse(`${e.xCoordinate}`,n,new Date))+(e.xOffset||0):0+(e.xOffset||0),y:e.yCoordinate?l(e.yCoordinate)+(e.yOffset||0)-8:0+(e.yOffset||0)-8},{x:e.xCoordinate?a(A.parse(`${e.xCoordinate}`,n,new Date)):0,y:e.yCoordinate?l(e.yCoordinate):0},ue.checkIfNullOrUndefined(e.connectorRadius)?3.5:e.connectorRadius),Qt=e.showConnector?{y1:X.y,x1:X.x,y2:e.yCoordinate?l(e.yCoordinate)+(e.yOffset||0):0+(e.yOffset||0),x2:e.xCoordinate?a(A.parse(`${e.xCoordinate}`,n,new Date))+(e.xOffset||0):0+(e.xOffset||0),cx:e.xCoordinate?a(A.parse(`${e.xCoordinate}`,n,new Date)):0,cy:e.yCoordinate?l(e.yCoordinate):0,circleRadius:ue.checkIfNullOrUndefined(e.connectorRadius)?3.5:e.connectorRadius,strokeWidth:e.showConnector===!0?2:Math.min(e.showConnector||0,1)}:void 0,Re={y:e.yCoordinate?l(e.yCoordinate)+(e.yOffset||0)-8:0+(e.yOffset||0)-8,x:G?0:e.xCoordinate?a(A.parse(`${e.xCoordinate}`,n,new Date))+(e.xOffset||0):0+(e.xOffset||0),width:G?e.xCoordinate?a(A.parse(`${e.xCoordinate}`,n,new Date))+(e.xOffset||0):0+(e.xOffset||0):x+o.right-(e.xCoordinate?a(A.parse(`${e.xCoordinate}`,n,new Date))+(e.xOffset||0):0+(e.xOffset||0)),maxWidth:e.maxWidth,fontWeight:e.fontWeight,align:e.align};return i.jsxRuntimeExports.jsx(ve.Annotation,{color:e.color,connectorsSettings:Qt,labelSettings:Re,text:e.text,classNames:e.classNames,styles:e.styles,animate:c,isInView:f},R)},t[108]=c,t[109]=n,t[110]=x,t[111]=f,t[112]=o.right,t[113]=G,t[114]=a,t[115]=l,t[116]=s):s=t[116],Vt=z.map(s),t[98]=c,t[99]=z,t[100]=n,t[101]=x,t[102]=f,t[103]=o.right,t[104]=G,t[105]=a,t[106]=l,t[107]=Vt}else Vt=t[107];let ne;t[117]!==Vt?(ne=i.jsxRuntimeExports.jsx("g",{children:Vt}),t[117]=Vt,t[118]=ne):ne=t[118];let re;t[119]!==F?(re=F.filter(ze).map(Be),t[119]=F,t[120]=re):re=t[120];let ae;t[121]===Symbol.for("react.memo_cache_sentinel")?(ae={fill:"none",pointerEvents:"all"},t[121]=ae):ae=t[121];let le;t[122]!==pt||t[123]!==g||t[124]!==x?(le=i.jsxRuntimeExports.jsx("rect",{ref:pt,style:ae,width:x,height:g}),t[122]=pt,t[123]=g,t[124]=x,t[125]=le):le=t[125];let ce;return t[126]!==d?.tooltip||t[127]!==Q||t[128]!==ft||t[129]!==C||t[130]!==p?.tooltip||t[131]!==B?(ce=C&&B&&Q&&ft?i.jsxRuntimeExports.jsx(be.Tooltip,{data:C,body:B,xPos:Q,yPos:ft,backgroundStyle:p?.tooltip,className:d?.tooltip}):null,t[126]=d?.tooltip,t[127]=Q,t[128]=ft,t[129]=C,t[130]=p?.tooltip,t[131]=B,t[132]=ce):ce=t[132],i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[i.jsxRuntimeExports.jsx(me.motion.svg,{width:`${W}px`,height:`${Et}px`,viewBox:`0 0 ${W} ${Et}`,direction:"ltr",ref:Xt,children:i.jsxRuntimeExports.jsx(Ve.AnimatePresence,{children:i.jsxRuntimeExports.jsxs(me.motion.g,{transform:`translate(${o.left},${o.top})`,children:[Y,i.jsxRuntimeExports.jsx(ve.CustomArea,{animate:c,areaSettings:Bt,scaleX:a,scaleY:l,isInView:f}),i.jsxRuntimeExports.jsxs("g",{children:[i.jsxRuntimeExports.jsx(qe.YTicksAndGridLines,{values:k.filter(_e),y:k.filter(Ze).map(s=>l(s)),x1:0-y,x2:x+o.right,styles:tt,classNames:et,suffix:q,prefix:H,labelType:"secondary",showGridLines:!0,labelPos:"vertical",precision:K}),O,L]}),i.jsxRuntimeExports.jsx(Le.XTicksAndGridLines,{values:Zt,x:_t,y1:0,y2:g,styles:te,classNames:ee,suffix:q,prefix:H,labelType:"primary",showGridLines:!0,precision:K}),se,oe,ie,ne,re,le]})})}),ce]})}function Be(r){return r.layer}function ze(r){return r.position==="after"}function Je(r){return{...r,y0:0,y1:0}}function Ke(r){return r.layer}function Qe(r){return r.position==="before"}function Ze(r){return r!==0}function _e(r){return r!==0}function ts(r){return r.date}function es(r){return je.sum(r.y)||0}function ss(r){const t=i.compilerRuntimeExports.c(90),{data:m,graphTitle:W,colors:Et,sources:Ot,graphDescription:n,height:Pt,width:v,footNote:y,noOfXTicks:Lt,dateFormat:St,colorDomain:U,padding:B,backgroundColor:at,colorLegendTitle:lt,leftMargin:ct,rightMargin:Yt,topMargin:ut,bottomMargin:G,highlightAreaSettings:z,tooltip:xt,relativeHeight:It,onSeriesMouseOver:H,refValues:q,graphID:J,minValue:p,maxValue:d,graphDownload:K,dataDownload:F,showColorScale:c,language:Xt,minHeight:mt,annotations:f,customHighlightAreaSettings:qt,theme:C,ariaLabel:kt,yAxisTitle:Q,noOfYTicks:Wt,prefix:ft,suffix:Ut,curveType:$t,styles:u,classNames:o,precision:pt,customLayers:V,animate:h}=r,w=Et===void 0?Xe.Colors.light.categoricalColors.colors:Et,dt=Lt===void 0?10:Lt,Z=St===void 0?"yyyy":St,Bt=at===void 0?!1:at,zt=ct===void 0?50:ct,x=Yt===void 0?20:Yt,g=ut===void 0?20:ut,Jt=G===void 0?25:G;let Tt;t[0]!==z?(Tt=z===void 0?[]:z,t[0]=z,t[1]=Tt):Tt=t[1];const j=Tt;let P;t[2]!==q?(P=q===void 0?[]:q,t[2]=q,t[3]=P):P=t[3];const Dt=P,a=K===void 0?!1:K,l=F===void 0?!1:F,gt=c===void 0?!0:c,k=Xt===void 0?"en":Xt,Nt=mt===void 0?0:mt;let Y;t[4]!==f?(Y=f===void 0?[]:f,t[4]=f,t[5]=Y):Y=t[5];const ht=Y;let _;t[6]!==qt?(_=qt===void 0?[]:qt,t[6]=qt,t[7]=_):_=t[7];const tt=_,yt=C===void 0?"light":C,vt=Wt===void 0?5:Wt,et=ft===void 0?"":ft,jt=Ut===void 0?"":Ut,Ct=$t===void 0?"curve":$t,Rt=pt===void 0?2:pt;let st;t[8]!==V?(st=V===void 0?[]:V,t[8]=V,t[9]=st):st=t[9];const At=st,b=h===void 0?!1:h,[ot,Kt]=S.useState(0),[it,nt]=S.useState(0),wt=S.useRef(null),Mt=S.useRef(null);let E,rt;t[10]===Symbol.for("react.memo_cache_sentinel")?(E=()=>{const Zt=new ResizeObserver(_t=>{Kt(_t[0].target.clientWidth||620),nt(_t[0].target.clientHeight||480)});return wt.current&&Zt.observe(wt.current),()=>Zt.disconnect()},rt=[],t[10]=E,t[11]=rt):(E=t[10],rt=t[11]),S.useEffect(E,rt);const bt=o?.graphContainer,$=u?.graphContainer;let O;t[12]!==o?.description||t[13]!==o?.title||t[14]!==m||t[15]!==l||t[16]!==n||t[17]!==a||t[18]!==W||t[19]!==u?.description||t[20]!==u?.title||t[21]!==v?(O=W||n||a||l?i.jsxRuntimeExports.jsx(Ye.GraphHeader,{styles:{title:u?.title,description:u?.description},classNames:{title:o?.title,description:o?.description},graphTitle:W,graphDescription:n,width:v,graphDownload:a?Mt:void 0,dataDownload:l?m.map(as).filter(rs).length>0?m.map(ns).filter(is):m.filter(os):null}):null,t[12]=o?.description,t[13]=o?.title,t[14]=m,t[15]=l,t[16]=n,t[17]=a,t[18]=W,t[19]=u?.description,t[20]=u?.title,t[21]=v,t[22]=O):O=t[22];let T;t[23]!==o?.colorLegend||t[24]!==U||t[25]!==lt||t[26]!==w||t[27]!==m.length||t[28]!==gt?(T=gt!==!1&&m.length>0?i.jsxRuntimeExports.jsx(Ie.ColorLegend,{colorDomain:U,colors:w,colorLegendTitle:lt,showNAColor:!1,className:o?.colorLegend}):null,t[23]=o?.colorLegend,t[24]=U,t[25]=lt,t[26]=w,t[27]=m.length,t[28]=gt,t[29]=T):T=t[29];let D;t[30]!==m.length?(D=m.length===0&&i.jsxRuntimeExports.jsx(We.EmptyState,{}),t[30]=m.length,t[31]=D):D=t[31];let N;t[32]!==b||t[33]!==ht||t[34]!==Jt||t[35]!==o||t[36]!==w||t[37]!==Ct||t[38]!==tt||t[39]!==At||t[40]!==m||t[41]!==Z||t[42]!==j||t[43]!==k||t[44]!==zt||t[45]!==d||t[46]!==p||t[47]!==dt||t[48]!==vt||t[49]!==H||t[50]!==Rt||t[51]!==et||t[52]!==Dt||t[53]!==x||t[54]!==u||t[55]!==jt||t[56]!==it||t[57]!==ot||t[58]!==xt||t[59]!==g||t[60]!==Q?(N=ot&&it&&m.length>0?i.jsxRuntimeExports.jsx(Ue,{data:m,colors:w,width:ot,height:it,dateFormat:Z,noOfXTicks:dt,leftMargin:zt,rightMargin:x,topMargin:g,bottomMargin:Jt,tooltip:xt,onSeriesMouseOver:H,highlightAreaSettings:j,refValues:Dt,minValue:p,maxValue:d,rtl:k==="he"||k==="ar",annotations:ht,customHighlightAreaSettings:tt,yAxisTitle:Q,noOfYTicks:vt,prefix:et,suffix:jt,curveType:Ct,styles:u,classNames:o,precision:Rt,customLayers:At,animate:b===!0?{duration:.5,once:!0,amount:.5}:b||{duration:0,once:!0,amount:0}}):null,t[32]=b,t[33]=ht,t[34]=Jt,t[35]=o,t[36]=w,t[37]=Ct,t[38]=tt,t[39]=At,t[40]=m,t[41]=Z,t[42]=j,t[43]=k,t[44]=zt,t[45]=d,t[46]=p,t[47]=dt,t[48]=vt,t[49]=H,t[50]=Rt,t[51]=et,t[52]=Dt,t[53]=x,t[54]=u,t[55]=jt,t[56]=it,t[57]=ot,t[58]=xt,t[59]=g,t[60]=Q,t[61]=N):N=t[61];let M;t[62]!==D||t[63]!==N?(M=i.jsxRuntimeExports.jsxs(Ce.GraphArea,{ref:wt,children:[D,N]}),t[62]=D,t[63]=N,t[64]=M):M=t[64];let L;t[65]!==o?.footnote||t[66]!==o?.source||t[67]!==y||t[68]!==Ot||t[69]!==u?.footnote||t[70]!==u?.source||t[71]!==v?(L=Ot||y?i.jsxRuntimeExports.jsx(Pe.GraphFooter,{styles:{footnote:u?.footnote,source:u?.source},classNames:{footnote:o?.footnote,source:o?.source},sources:Ot,footNote:y,width:v}):null,t[65]=o?.footnote,t[66]=o?.source,t[67]=y,t[68]=Ot,t[69]=u?.footnote,t[70]=u?.source,t[71]=v,t[72]=L):L=t[72];let I;return t[73]!==kt||t[74]!==Bt||t[75]!==J||t[76]!==Pt||t[77]!==k||t[78]!==Nt||t[79]!==B||t[80]!==It||t[81]!==bt||t[82]!==$||t[83]!==O||t[84]!==T||t[85]!==M||t[86]!==L||t[87]!==yt||t[88]!==v?(I=i.jsxRuntimeExports.jsxs(Ce.GraphContainer,{className:bt,style:$,id:J,ref:Mt,"aria-label":kt,backgroundColor:Bt,theme:yt,language:k,minHeight:Nt,width:v,height:Pt,relativeHeight:It,padding:B,children:[O,T,M,L]}),t[73]=kt,t[74]=Bt,t[75]=J,t[76]=Pt,t[77]=k,t[78]=Nt,t[79]=B,t[80]=It,t[81]=bt,t[82]=$,t[83]=O,t[84]=T,t[85]=M,t[86]=L,t[87]=yt,t[88]=v,t[89]=I):I=t[89],I}function os(r){return r!==void 0}function is(r){return r!==void 0}function ns(r){return r.data}function rs(r){return r!==void 0}function as(r){return r.data}exports.AreaChart=ss;
|
|
2
2
|
//# sourceMappingURL=AreaChart.cjs.map
|
package/dist/AreaChart.js
CHANGED
|
@@ -8,7 +8,7 @@ import { T as Se } from "./Tooltip-BRnAz2Gv.js";
|
|
|
8
8
|
import { c as me } from "./checkIfNullOrUndefined-DmfiKkNw.js";
|
|
9
9
|
import { C as De, g as $e, A as ke } from "./customArea-ASDaSE4u.js";
|
|
10
10
|
import { A as Te } from "./AxisTitle-VFq89Olw.js";
|
|
11
|
-
import { A as Ne } from "./Axis-
|
|
11
|
+
import { A as Ne } from "./Axis-D56Gy0se.js";
|
|
12
12
|
import { X as Me } from "./XTicksAndGridLines-CVZkZkpS.js";
|
|
13
13
|
import { a as He } from "./ReferenceLine-DgtoRgw0.js";
|
|
14
14
|
import { Y as Re } from "./YTicksAndGridLines-GnXnSRF2.js";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { c as b, j as y, m as f } from "./index-CHPV5EwG-DecW7_qr.js";
|
|
2
|
+
import { c as u } from "./checkIfNullOrUndefined-DmfiKkNw.js";
|
|
3
|
+
function h(p) {
|
|
4
|
+
const e = b.c(19), {
|
|
5
|
+
label: i,
|
|
6
|
+
x2: m,
|
|
7
|
+
y2: n,
|
|
8
|
+
x1: o,
|
|
9
|
+
y1: c,
|
|
10
|
+
classNames: s,
|
|
11
|
+
styles: a,
|
|
12
|
+
labelPos: l,
|
|
13
|
+
hideAxisLine: d
|
|
14
|
+
} = p;
|
|
15
|
+
let r;
|
|
16
|
+
e[0] !== s?.axis || e[1] !== d || e[2] !== a?.axis || e[3] !== o || e[4] !== m || e[5] !== c || e[6] !== n ? (r = d ? null : /* @__PURE__ */ y.jsx("line", { y1: c, y2: n, x1: o, x2: m, style: a?.axis, className: f("stroke-1 stroke-primary-gray-700 dark:stroke-primary-gray-300", s?.axis) }), e[0] = s?.axis, e[1] = d, e[2] = a?.axis, e[3] = o, e[4] = m, e[5] = c, e[6] = n, e[7] = r) : r = e[7];
|
|
17
|
+
let t;
|
|
18
|
+
e[8] !== s?.label || e[9] !== i || e[10] !== l?.dx || e[11] !== l?.dy || e[12] !== l?.x || e[13] !== l?.y || e[14] !== a?.label ? (t = u(i) ? null : /* @__PURE__ */ y.jsx("text", { x: l?.x, y: l?.y, style: {
|
|
19
|
+
textAnchor: "start",
|
|
20
|
+
...a?.label || ""
|
|
21
|
+
}, className: f("fill-primary-gray-700 dark:fill-primary-gray-300 text-xs", s?.label), dy: l?.dy, dx: l?.dx, children: i }), e[8] = s?.label, e[9] = i, e[10] = l?.dx, e[11] = l?.dy, e[12] = l?.x, e[13] = l?.y, e[14] = a?.label, e[15] = t) : t = e[15];
|
|
22
|
+
let x;
|
|
23
|
+
return e[16] !== r || e[17] !== t ? (x = /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
24
|
+
r,
|
|
25
|
+
t
|
|
26
|
+
] }), e[16] = r, e[17] = t, e[18] = x) : x = e[18], x;
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
h as A
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=Axis-D56Gy0se.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Axis-D56Gy0se.js","sources":["../src/Components/Elements/Axes/Axis.tsx"],"sourcesContent":["import { cn } from '@undp/design-system-react/cn';\r\n\r\nimport { checkIfNullOrUndefined } from '@/Utils/checkIfNullOrUndefined';\r\n\r\ninterface Props {\r\n label?: string;\r\n labelPos?: { x: number; y: number; dy: string | number; dx: string | number };\r\n y1: number;\r\n x1: number;\r\n y2: number;\r\n x2: number;\r\n classNames?: { axis?: string; label?: string };\r\n styles?: { axis?: React.CSSProperties; label?: React.CSSProperties };\r\n hideAxisLine?: boolean;\r\n}\r\n\r\nexport function Axis(props: Props) {\r\n const { label, x2, y2, x1, y1, classNames, styles, labelPos, hideAxisLine } = props;\r\n return (\r\n <>\r\n {hideAxisLine ? null : (\r\n <line\r\n y1={y1}\r\n y2={y2}\r\n x1={x1}\r\n x2={x2}\r\n style={styles?.axis}\r\n className={cn(\r\n 'stroke-1 stroke-primary-gray-700 dark:stroke-primary-gray-300',\r\n classNames?.axis,\r\n )}\r\n />\r\n )}\r\n {!checkIfNullOrUndefined(label) ? (\r\n <text\r\n x={labelPos?.x}\r\n y={labelPos?.y}\r\n style={{\r\n textAnchor: 'start',\r\n ...(styles?.label || ''),\r\n }}\r\n className={cn(\r\n 'fill-primary-gray-700 dark:fill-primary-gray-300 text-xs',\r\n classNames?.label,\r\n )}\r\n dy={labelPos?.dy}\r\n dx={labelPos?.dx}\r\n >\r\n {label}\r\n </text>\r\n ) : null}\r\n </>\r\n );\r\n}\r\n"],"names":["Axis","props","$","_c","label","x2","y2","x1","y1","classNames","styles","labelPos","hideAxisLine","t0","axis","jsx","cn","t1","dx","dy","x","y","checkIfNullOrUndefined","textAnchor","t2"],"mappings":";;AAgBO,SAAAA,EAAAC,GAAA;AAAA,QAAAC,IAAAC,EAAAA,EAAA,EAAA,GACL;AAAA,IAAAC,OAAAA;AAAAA,IAAAC,IAAAA;AAAAA,IAAAC,IAAAA;AAAAA,IAAAC,IAAAA;AAAAA,IAAAC,IAAAA;AAAAA,IAAAC,YAAAA;AAAAA,IAAAC,QAAAA;AAAAA,IAAAC,UAAAA;AAAAA,IAAAC,cAAAA;AAAAA,EAAAA,IAA8EX;AAAM,MAAAY;AAAA,EAAAX,EAAA,CAAA,MAAAO,GAAAK,QAAAZ,EAAA,CAAA,MAAAU,KAAAV,EAAA,CAAA,MAAAQ,GAAAI,QAAAZ,EAAA,CAAA,MAAAK,KAAAL,EAAA,CAAA,MAAAG,KAAAH,EAAA,CAAA,MAAAM,KAAAN,SAAAI,KAG/EO,IAAAD,IAAA,OACCG,gBAAAA,EAAAA,IAAA,QAAA,EACMP,IAAAA,GACAF,IAAAA,GACAC,IAAAA,GACAF,IAAAA,GACG,OAAAK,GAAMI,MACF,WAAAE,EACT,iEACAP,GAAUK,IACZ,GAAC,GAEJZ,EAAA,CAAA,IAAAO,GAAAK,MAAAZ,OAAAU,GAAAV,EAAA,CAAA,IAAAQ,GAAAI,MAAAZ,OAAAK,GAAAL,OAAAG,GAAAH,OAAAM,GAAAN,OAAAI,GAAAJ,OAAAW,KAAAA,IAAAX,EAAA,CAAA;AAAA,MAAAe;AAAA,EAAAf,EAAA,CAAA,MAAAO,GAAAL,SAAAF,EAAA,CAAA,MAAAE,KAAAF,EAAA,EAAA,MAAAS,GAAAO,MAAAhB,EAAA,EAAA,MAAAS,GAAAQ,MAAAjB,EAAA,EAAA,MAAAS,GAAAS,KAAAlB,EAAA,EAAA,MAAAS,GAAAU,KAAAnB,EAAA,EAAA,MAAAQ,GAAAN,SACAa,IAACK,EAAuBlB,CAAK,IAA7B,OACCW,gBAAAA,EAAAA,IAAA,QAAA,EACK,GAAAJ,GAAQS,GACR,GAAAT,GAAQU,GACJ,OAAA;AAAA,IAAAE,YACO;AAAA,IAAO,GACfb,GAAMN,SAAN;AAAA,EAAA,GAEK,WAAAY,EACT,4DACAP,GAAUL,KACZ,GACI,IAAAO,GAAQQ,IACR,IAAAR,GAAQO,iBAGd,GACMhB,EAAA,CAAA,IAAAO,GAAAL,OAAAF,OAAAE,GAAAF,EAAA,EAAA,IAAAS,GAAAO,IAAAhB,EAAA,EAAA,IAAAS,GAAAQ,IAAAjB,EAAA,EAAA,IAAAS,GAAAS,GAAAlB,EAAA,EAAA,IAAAS,GAAAU,GAAAnB,EAAA,EAAA,IAAAQ,GAAAN,OAAAF,QAAAe,KAAAA,IAAAf,EAAA,EAAA;AAAA,MAAAsB;AAAA,SAAAtB,EAAA,EAAA,MAAAW,KAAAX,UAAAe,KA/BVO,yCACGX,UAAAA;AAAAA,IAAAA;AAAAA,IAaAI;AAAAA,EAAAA,GAiBO,GACPf,QAAAW,GAAAX,QAAAe,GAAAf,QAAAsB,KAAAA,IAAAtB,EAAA,EAAA,GAhCHsB;AAgCG;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const l=require("./index-CHPV5EwG-6v2a2njQ.cjs"),f=require("./checkIfNullOrUndefined-BCW3Y1ML.cjs");function p(u){const e=l.compilerRuntimeExports.c(19),{label:a,x2:y,y2:c,x1:d,y1:o,classNames:t,styles:r,labelPos:s,hideAxisLine:m}=u;let i;e[0]!==t?.axis||e[1]!==m||e[2]!==r?.axis||e[3]!==d||e[4]!==y||e[5]!==o||e[6]!==c?(i=m?null:l.jsxRuntimeExports.jsx("line",{y1:o,y2:c,x1:d,x2:y,style:r?.axis,className:l.mo("stroke-1 stroke-primary-gray-700 dark:stroke-primary-gray-300",t?.axis)}),e[0]=t?.axis,e[1]=m,e[2]=r?.axis,e[3]=d,e[4]=y,e[5]=o,e[6]=c,e[7]=i):i=e[7];let x;e[8]!==t?.label||e[9]!==a||e[10]!==s?.dx||e[11]!==s?.dy||e[12]!==s?.x||e[13]!==s?.y||e[14]!==r?.label?(x=f.checkIfNullOrUndefined(a)?null:l.jsxRuntimeExports.jsx("text",{x:s?.x,y:s?.y,style:{textAnchor:"start",...r?.label||""},className:l.mo("fill-primary-gray-700 dark:fill-primary-gray-300 text-xs",t?.label),dy:s?.dy,dx:s?.dx,children:a}),e[8]=t?.label,e[9]=a,e[10]=s?.dx,e[11]=s?.dy,e[12]=s?.x,e[13]=s?.y,e[14]=r?.label,e[15]=x):x=e[15];let n;return e[16]!==i||e[17]!==x?(n=l.jsxRuntimeExports.jsxs(l.jsxRuntimeExports.Fragment,{children:[i,x]}),e[16]=i,e[17]=x,e[18]=n):n=e[18],n}exports.Axis=p;
|
|
2
|
+
//# sourceMappingURL=Axis-Jt_tmhxS.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Axis-Jt_tmhxS.cjs","sources":["../src/Components/Elements/Axes/Axis.tsx"],"sourcesContent":["import { cn } from '@undp/design-system-react/cn';\r\n\r\nimport { checkIfNullOrUndefined } from '@/Utils/checkIfNullOrUndefined';\r\n\r\ninterface Props {\r\n label?: string;\r\n labelPos?: { x: number; y: number; dy: string | number; dx: string | number };\r\n y1: number;\r\n x1: number;\r\n y2: number;\r\n x2: number;\r\n classNames?: { axis?: string; label?: string };\r\n styles?: { axis?: React.CSSProperties; label?: React.CSSProperties };\r\n hideAxisLine?: boolean;\r\n}\r\n\r\nexport function Axis(props: Props) {\r\n const { label, x2, y2, x1, y1, classNames, styles, labelPos, hideAxisLine } = props;\r\n return (\r\n <>\r\n {hideAxisLine ? null : (\r\n <line\r\n y1={y1}\r\n y2={y2}\r\n x1={x1}\r\n x2={x2}\r\n style={styles?.axis}\r\n className={cn(\r\n 'stroke-1 stroke-primary-gray-700 dark:stroke-primary-gray-300',\r\n classNames?.axis,\r\n )}\r\n />\r\n )}\r\n {!checkIfNullOrUndefined(label) ? (\r\n <text\r\n x={labelPos?.x}\r\n y={labelPos?.y}\r\n style={{\r\n textAnchor: 'start',\r\n ...(styles?.label || ''),\r\n }}\r\n className={cn(\r\n 'fill-primary-gray-700 dark:fill-primary-gray-300 text-xs',\r\n classNames?.label,\r\n )}\r\n dy={labelPos?.dy}\r\n dx={labelPos?.dx}\r\n >\r\n {label}\r\n </text>\r\n ) : null}\r\n </>\r\n );\r\n}\r\n"],"names":["Axis","props","$","_c","label","x2","y2","x1","y1","classNames","styles","labelPos","hideAxisLine","t0","axis","jsx","cn","t1","dx","dy","x","y","checkIfNullOrUndefined","textAnchor","t2"],"mappings":"iHAgBO,SAAAA,EAAAC,EAAA,CAAA,MAAAC,EAAAC,EAAAA,uBAAAA,EAAA,EAAA,EACL,CAAAC,MAAAA,EAAAC,GAAAA,EAAAC,GAAAA,EAAAC,GAAAA,EAAAC,GAAAA,EAAAC,WAAAA,EAAAC,OAAAA,EAAAC,SAAAA,EAAAC,aAAAA,CAAAA,EAA8EX,EAAM,IAAAY,EAAAX,EAAA,CAAA,IAAAO,GAAAK,MAAAZ,EAAA,CAAA,IAAAU,GAAAV,EAAA,CAAA,IAAAQ,GAAAI,MAAAZ,EAAA,CAAA,IAAAK,GAAAL,EAAA,CAAA,IAAAG,GAAAH,EAAA,CAAA,IAAAM,GAAAN,OAAAI,GAG/EO,EAAAD,EAAA,KACCG,EAAAA,kBAAAA,IAAA,OAAA,CACMP,GAAAA,EACAF,GAAAA,EACAC,GAAAA,EACAF,GAAAA,EACG,MAAAK,GAAMI,KACF,UAAAE,EAAAA,GACT,gEACAP,GAAUK,IACZ,EAAC,EAEJZ,EAAA,CAAA,EAAAO,GAAAK,KAAAZ,KAAAU,EAAAV,EAAA,CAAA,EAAAQ,GAAAI,KAAAZ,KAAAK,EAAAL,KAAAG,EAAAH,KAAAM,EAAAN,KAAAI,EAAAJ,KAAAW,GAAAA,EAAAX,EAAA,CAAA,EAAA,IAAAe,EAAAf,EAAA,CAAA,IAAAO,GAAAL,OAAAF,EAAA,CAAA,IAAAE,GAAAF,EAAA,EAAA,IAAAS,GAAAO,IAAAhB,EAAA,EAAA,IAAAS,GAAAQ,IAAAjB,EAAA,EAAA,IAAAS,GAAAS,GAAAlB,EAAA,EAAA,IAAAS,GAAAU,GAAAnB,EAAA,EAAA,IAAAQ,GAAAN,OACAa,EAACK,EAAAA,uBAAuBlB,CAAK,EAA7B,KACCW,EAAAA,kBAAAA,IAAA,OAAA,CACK,EAAAJ,GAAQS,EACR,EAAAT,GAAQU,EACJ,MAAA,CAAAE,WACO,QAAO,GACfb,GAAMN,OAAN,EAAA,EAEK,UAAAY,EAAAA,GACT,2DACAP,GAAUL,KACZ,EACI,GAAAO,GAAQQ,GACR,GAAAR,GAAQO,cAGd,EACMhB,EAAA,CAAA,EAAAO,GAAAL,MAAAF,KAAAE,EAAAF,EAAA,EAAA,EAAAS,GAAAO,GAAAhB,EAAA,EAAA,EAAAS,GAAAQ,GAAAjB,EAAA,EAAA,EAAAS,GAAAS,EAAAlB,EAAA,EAAA,EAAAS,GAAAU,EAAAnB,EAAA,EAAA,EAAAQ,GAAAN,MAAAF,MAAAe,GAAAA,EAAAf,EAAA,EAAA,EAAA,IAAAsB,EAAA,OAAAtB,EAAA,EAAA,IAAAW,GAAAX,QAAAe,GA/BVO,yDACGX,SAAAA,CAAAA,EAaAI,CAAAA,EAiBO,EACPf,MAAAW,EAAAX,MAAAe,EAAAf,MAAAsB,GAAAA,EAAAtB,EAAA,EAAA,EAhCHsB,CAgCG"}
|