1(this["webpackJsonpreact-bmefx"]=this["webpackJsonpreact-bmefx"]||[]).push([[28,29],{1234:function(e,t,l){"use strict";l.r(t);var a=l(11),n=l(0),i=l(396),c=(l(1047),l(67)),r=l.n(c),s=(l(1048),l(1050),l(1049),l(1179)),o=l(312),d=l(1181),u=l(2);i.e.register(i.f,i.a,i.p,i.q),t.default=function(e){var t=e.data,l=e.width,c=e.height,b=e.unit,h=e.showLabel,m=Object(n.useRef)(null),p=Object(n.useRef)(null),f=Object(n.useContext)(o.a),g=Object(a.a)(f,2),y=g[0],j=(g[1],Object(s.a)("global")),O=Object(a.a)(j,2);return O[0],O[1],Object(n.useEffect)((function(){var e=m.current;switch(y){case"en":r.a.locale("en");break;case"pt":r.a.locale("pt");break;case"gl":r.a.locale("gl");break;default:r.a.locale("es")}var l=new i.e(e,{type:"doughnut",data:t,options:{cutout:"80%",layout:{padding:24},plugins:{tooltip:{callbacks:{title:h?void 0:function(){return!1},label:function(e){return(h&&e.label?e.label+": ":"")+Object(d.i)(e.parsed)+(null!=b?b:"")}}},legend:{display:!1}},interaction:{intersect:!1,mode:"nearest"},animation:{duration:500},maintainAspectRatio:!1,resizeDelay:200},plugins:[{id:"htmlLegend",afterUpdate:function(e,t,l){var a=p.current;if(a){for(;a.firstChild;)a.firstChild.remove();e.options.plugins.legend.labels.generateLabels(e).forEach((function(t){var l=document.createElement("li");l.style.margin=Object(d.m)().theme.margin[1];var n=document.createElement("button");n.style.display="inline-flex",n.style.alignItems="center",n.style.opacity=t.hidden?".3":"",n.onclick=function(){e.toggleDataVisibility(t.index,!t.index),e.update()};var i=document.createElement("span");i.style.display="block",i.style.width=Object(d.m)().theme.width[3],i.style.height=Object(d.m)().theme.height[3],i.style.borderRadius=Object(d.m)().theme.borderRadius.full,i.style.marginRight=Object(d.m)().theme.margin[2],i.style.borderWidth="3px",i.style.borderColor=t.fillStyle,i.style.pointerEvents="none";var c=document.createElement("span");c.style.color=Object(d.m)().theme.colors.gray[500],c.style.fontSize=Object(d.m)().theme.fontSize.sm[0],c.style.lineHeight=Object(d.m)().theme.fontSize.sm[1].lineHeight;var r=document.createTextNode(t.text);c.appendChild(r),l.appendChild(n),n.appendChild(i),n.appendChild(c),a.appendChild(l)}))}}}]});return function(){return l.destroy()}}),[y,t]),Object(u.jsxs)("div",{className:"grow flex flex-col",children:[Object(u.jsx)("div",{className:"px-5 pt-2 pb-6",children:Object(u.jsx)("ul",{ref:p,className:"flex flex-wrap justify-center ",style:{fontWeight:"bold"}})}),Object(u.jsx)("div",{children:Object(u.jsx)("canvas",{ref:m,width:l,height:c})})]})}}}]);
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.