1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8105],{32880:(e,t,a)=>{a.d(t,{y:()=>f});var r=a(82164),n=a(36472),i=a(41080),l=a(81348),o=a(20369),s=a(57758);function u({x:e,y:t,width:a,height:i,fill:l,rx:o,ry:h,index:f,isFaded:d,animationType:y,innerHeight:c,fadedOpacity:m,staggerDelay:p,enterTransition:x,revealEpoch:g,isHorizontal:b}){let M=(0,s.n)(x,f*p);if("fade"===y)return(0,r.jsx)(n.PY1.rect,{animate:{opacity:d?m:1,filter:"blur(0px)"},fill:l,height:i,initial:{opacity:0,filter:"blur(2px)"},rx:o,ry:h,transition:M,width:a,x:e,y:t},`fade-${f}-${g}`);let v=b?{width:0,height:i,x:0,y:t}:{width:a,height:0,x:e,y:c},w=b?{width:a,height:i,x:0,y:t}:{width:a,height:i,x:e,y:t};return(0,r.jsx)("g",{opacity:d?m:1,style:{transition:"opacity 0.15s ease-in-out"},children:(0,r.jsx)(n.PY1.rect,{animate:w,fill:l,initial:v,rx:o,ry:h,transition:M},`grow-${f}-${g}`)})}let h=(0,i.memo)(function({dataKey:e,yAxisId:t,fill:a=l.So.linePrimary,lineCap:n="round",animate:s=!0,animationType:h="grow",fadedOpacity:f=.3,staggerDelay:d,stackGap:y=0,groupGap:c=4,perspective:m=!1,minBarHeight:p=0,barScale:x,bandWidth:g,barXAccessor:b}){let{data:M,yScale:v,innerHeight:w,innerWidth:K,isLoaded:j,hoveredBarIndex:S,lines:k,orientation:A,stacked:D,stackOffsets:I,animationDuration:C,enterTransition:E,revealEpoch:P=0}=(0,l.uy)(),$=d??(M.length>1?.4*(C||1100)/1e3/M.length:0),B=(0,i.useId)(),N="horizontal"===A,{hoveredIndex:_}=(0,o.J)(),H=(0,i.useMemo)(()=>{let t=k.findIndex(t=>t.dataKey===e);return t>=0?t:0},[k,e]),T=k[H],q=(0,l.bg)(t??T?.yAxisId),z=null!==_&&_!==H,J=k.length,O=H===J-1,W=(0,i.useMemo)(()=>g&&0!==J?D?g:(g-(J>1?c:0)*(J-1))/J:0,[g,J,D,c]),R=(0,i.useMemo)(()=>m?0:"number"==typeof n?n:"round"===n&&W?Math.min(W/2,8):0,[n,W,m]);return(0,r.jsx)("g",{className:`bar-series-${B}`,children:M.map((t,n)=>{let i,l,o,d,M=t[e];if("number"!=typeof M)return null;let k=b(t),A=x(k)??0,C=N?v:q;if(N){let t=C(M)??0;(d=t,o=W,D&&I)?(d=t-(i=C(I.get(n)?.get(e)??0)??0),i+=H*y,!O&&y>0&&(d=Math.max(0,d-y))):(i=0,l=A+H*(W+(J>1?c:0))),l=D?A:A+H*(W+(J>1?c:0))}else{let a=C(M)??0;(o=w-a,d=W,D&&I)?(l=(C(I.get(n)?.get(e)??0)??w)-o-H*y,!O&&y>0&&(o=Math.max(0,o-y))):(l=a,i=A+H*(W+(J>1?c:0))),i=D?A:A+H*(W+(J>1?c:0));let r=!1;if(!D&&p>0&&M>=0&&o<p){let e=C(0)??w;o=p,l=e-p,r=!0}if(m&&M>0&&!r&&(!D||O)){let e=Math.min(function(e,t,a,r,n,i,l){let o,s,u=r/2;if(u<=0)return 0;let h=(o=Math.max(0,(e.step?.()??t)-t),Math.min(.22*t,Math.max(0,o-1),7));return({depth:s=Math.min(1,Math.max(0,Math.min(1,Math.abs(((e(a(n))??0)+t/2-u)/u))))*Math.min(h,Math.max(0,Math.abs(l-i))),perspectiveRise:.45*s}).perspectiveRise}(x,g,b,K,t,l,C(0)??w),Math.max(0,o-1));l+=e,o-=e}}let B=null!==S&&S!==n||z,_=`bar-${e}-${k}`,T=!D||y>0||O,G=T?R:0,L=T?R:0;return s&&!j?(0,r.jsx)(u,{animationType:h,enterTransition:E,fadedOpacity:f,fill:a,height:o,index:n,innerHeight:w,isFaded:B,isHorizontal:N,revealEpoch:P,rx:G,ry:L,staggerDelay:$,width:d,x:i,y:l},_):(0,r.jsx)("rect",{fill:a,height:o,opacity:B?f:1,rx:G,ry:L,style:{cursor:"default",transition:"opacity 0.15s ease-in-out"},width:d,x:i,y:l},_)})})});function f(e){let{barScale:t,bandWidth:a,barXAccessor:n}=(0,l.nu)();return t&&a&&n?(0,r.jsx)(h,{...e,bandWidth:a,barScale:t,barXAccessor:n}):(console.warn("Bar component must be used within a BarChart"),null)}f.displayName="Bar"},57758:(e,t,a)=>{a.d(t,{n:()=>n});var r=a(67166);function n(e,t,a=r.eF){return{...e??a,delay:t}}},62546:(e,t,a)=>{a.d(t,{E:()=>j});var r=a(82164),n=a(2555),i=a(77313),l=a(45062),o=a(30946),s=a(3789),u=a(41080),h=a(61053),f=a(67166),d=a(23444),y=a(81348),c=a(81039),m=a(37368),p=a(59322),x=a(77541),g=a(27882),b=a(69167),M=a(19925);let v={top:40,right:40,bottom:40,left:40};function w(e){let{width:t,height:a}=e;return t<10||a<10?null:(0,r.jsx)(K,{...e})}let K=(0,u.memo)(function({width:e,height:t,data:a,xDataKey:i,margin:s,animationDuration:h,animationEasing:f,enterTransition:v,revealSignature:w="",barGap:K,barWidthProp:j,orientation:S,stacked:k,stackGap:A,squareSnap:D,children:I,containerRef:C,onPhaseChange:E,status:P}){let{tooltipData:$,setTooltipData:B,scheduleTooltip:N,clearTooltip:_}=(0,b.y)(),[H,T]=(0,u.useState)(!1),[q,z]=(0,u.useState)(0),J=$?.index??null,O="horizontal"===S,W=(0,u.useMemo)(()=>{let e;return e=[],(0,d.hr)(I,t=>{let a=t.type;if(a.__isBarDepthLayer)return;let r="function"==typeof t.type&&(a.displayName||a.name)||"",n=t.props;if(("Bar"===r||"BarSquares"===r||n&&"string"==typeof n.dataKey&&n.dataKey.length>0)&&n?.dataKey){let t=n.stroke||n.fill||"var(--chart-line-primary)";e.push({dataKey:n.dataKey,stroke:t,strokeWidth:0,yAxisId:n.yAxisId})}}),e},[I]),R=e-s.left-s.right,G=t-s.top-s.bottom,L=(0,u.useCallback)(e=>{let t=e[i];return t instanceof Date?m.ic.format(t):String(t??"")},[i]),V=(0,u.useCallback)(e=>{let t=e[i];return t instanceof Date?t:new Date},[i]),X=(0,u.useMemo)(()=>{let e=a.map(e=>L(e)),t=O?[0,G]:[0,R];return(0,l.A)({range:t,domain:e,padding:K})},[R,G,a,L,K,O]),F=j??X.bandwidth(),Y=(0,u.useMemo)(()=>
1{if(k){let e=0;for(let t of a){let a=0;for(let e of W){let r=t[e.dataKey];"number"==typeof r&&(a+=r)}a>e&&(e=a)}return e||100}let e=0;for(let t of W)for(let r of a){let a=r[t.dataKey];"number"==typeof a&&a>e&&(e=a)}return e||100},[a,W,k]),U=(0,u.useMemo)(()=>{let e=O?[0,R]:[G,0];return(0,o.A)({range:e,domain:[0,1.1*Y],nice:!0})},[R,G,Y,O]),Q=(0,u.useMemo)(()=>O?(0,M.oK)(U):(0,M.Vx)({lines:W,data:a,innerHeight:G,resolveDomain:e=>{let t=0;for(let r of a){let a=0;for(let n of e){let e=r[n];"number"==typeof e&&k?a+=e:"number"==typeof e&&e>t&&(t=e)}a>t&&(t=a)}return[0,1.1*(t||100)]}}),[a,G,O,W,U,k]),Z=(0,M.ay)(Q,U),ee=(0,u.useMemo)(()=>{if(!k)return;let e=new Map;for(let t=0;t<a.length;t++){let r=a[t];if(!r)continue;let n=new Map,i=0;for(let e of W){n.set(e.dataKey,i);let t=r[e.dataKey];"number"==typeof t&&(i+=t)}e.set(t,n)}return e},[a,W,k]),et=(0,u.useMemo)(()=>a.length<1?0:O?G/a.length:R/a.length,[R,G,a.length,O]),ea=(0,u.useMemo)(()=>a.map(e=>L(e)),[a,L]),er=(0,u.useMemo)(()=>{let e=Date.now(),t=e-24*a.length*36e5,r={...X,domain:()=>[new Date(t),new Date(e)],range:()=>[0,R],invert:a=>new Date(t+a/R*(e-t)),copy:()=>r};return r},[X,R,a.length]);(0,u.useEffect)(()=>{if(z(e=>e+1),T(!1),"loading"===P)return;let e=a.length>1?.4*h:0,t=setTimeout(()=>{T(!0)},h+e);return()=>clearTimeout(t)},[h,w,P]),(0,u.useEffect)(()=>{E?.(H?"ready":"revealing")},[H,E]);let en=(0,u.useCallback)(e=>{let t=(0,n.A)(e);if(!t)return;let r=Math.floor((O?t.y-s.top:t.x-s.left)/et),i=Math.max(0,Math.min(a.length-1,r)),l=a[i];if(!l)return;let o={},u={},h=X(L(l))??0;if(O){let e=W.length,t=4*(e>1),a=e>0?(F-t*(e-1))/e:F;if(k){let e=0;for(let t of W){let a=l[t.dataKey];if("number"==typeof a){e+=a;let r=Q[(0,M.pr)(t.yAxisId)]??U;u[t.dataKey]=r(e)??0,o[t.dataKey]=h+F/2}}}else W.forEach((e,r)=>{let n=l[e.dataKey];if("number"==typeof n){let i=Q[(0,M.pr)(e.yAxisId)]??U;u[e.dataKey]=i(n)??0,o[e.dataKey]=h+r*(a+t)+a/2}})}else if(k){let e=0,t=0;for(let a of W){let r=l[a.dataKey];if("number"==typeof r){e+=r;let n=Q[(0,M.pr)(a.yAxisId)]??Z,i=t*A;o[a.dataKey]=(n(e)??0)-i,t++}}}else{let e=W.length,t=4*(e>1),a=e>0?(F-t*(e-1))/e:F;W.forEach((e,r)=>{let n=l[e.dataKey];if("number"==typeof n){let i=Q[(0,M.pr)(e.yAxisId)]??Z,l=i(0)??G,s=i(n)??0;D&&!O&&n>0?o[e.dataKey]=function({baselineY:e,barLengthPx:t,squareSize:a,gap:r,fit:n=!1}){let{count:i,squareSize:l,columnHeight:o}=function({barLengthPx:e,squareSize:t,gap:a,fit:r=!1}){if(e<=0||t<=0)return{count:0,positions:[],columnHeight:0,squareSize:t,gap:a};if(r){let r=Math.max(1,Math.floor((e+a)/(t+a))),n=r>1?Math.max(0,(e-r*t)/(r-1)):0,i=t+n,l=[];for(let a=0;a<r;a++)l.push(e-t-a*i);return{count:r,positions:l,columnHeight:e,squareSize:t,gap:n}}let n=t+a,i=Math.max(1,Math.round(e/n)),l=i*t+Math.max(0,i-1)*a,o=[];for(let e=0;e<i;e++){let a=e*n;o.push(l-t-a)}return{count:i,positions:o,columnHeight:l,squareSize:t,gap:a}}({barLengthPx:t,squareSize:a,gap:r,fit:n});return 0===i?e:e-o+l/2}({baselineY:l,barLengthPx:l-s,squareSize:a,gap:D.squareGap,fit:D.fit}):o[e.dataKey]=s,u[e.dataKey]=h+r*(a+t)+a/2}})}N({point:l,index:i,x:O?Math.max(...Object.values(u),0):h+F/2,yPositions:o,xPositions:Object.keys(u).length>0?u:void 0})},[X,U,a,W,s.left,s.top,L,et,F,O,k,A,N,Q,Z,D,G]),ei=(0,u.useCallback)(()=>{_()},[_]),el=[],eo=[],es=[],eu=[],eh=[];(0,d.hr)(I,e=>{let t=(0,d.XE)(e);(0,c.x3)(e)?el.push(e):(0,c.xr)(e)?eu.push(e):(0,d.UV)(t)?eh.push(t):(0,d.ob)(t)?eo.push((0,d.HV)(e.type)?t:e):(0,d.OW)(t)?es.push(t):eu.push(e)});let ef=(0,u.useMemo)(()=>(0,g.P)(I),[I]),ed={...p.gK,chartPhase:(0,p.sP)(P),chartStatus:P,data:a,renderData:a,xScale:er,yScale:O?U:Z,yScales:Q,width:e,height:t,innerWidth:R,innerHeight:G,margin:s,columnWidth:et,tooltipData:$,setTooltipData:B,containerRef:C,lines:W,referenceAreas:ef,isLoaded:H,animationDuration:h,animationEasing:f,enterTransition:v,revealEpoch:q,xAccessor:V,dateLabels:ea,barScale:X,bandWidth:F,hoveredBarIndex:J,barXAccessor:L,orientation:S,stacked:k,stackOffsets:ee,squareSnap:D};return(0,r.jsx)(y._$,{value:ed,children:(0,r.jsxs)("svg",{"aria-hidden":"true",className:"overflow-visible",height:t,width:e,children:[el.length>0&&(0,r.jsx)("defs",{children:el}),(0,r.jsx)("rect",{fill:"transparent",height:t,width:e,x:0,y:0}),(0,r.jsxs)("g",{onMouseLeave:H?ei:void 0,onMouseMove:H?en:void 0,style:{cursor:H?"crosshair":"default"},transform:`translate(${s.left},${s.top})`,children:[(0,r.jsx)("rect",{fill:"transparent",height:G,width:R,x:0,y:0}),(0,d.nJ)(eo),(0,d.nJ)(es),"loading"===P?(0,r.jsx)(x.xO,{barCount:a.length||12,innerHe
1ight:G,innerWidth:R}):(0,d.nJ)(eu),(0,d.nJ)(eh)]})]})})});function j({data:e,xDataKey:t="name",margin:a,animationDuration:n=1100,animationEasing:l=f.Be,enterTransition:o,revealSignature:d,aspectRatio:y="2 / 1",className:c="",barGap:m=.2,barWidth:p,orientation:x="vertical",stacked:g=!1,stackGap:b=0,squareSnap:M,children:K,onPhaseChange:S,status:k="ready"}){let A=(0,s.I)(),D=(0,u.useRef)(null),I={...v,...a};return(0,r.jsx)("div",{className:(0,h.cn)("relative w-full overflow-visible",c),ref:D,style:{aspectRatio:y},children:(0,r.jsx)(i.A,{debounceTime:10,children:({width:a,height:i})=>(0,r.jsx)(w,{animationDuration:A?0:n,animationEasing:l,barGap:m,barWidthProp:p,containerRef:D,data:e,enterTransition:o,height:i,margin:I,onPhaseChange:S,orientation:x,revealSignature:d,squareSnap:M,stacked:g,stackGap:b,status:k,width:a,xDataKey:t,children:K})})})}j.displayName="BarChart"}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.