1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4471],{4471:(e,r,t)=>{t.r(r),t.d(r,{LineChart:()=>s});var a=t(95155),i=t(12115);function s(e){let{data:r,max:s=100,height:o=220,stroke:n="var(--primary)",fill:l="var(--primary)",className:c,showDots:d=!0,area:u=!0,yTicks:h=[0,20,40,60,80,100]}=e,[k,m]=i.useState(null);if(i.useEffect(()=>{t.e(1708).then(t.bind(t,21708)).then(e=>m(e)).catch(()=>m(null))},[]),!k)return(0,a.jsx)("div",{className:c,style:{height:o}});let{ResponsiveContainer:f,LineChart:v,Line:y,XAxis:b,YAxis:x,CartesianGrid:p,Tooltip:j,Area:g,Legend:L}=k;return(0,a.jsx)("div",{className:c,style:{height:o},children:(0,a.jsx)(f,{width:"100%",height:"100%",children:(0,a.jsxs)(v,{data:r,margin:{top:10,right:10,left:0,bottom:0},children:[(0,a.jsx)(p,{strokeDasharray:"3 3",stroke:"var(--border)"}),(0,a.jsx)(b,{dataKey:"label",stroke:"var(--foreground)",fontSize:12,tickLine:!1,axisLine:!1}),(0,a.jsx)(x,{domain:[0,s],ticks:h,stroke:"var(--foreground)",fontSize:12,tickLine:!1,axisLine:!1}),(0,a.jsx)(j,{contentStyle:{background:"var(--background)",border:"1px solid var(--border)",borderRadius:8},cursor:{stroke:"var(--primary)",strokeDasharray:"3 3"},formatter:e=>{let r="number"==typeof e?e:Number(e);return["".concat(Number.isFinite(r)?r:"-"," / 100"),"Score"]}}),(0,a.jsx)(L,{}),u&&(0,a.jsx)(g,{type:"monotone",dataKey:"value",stroke:n,fill:l,fillOpacity:.15,isAnimationActive:!1}),(0,a.jsx)(y,{type:"monotone",dataKey:"value",name:"Score",stroke:n,strokeWidth:2.5,dot:!!d&&{r:4,strokeWidth:2,fill:n},activeDot:!!d&&{r:6},isAnimationActive:!1})]})})})}}}]);
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.