1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[51783,38640],{38640:function(e,t,n){n.r(t);var r=n(57437);n(2265);var s=n(76705),u=n(14084);u.kL.register(u.uw,u.f$,u.ZL,u.Dx,u.u,u.De),t.default=e=>{let{data:t,option:n,title:u}=e;return(0,r.jsxs)("div",{className:"card ",style:{border:"none",height:"100%"},children:[(0,r.jsx)("div",{className:"d-flex align-items-center justify-content-between",children:(0,r.jsx)("div",{children:(0,r.jsx)("h6",{className:"",style:{fontWeight:"600",margin:"10px"},children:u})})}),(0,r.jsx)(s.$Q,{data:t,options:n,className:"mt-4 p-3"})]})}},76705:function(e,t,n){n.d(t,{$I:function(){return h},$Q:function(){return o},x1:function(){return d}});var r=n(57437),s=n(2265),u=n(14084);let a="label";function c(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function l(e,t,n=a){let r=[];e.datasets=t.map(t=>{let s=e.datasets.find(e=>e[n]===t[n]);return!s||!t.data||r.includes(s)?{...t}:(r.push(s),Object.assign(s,t),s)})}let i=(0,s.forwardRef)(function(e,t){let{height:n=150,width:i=300,redraw:f=!1,datasetIdKey:d,type:o,data:h,options:b,plugins:g=[],fallbackContent:p,updateMode:j,...m}=e,x=(0,s.useRef)(null),v=(0,s.useRef)(null),w=()=>{x.current&&(v.current=new u.kL(x.current,{type:o,data:function(e,t=a){var n;let r={labels:[],datasets:[]};return n=e.labels,r.labels=n,l(r,e.datasets,t),r}(h,d),options:b&&{...b},plugins:g}),c(t,v.current))},E=()=>{c(t,null),v.current&&(v.current.destroy(),v.current=null)};return(0,s.useEffect)(()=>{!f&&v.current&&b&&function(e,t){let n=e.options;n&&t&&Object.assign(n,t)}(v.current,b)},[f,b]),(0,s.useEffect)(()=>{if(!f&&v.current){var e,t;e=v.current.config.data,t=h.labels,e.labels=t}},[f,h.labels]),(0,s.useEffect)(()=>{!f&&v.current&&h.datasets&&l(v.current.config.data,h.datasets,d)},[f,h.datasets]),(0,s.useEffect)(()=>{v.current&&(f?(E(),setTimeout(w)):v.current.update(j))},[f,b,h.labels,h.datasets,j]),(0,s.useEffect)(()=>{v.current&&(E(),setTimeout(w))},[o]),(0,s.useEffect)(()=>(w(),()=>E()),[]),(0,r.jsx)("canvas",{ref:x,role:"img",height:n,width:i,...m,children:p})});function f(e,t){return u.kL.register(t),(0,s.forwardRef)((t,n)=>(0,r.jsx)(i,{...t,ref:n,type:e}))}let d=f("line",u.ST),o=f("bar",u.vn),h=f("doughnut",u.jI)}}]);
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.