PageSourceSearch

https://refold.la/_next/static/chunks/76519.76e7a3e8f7f9abe6.js

js refold.la collected 2026-10-03 21:44:56 UTC 4,513 bytes, 29 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="13e6ea33-003a-402c-87f3-dcad7ff7bb94",e._sentryDebugIdIdentifier="sentry-dbid-13e6ea33-003a-402c-87f3-dcad7ff7bb94")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[76519],{69855:(e,t,a)=>{function i(e,t){e.accDescr&&t.setAccDescription?.(e.accDescr),e.accTitle&&t.setAccTitle?.(e.accTitle),e.title&&t.setDiagramTitle?.(e.title)}a.d(t,{S:()=>i}),(0,a(27361).K2)(i,"populateCommonDb")},76519:(e,t,a)=>{a.d(t,{diagram:()=>k});var i=a(90942),l=a(69855),r=a(45783),n=a(56292),s=a(27361),o=a(23523),c=a(66095),d=n.UI.pie,p={sections:new Map,showData:!1,config:d},f=p.sections,u=p.showData,g=structuredClone(d),h=(0,s.K2)(()=>structuredClone(g),"getConfig"),m=(0,s.K2)(()=>{f=new Map,u=p.showData,(0,n.IU)()},"clear"),w=(0,s.K2)(({label:e,value:t})=>{if(t<0)throw Error(`"${e}" has invalid value: ${t}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);f.has(e)||(f.set(e,t),s.Rm.debug(`added new section: ${e}, with value: ${t}`))},"addSection"),y=(0,s.K2)(()=>f,"getSections"),b=(0,s.K2)(e=>{u=e},"setShowData"),x=(0,s.K2)(()=>u,"getShowData"),D={getConfig:h,clear:m,setDiagramTitle:n.ke,getDiagramTitle:n.ab,setAccTitle:n.SV,getAccTitle:n.iN,setAccDescription:n.EI,getAccDescription:n.m7,addSection:w,getSections:y,setShowData:b,getShowData:x},S=(0,s.K2)((e,t)=>{(0,l.S)(e,t),t.setShowData(e.showData),e.sections.map(t.addSection)},"populateDb"),$={parse:(0,s.K2)(async e=>{let t=await (0,o.qg)("pie",e);s.Rm.debug(t),S(t,D)},"parse")},T=(0,s.K2)(e=>`
2  .pieCircle{
3    stroke: ${e.pieStrokeColor};
4    stroke-width : ${e.pieStrokeWidth};
5    opacity : ${e.pieOpacity};
6  }
7  .pieOuterCircle{
8    stroke: ${e.pieOuterStrokeColor};
9    stroke-width: ${e.pieOuterStrokeWidth};
10    fill: none;
11  }
12  .pieTitleText {
13    text-anchor: middle;
14    font-size: ${e.pieTitleTextSize};
15    fill: ${e.pieTitleTextColor};
16    font-family: ${e.fontFamily};
17  }
18  .slice {
19    font-family: ${e.fontFamily};
20    fill: ${e.pieSectionTextColor};
21    font-size:${e.pieSectionTextSize};
22    // fill: white;
23  }
24  .legend text {
25    fill: ${e.pieLegendTextColor};
26    font-family: ${e.fontFamily};
27    font-size: ${e.pieLegendTextSize};
28  }
29`,"getStyles"),C=(0,s.K2)(e=>{let t=[...e.values()].reduce((e,t)=>e+t,0),a=[...e.entries()].map(([e,t])=>({label:e,value:t})).filter(e=>e.value/t*100>=1);return(0,c.rLf)().value(e=>e.value).sort(null)(a)},"createPieArcs"),k={parser:$,db:D,renderer:{draw:(0,s.K2)((e,t,a,l)=>{s.Rm.debug("rendering pie chart\n"+e);let o=l.db,d=(0,n.D7)(),p=(0,r.$t)(o.getConfig(),d.pie),f=(0,i.D)(t),u=f.append("g");u.attr("transform","translate(225,225)");let{themeVariables:g}=d,[h]=(0,r.I5)(g.pieOuterStrokeWidth);h??=2;let m=p.textPosition,w=(0,c.JLW)().innerRadius(0).outerRadius(185),y=(0,c.JLW)().innerRadius(185*m).outerRadius(185*m);u.append("circle").attr("cx",0).attr("cy",0).attr("r",185+h/2).attr("class","pieOuterCircle");let b=o.getSections(),x=C(b),D=[g.pie1,g.pie2,g.pie3,g.pie4,g.pie5,g.pie6,g.pie7,g.pie8,g.pie9,g.pie10,g.pie11,g.pie12],S=0;b.forEach(e=>{S+=e});let $=x.filter(e=>"0"!==(e.data.value/S*100).toFixed(0)),T=(0,c.UMr)(D).domain([...b.keys()]);u.selectAll("mySlices").data($).enter().append("path").attr("d",w).attr("fill",e=>T(e.data.label)).attr("class","pieCircle"),u.selectAll("mySlices").data($).enter().append("text").text(e=>(e.data.value/S*100).toFixed(0)+"%").attr("transform",e=>"translate("+y.centroid(e)+")").style("text-anchor","middle").attr("class","slice");let k=u.append("text").text(o.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText"),v=[...b.entries()].map(([e,t])=>({label:e,value:t})),A=u.selectAll(".legend").data(v).enter().append("g").attr("class","legend").attr("transform",(e,t)=>"translate(216,"+(22*t-22*v.length/2)+")");A.append("rect").attr("width",18).attr("height",18).style("fill",e=>T(e.label)).style("stroke",e=>T(e.label)),A.append("text").attr("x",22).attr("y",14).text(e=>o.getShowData()?`${e.label} [${e.value}]`:e.label);let K=Math.max(...A.selectAll("text").nodes().map(e=>e?.getBoundingClientRect().width??0)),I=k.node()?.getBoundingClientRect().width??0,R=Math.min(0,225-I/2),_=Math.max(512+K,225+I/2)-R;f.attr("viewBox",`${R} 0 ${_} 450`),(0,n.a$)(f,450,_,p.useMaxWidth)},"draw")},styles:T}}}]);

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.