PageSourceSearch

https://www.infomoney.com.br/wp-content/themes/infomoney/v2/build/7148.ecfd2f15d3f7423d2011.js

js infomoney.com.br collected 2026-10-01 08:35:48 UTC 12,677 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkv2||=[]).push([[5,7148],{67148(e,t,i){i.r(t),i.d(t,{default:()=>h});var o=i(951609),r=i(476664),n=i.n(r),a=i(5010);const l=e=>{const t=Object.keys(e[0]),i=e.map(e=>t.map(t=>e[t]));return{header:t,data:i}},s={palette:{type:"distinct",items:["#2E7D32","#1976D2","#FBC02D","#C2185B","#8E24AA","#F57C00","#0288D1"]},defaultOrdinalColorScale:{},defaultLinearColorScale:{colors:["#059669","#0797FF"]},defaultFontSettings:{fontFamily:"Inter, sans-serif",fontColor:"#525252",fontSize:12},defaultBackground:{fill:"#FFFFFF",stroke:!1,cornerType:"round",corners:5},defaultAxis:{stroke:"#E5E5E5",ticks:{stroke:"#E5E5E5"},minorTicks:{stroke:"#BE5E5E5"}},defaultGridSettings:{stroke:"#E5E5E5",enabled:!0},defaultMinorGridSettings:{stroke:"#F5F5F5",enabled:!1},defaultTooltip:{title:{fontColor:"#FFFFFF",padding:{bottom:5},fontSize:14},separator:{enabled:!0},fontColor:"#FFFFFF",fontSize:14,background:{fill:"#525252",stroke:"#525252",corners:8},padding:{top:12,right:12,bottom:12,left:12}},chart:{defaultSeriesSettings:{base:{selected:{fill:"#bdbdbd",hatchFill:{type:"percent20",color:"#212121"},stroke:"1.5 #212121"}},lineLike:{selected:{stroke:"3 #212121",markers:{enabled:!0,fill:"#bdbdbd",stroke:"1.5 #212121"}}},areaLike:{normal:{fill:{keys:["#047630 0","#047630 0.2"],angle:90,mode:!0,opacity:1},stroke:{color:"#047630",thickness:2}},selected:{stroke:"3 #047630",markers:{enabled:!0,fill:"#047630",stroke:"1.5 #047630"}}},candlestick:{normal:{risingFill:"#047630",risingStroke:{color:"#047630",thickness:3,lineJoin:"round",lineCap:"round"},fallingFill:"#CB1010",fallingStroke:{color:"#CB1010",thickness:3,lineJoin:"round",lineCap:"round"}},hovered:{risingFill:"#047630",risingStroke:{color:"#047630",thickness:3,lineJoin:"round",lineCap:"round"},fallingFill:"#CB1010",fallingStroke:{color:"#CB1010",thickness:3,lineJoin:"round",lineCap:"round"}},selected:{risingFill:"#047630",risingStroke:{color:"#047630",thickness:3,lineJoin:"round",lineCap:"round"},fallingFill:"#CB1010",fallingStroke:{color:"#CB1010",thickness:3,lineJoin:"round",lineCap:"round"}}},column:{normal:{fill:"#0797FF",negativeFill:"#CB1010",stroke:"1.5 #0797FF"},hovered:{fill:"#0797FF",negativeFill:"#CB1010",stroke:"1.5 #0797FF"},selected:{fill:"#0797FF",negativeFill:"#CB1010",stroke:"3 #0797FF"}},ohlc:{normal:{risingStroke:"#252525",fallingStroke:"#acacac",markers:{enabled:!1}},hovered:{risingStroke:"#252525",fallingStroke:"#acacac"},selected:{risingStroke:"3 #252525",fallingStroke:"3 #acacac"}},spline:{stroke:{thickness:2,lineJoin:"round",lineCap:"round"}}}},pieFunnelPyramidBase:{normal:{labels:{fontColor:null}},selected:{fill:"#bdbdbd",stroke:"1.5 #212121",hatchFill:{type:"percent20",color:"#212121"}},connectorStroke:"#d7d7d7",outsideLabels:{autoColor:"#959595"},insideLabels:{autoColor:"#fff"}},map:{unboundRegions:{enabled:!0,fill:"#F7F7F7",stroke:"#B9B9B9"},defaultSeriesSettings:{base:{normal:{labels:{fontColor:"#fafafa"}}},connector:{normal:{stroke:"1.5 #252525",markers:{fill:"#252525",stroke:"1.5 #F7F7F7"}},hovered:{markers:{fill:"#252525",stroke:"1.5 #F7F7F7"}},selected:{stroke:"1.5 #000",markers:{fill:"#000",stroke:"1.5 #F7F7F7"}}},marker:{normal:{labels:{fontColor:"#000"}}}}},sparkline:{padding:0,background:{stroke:"#ffffff"},defaultSeriesSettings:{area:{stroke:"1.5 #252525",fill:"#252525 0.5"},column:{fill:"#252525",negativeFill:"#acacac"},line:{stroke:"1.5 #252525"},winLoss:{fill:"#252525",negativeFill:"#acacac"}}},bullet:{background:{stroke:"#ffffff"},defaultMarkerSettings:{fill:"#252525",stroke:"2 #252525"}},heatMap:{normal:{stroke:"1 #ffffff",labels:{fontColor:"#212121"}},hovered:{stroke:"1.5 #ffffff"},selected:{stroke:"2 #212121",fill:"#bdbdbd",hatchFill:{type:"percent20",color:"#212121"}}},treeMap:{normal:{headers:{background:{enabled:!0,fill:"#F7F7F7",stroke:"#B9B9B9"}},labels:{fontColor:"#212121"},stroke:"#B9B9B9"},hovered:{headers:{fontColor:"#959595",background:{fill:"#B9B9B9",stroke:"#B9B9B9"}}},selected:{labels:{fontColor:"#fafafa"},stroke:"2 #eceff1"}},stock:{padding:[20,30,20,60],defaultPlotSettings:{xAxis:{background:{fill:"#B9B9B9 0.5",stroke:"#B9B9B9"}}},scroller:{fill:"none",selectedFill:"#B9B9B9 0.5",outlineStroke:"#B9B9B9",defaultSeriesSettings:{base:{normal:{fill:"#999 0.6",stroke:"#999 0.6"},selected:{fill:"#999 0.6",hatchFill:null,stroke:"#999 0.6"}},lineLike:{normal:{fill:"#999 0.6",stroke:"#999 0.6"},selected:{stroke:"#999 0.6"}},areaLike:{normal:{fill:"#999 0.6",stroke:"#999 0.6"},selected:{stroke:"#999 0.6"}},candlestick:{normal:{risingFill:"#999 0.6",risingStroke:"#999 0.6",fallingFill:"#999 0.6",fallingStroke:"#999 0.6"},selected:{risingStroke:"#999 0.6",fallingStroke:"#999 0.6",risingFill:"#999 0.6",fallingFill:"#999 0.6"}},ohlc:{normal:{risingStroke:"#999 0.6",fallingStroke:"#999 0.6"},selected:{risingStroke:"#999 0.6",fallingStroke:"#999 0.6"}}}}}};var c=i(213070);class f{constructor(){this.recordChartFunctions()}recordChartFunctions(){this.chartFunctions={[a.N.AREA]:this.configArea(),[a.N.CANDLESTICK]:this.configCandlestick(),[a.N.COLUMN]:this.configColumn(),[a.N.JUMPLINE]:this.configJumpline(),[a.N.LINE]:this.configLine(),[a.N.MARKER]:this.configmarker(),[a.N.OHLC]:this.configOhlc(),[a.N.SPLINE]:this.configSpline(),[a.N.SPLINEAREA]:this.configSplineArea(),[a.N.STEPAREA]:this.configStepArea(),[a.N.STICK]:this.configStick(),[a.N.PIE]:this.configPie(),[a.N.DONUT]:this.configDonut(),[a.N.TREEMAP]:this.configTreemap(),[a.N.TREEMAPINDEX]:this.configTreemapIndex(),[a.N.PYRAMID]:this.configPyramid(),[a.N.BAR]:this.configBar(),[a.N.SANKEY]:this.configSankey(),[a.N.HIGHLOWAREA]:this.configHighLowArea(),[a.N.HIGHLOWLINE]:this.configHighLowLine()}}configArea(){return e=>{const t=n().area();return t.area(e.data,e.csvConfig),t}}configCandlestick(){return e=>{const t=n().candlestick();return t.candlestick(e.data,e.csvConfig),this.setAxis(t,e),this.setGrid(t),this.enableCrosshair(t,e),t}}configureSeries(e,t,i){const o=n().data.set(t.data);t.seriesMapping&&t.seriesMapping.length>0?t.seriesMapping.forEach((r,n)=>{const a=void 0!==r.x&&void 0!==r.value?o.mapAs({x:r.x,value:r.value}):t.data;e[i](a);const l=e.getSeriesAt(n);r.name&&l&&l.name(r.name),r.color&&l&&(l.stroke({color:r.color}),l.fill(r.color))}):e[i](t.data)}applyCommonChartConfig(e,t){this.setAxis(e,t),this.setScale(e,t),this.setGrid(e),this.enableCrosshair(e,t)}configColumn(){return e=>{const t=n().column();return this.configureSeries(t,e,"column"),this.applyCommonChartConfig(t,e),t}}configJumpline(){return e=>n().jumpline(e.data,e.csvConfig)}configLine(){return e=>{const t=n().line();return this.configureSeries(t,e,"line"),this.applyCommonChartConfig(t,e),this.enableMarkers(t,e),this.enableLegend(t),t}}configmarker(){return e=>n().marker(e.data,e.csvConfig)}configOhlc(){return e=>n().ohlc(e.data,e.csvConfig)}configSpline(){return e=>{const t=n().line();return this.configureSeries(t,e,"spline"),this.applyCommonChartConfig(t,e),this.enableMarkers(t,e),t}}configSplineArea(){return e=>n().splineArea(e.data,e.csvConfig)}configStepArea(){return e=>n().stepArea(e.data,e.csvConfig)}configStick(){return e=>n().stick(e.data,e.csvConfig)}configPie(){return e=>n().pie(e.data,e.csvConfig)}configDonut(){return e=>n().donut(e.data,e.csvConfig)}configTreemap(){return e=>n().treeMap(e.data,e.csvConfig)}configTreemapIndex(){return e=>{const t=n().treeMap(e.data,e.csvConfig);return t.headers(!1),t.labels().padding(8),t.labels().hAlign("left"),t.labels().vAlign("top"),t.labels().useHtml(!0),t.labels().format(function(){return`\n        <sp
1an style="font-size: 1rem; font-weight: 600; line-height: 1.5rem; color: #FFFFFF; margin-bottom: 0.25rem">${this.name}</span><br />\n        <span style="font-size: .75rem; font-weight: 400; line-height: 1rem; color: #FFFFFF">Variação</span><br />\n        <span style="font-size: .75rem; font-weight: 600; line-height: 1rem; color: #FFFFFF">${this.value?(0,c.l9)(this.value,!0):"-"}</span><br />\n        <span style="font-size: .75rem; font-weight: 400; line-height: 1rem; color: #FFFFFF">Participação</span><br />\n        <span style="font-size: .75rem; font-weight: 600; line-height: 1rem; color: #FFFFFF">${this.size?(0,c.l9)(this.size,!0):"-"}</span><br />\n        `}),t}}configPyramid(){return e=>n().pyramid(e.data,e.csvConfig)}configBar(){return e=>n().bar(e.data,e.csvConfig)}configSankey(){return e=>n().sankey(e.data,e.csvConfig)}configHighLowArea(){return e=>{const t=n().area();this.configureSeries(t,e,"area"),t.interactivity("byX"),this.applyCommonChartConfig(t,e);const i=t.getSeriesAt(0),o=i.data();return o.get(0,"value")<o.get(o.getRowsCount()-1,"value")?(i.fill({keys:["#047630 0","#047630 0.2"],angle:90,mode:!0,opacity:1}),i.stroke({color:"#047630",thickness:2})):(i.fill({keys:["#CB1010 0","#CB1010 0.2"],angle:90,mode:!0,opacity:1}),i.stroke({color:"#CB1010",thickness:2})),t}}configHighLowLine(){return e=>n().area(e.data,e.csvConfig)}createChart(e){const t=e.type;if(!this.chartFunctions[t])throw new Error(`Chart type ${t} is not supported.`);const i=this.chartFunctions[t](e);return this.disableCredits(i),this.setTooltip(i,e),i.margin(0,0,0,0),i.padding(16,0,16,0),i}disableCredits(e){e.credits({enabled:!1})}setScale(e,t){e.xScale({ticks:{interval:t.data.length/8,mode:"linear"},minorTicks:{enabled:!1}}),e.yScale({ticks:{mode:"linear"},minorTicks:{enabled:!1}})}setAxis(e,t){e.xAxis().labels().useHtml(!0),e.xAxis({labels:{anchor:"center",fontSize:12,fontColor:"#525252",format:t.xAxisLabelFormat||"{%Value}"},stroke:{thickness:0},ticks:{stroke:{thickness:0}}}),e.yAxis({orientation:"left",labels:{anchor:"left",fontSize:12,fontColor:"#525252",format:t.yAxisLabelFormat||"{%Value}",useHtml:!0},stroke:{thickness:0},ticks:{stroke:{thickness:0}}})}setGrid(e){e.yGrid({enabled:!0,stroke:{dash:"2 2",color:"#E5E5E5"}}),e.xGrid({enabled:!1,stroke:{color:"#E5E5E5"}})}enableCrosshair(e,t){e.crosshair(!0),e.crosshair({yLabel:{enabled:!1,format:t.yAxisLabelFormat||"{%Value}"},xLabel:{enabled:!1,format:t.xAxisLabelFormat||"{%Value}"},xStroke:{dash:4},yStroke:null})}setTooltip(e,t){e.tooltip().position("center-top"),e.tooltip().positionMode("float"),t.tooltipTitleFormat&&e.tooltip().titleFormat(t.tooltipTitleFormat),t.tooltipContentFormat&&e.tooltip().format(t.tooltipContentFormat)}enableMarkers(e,t){const i=e.getSeriesCount();for(let o=0;o<i;o++){const i=e.getSeriesAt(o),r=i.markers();r.type("circle"),r.fill("#FFFFFF"),r.stroke({color:t.seriesMapping[o].color?t.seriesMapping[o].color:i.color(),thickness:2,lineJoin:"round",lineCap:"round"}),r.enabled(!0)}}enableLegend(e){const t=e.legend();t.enabled(!0),t.align("left"),t.itemsSpacing(40),t.margin([0,0,24,0]);const i=e.getSeriesCount();for(let t=0;t<i;t++)e.getSeriesAt(t).legendItem({iconType:"line",iconSize:20})}}var d=i(810790);const g=e=>(new f).createChart(e),h=e=>{const t=(0,o.useRef)(null),i=(e=>{const t=e.type,i=e.data,o=e.title,r=e.mapping||new Map,n=e.csvConfig||a.u;return{type:t,title:o,header:(t===a.N.TREEMAPINDEX?(s=i,{header:null,data:s}):((e,t)=>Array.isArray(e)?e.length>0&&"object"==typeof e[0]&&!Array.isArray(e[0])?l(e):(e=>({header:e.map(e=>e[0]),data:e.map(e=>e.slice(1))}))(e):"object"!=typeof e||null===e||Array.isArray(e)?"string"==typeof e?((e,t)=>{const i=e.split(t.rowSeparator);return{header:i[0].split(t.columnSeparator).map(e=>e.trim()),data:i.slice(1).map(e=>e.split(t.columnSeparator))}})(e,t):{header:void 0,data:[]}:l([e]))(i,n)).header,data:i,seriesMapping:e.seriesMapping,xAxisLabelFormat:e.xAxisLabelFormat,yAxisLabelFormat:e.yAxisLabelFormat,tooltipTitleFormat:e.tooltipTitleFormat,tooltipContentFormat:e.tooltipContentFormat,mapping:r};var s})(e.chartConfig),r=(e=>(((e=s)=>{e&&n().theme(e)}
1)(e.theme),n().format.inputLocale("en-us"),n().format.outputLocale("pt-br"),n().format.outputTimezone(180),g(e)))(i,e.animation);return(0,o.useEffect)(()=>{t.current&&(t.current.innerHTML="",r.container(t.current),r.draw())},[r,t.current]),e.chartConfig.data.length>0&&(0,d.jsx)("div",{ref:t,style:{width:"100%",height:"100%"}})}},213070(e,t,i){i.d(t,["Xf",0,e=>(e=Math.abs(e)).toLocaleString("pt-BR",{minimumFractionDigits:0,maximumFractionDigits:0}),"l9",0,(e,t=!0)=>(e<0?"-":"")+(e=Math.abs(e)).toFixed(2).replace(".",",")+(t?"%":""),"sz",0,e=>{const t=e<0;return(e=Math.abs(e))>=1e12?(t?"-":"")+(e/1e12).toFixed(2).replace(".",",")+" T":e>=1e9?(t?"-":"")+(e/1e9).toFixed(2).replace(".",",")+" B":e>=1e6?(t?"-":"")+(e/1e6).toFixed(2).replace(".",",")+" M":e>=1e3?(t?"-":"")+(e/1e3).toFixed(2).replace(".",",")+" K":(t?"-":"")+e.toLocaleString("pt-BR",{minimumFractionDigits:2,maximumFractionDigits:2})},"vv",0,(e,t)=>(e=Math.abs(e)).toLocaleString("pt-BR",{minimumFractionDigits:void 0!==t?t:2,maximumFractionDigits:void 0!==t?t:2})])}}]);

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.