1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9526],{22851:function(e,r,t){t.d(r,{O:function(){return n}});function n(e,r){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.01,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.9,l=e.map(e=>Number(e[r])).filter(e=>!isNaN(e));if(0===l.length)return[0,1];let a=Math.min(...l),o=Math.max(...l),s=l[0]||1,c=s*n;if(o-a<c){let e=(o+a)/2;return[Math.max(Math.round(e-c/2),0),Math.round(e+c/2)]}let d=s*t;return[Math.max(Math.round(a-d),0),Math.round(o+d)]}},17158:function(e,r,t){t.d(r,{BO:function(){return h},dg:function(){return g},h7:function(){return m}});var n=t(27573),l=t(7653),a=t(57790),o=t(57895),s=t(95192),c=t(75298);let d={light:"",dark:".dark"},i=l.createContext(null);function u(){let e=l.useContext(i);if(!e)throw Error("useChart must be used within a <ChartContainer />");return e}let h=l.forwardRef((e,r)=>{let{id:t,className:o,children:s,config:d,...u}=e,h=l.useId(),m="chart-".concat(t||h.replace(/:/g,""));return(0,n.jsx)(i.Provider,{value:{config:d},children:(0,n.jsxs)("div",{"data-chart":m,ref:r,className:(0,c.cn)("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",o),...u,children:[(0,n.jsx)(f,{id:m,config:d}),(0,n.jsx)(a.h,{children:s})]})})});h.displayName="Chart";let f=e=>{let{id:r,config:t}=e,l=Object.entries(t).filter(e=>{let[r,t]=e;return t.theme||t.color});return l.length?(0,n.jsx)("style",{dangerouslySetInnerHTML:{__html:Object.entries(d).map(e=>{let[t,n]=e;return"\n".concat(n," [data-chart=").concat(r,"] {\n").concat(l.map(e=>{var r;let[n,l]=e,a=(null===(r=l.theme)||void 0===r?void 0:r[t])||l.color;return a?" --color-".concat(n,": ").concat(a,";"):null}).join("\n"),"\n}\n")}).join("\n")}}):null},m=o.u,g=l.forwardRef((e,r)=>{let{active:t,payload:a,className:o,indicator:s="dot",hideLabel:d=!1,hideIndicator:i=!1,label:h,labelFormatter:f,labelClassName:m,formatter:g,color:p,nameKey:x,labelKey:b}=e,{config:j}=u(),y=l.useMemo(()=>{var e;if(d||!(null==a?void 0:a.length))return null;let[r]=a,t="".concat(b||r.dataKey||r.name||"value"),l=v(j,r,t),o=b||"string"!=typeof h?null==l?void 0:l.label:(null===(e=j[h])||void 0===e?void 0:e.label)||h;return f?(0,n.jsx)("div",{className:(0,c.cn)("font-medium",m),children:f(o,a)}):o?(0,n.jsx)("div",{className:(0,c.cn)("font-medium",m),children:o}):null},[h,f,a,d,m,j,b]);if(!t||!(null==a?void 0:a.length))return null;let k=1===a.length&&"dot"!==s;return(0,n.jsxs)("div",{ref:r,className:(0,c.cn)("grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",o),children:[k?null:y,(0,n.jsx)("div",{className:"grid gap-1.5",children:a.map((e,r)=>{let t="".concat(x||e.name||e.dataKey||"value"),l=v(j,e,t),a=p||e.payload.fill||e.color;return(0,n.jsx)("div",{className:(0,c.cn)("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground","dot"===s&&"items-center"),children:g&&(null==e?void 0:e.value)!==void 0&&e.name?g(e.value,e.name,e,r,e.payload):(0,n.jsxs)(n.Fragment,{children:[(null==l?void 0:l.icon)?(0,n.jsx)(l.icon,{}):!i&&(0,n.jsx)("div",{className:(0,c.cn)("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":"dot"===s,"w-1":"line"===s,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===s,"my-0.5":k&&"dashed"===s}),style:{"--color-bg":a,"--color-border":a}}),(0,n.jsxs)("div",{className:(0,c.cn)("flex flex-1 justify-between leading-none",k?"items-end":"items-center"),children:[(0,n.jsxs)("div",{className:"grid gap-1.5",children:[k?y:null,(0,n.jsx)("span",{className:"text-muted-foreground",children:(null==l?void 0:l.label)||e.name})]}),e.value&&(0,n.jsx)("span",{className:"font-mono font-medium tabular-nums text-foreground",children:e.value.toLocaleStr
1ing()})]})]})},e.dataKey)})})]})});function v(e,r,t){if("object"!=typeof r||null===r)return;let n="payload"in r&&"object"==typeof r.payload&&null!==r.payload?r.payload:void 0,l=t;return t in r&&"string"==typeof r[t]?l=r[t]:n&&t in n&&"string"==typeof n[t]&&(l=n[t]),l in e?e[l]:e[t]}g.displayName="ChartTooltip",s.D,l.forwardRef((e,r)=>{let{className:t,hideIcon:l=!1,payload:a,verticalAlign:o="bottom",nameKey:s}=e,{config:d}=u();return(null==a?void 0:a.length)?(0,n.jsx)("div",{ref:r,className:(0,c.cn)("flex items-center justify-center gap-4","top"===o?"pb-3":"pt-3",t),children:a.map(e=>{let r="".concat(s||e.dataKey||"value"),t=v(d,e,r);return(0,n.jsxs)("div",{className:(0,c.cn)("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[(null==t?void 0:t.icon)&&!l?(0,n.jsx)(t.icon,{}):(0,n.jsx)("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:e.color}}),null==t?void 0:t.label]},e.value)})}):null}).displayName="ChartLegend"}}]);
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.