PageSourceSearch

https://brasilmineral.com.br/_next/static/chunks/48165-7cc23dd524113c34.js

js brasilmineral.com.br collected 2026-09-24 19:16:39 UTC 15,979 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[48165],{48165:(e,t,a)=>{a.d(t,{PremiumArticleCard:()=>w});var l=a(95155),i=a(12115),r=a(98500),o=a.n(r),s=a(5772),n=a(35871),c=a(47296),d=a(81477),m=a(40980),x=a(6467),h=a(97200),u=a(36131),f=a(85526),p=a(7203),g=a(79768);function v({href:e,title:t,editMode:a,prefetch:i}){return a?null:e.startsWith("http")?(0,l.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer","aria-label":t,className:"absolute inset-0 z-10"}):(0,l.jsx)(o(),{href:e,prefetch:i,"aria-label":t,className:"absolute inset-0 z-10"})}function w({article:e,variant:t="default",showSummary:a=!0,className:r,editMode:o,onSummaryChange:b,styleOverride:y,prefetch:j=!1}){(0,i.useRef)(null);let N=(0,h.c9)(e.imageUrl),I=new Date(e.publishedAt),z=e.link||`/noticias/${e.slug}`,k=(0,h.gH)(e.imageUrl),C=(0,l.jsx)(v,{href:z,title:e.title,editMode:o,prefetch:j}),F=y?.imageAspect||y?.imageHeightPx?{...y.imageAspect?{aspectRatio:y.imageAspect}:{},...y.imageHeightPx?{minHeight:`${y.imageHeightPx}px`}:{}}:void 0,P=e.focalPoint?`${e.focalPoint.x}% ${e.focalPoint.y}%`:y?.imageObjectPosition??"center",S=y?.titleFontSizePx?{fontSize:`${y.titleFontSizePx}px`}:void 0,M=y?.summaryFontSizePx||y?.summaryLineClamp?{...y.summaryFontSizePx?{fontSize:`${y.summaryFontSizePx}px`}:{},...y.summaryLineClamp?{WebkitLineClamp:y.summaryLineClamp}:{}}:void 0,Z=(t,i)=>a?o&&b?(0,l.jsx)(u.p,{value:e.summary??"",onChange:b,className:t,style:i,placeholder:"Edite o resumo para caber no espa\xe7o…"}):e.summary?(0,l.jsx)("p",{className:t,style:i,children:e.summary}):null:null,W=(0,l.jsx)(f.iU,{category:e.category,wrapperClassName:"absolute top-4 left-4 z-20",badgeClassName:"transition-transform duration-300 hover:scale-105 cursor-pointer",styleOverride:y}),H=(0,l.jsx)(f.iU,{category:e.category,wrapperClassName:"relative z-20 inline-block",badgeClassName:"w-fit cursor-pointer hover:opacity-80 transition-opacity",styleOverride:y});if("horizontal-compact"===t)return(0,l.jsxs)("div",{className:"group relative block cursor-pointer",children:[C,(0,l.jsx)(d.Zp,{className:(0,m.cn)("w-full transition-all hover:shadow-md hover:border-gray-300 overflow-hidden",r),children:(0,l.jsxs)("div",{className:"flex items-stretch min-h-[80px] text-left",children:[k&&(0,l.jsx)("div",{className:"relative w-1/3 flex-shrink-0 min-h-[80px] overflow-hidden",style:F,children:(0,l.jsx)(s.default,{src:N,alt:e.title,fill:!0,sizes:"(max-width: 640px) 33vw, 120px",className:"object-cover transition-transform duration-300 group-hover:scale-105",style:{objectPosition:P},loading:"lazy","data-ai-hint":"news article thumbnail"})}),(0,l.jsxs)("div",{className:"flex-grow min-w-0 space-y-0.5 p-3 flex flex-col justify-center",children:[(0,l.jsx)(f.iU,{category:e.category,wrapperClassName:"relative z-20 inline-block",badgeClassName:"rounded-full cursor-pointer hover:opacity-80 transition-opacity text-[9px] uppercase tracking-wide px-1.5 py-0",styleOverride:y}),(0,l.jsx)("h3",{className:"leading-tight line-clamp-2 group-hover:text-primary transition-colors text-xs font-semibold",style:{fontFamily:"var(--font-card-title, var(--font-heading))",lineHeight:"1.2",textWrap:"balance",...S},children:e.title}),(0,l.jsx)(p.PC,{date:I,formatKey:y?.dateFormat,fallbackFormat:"curto",showIcon:y?.dateShowIcon,fallbackShowIcon:!0,iconSize:10,className:"text-[10px] text-muted-foreground"})]})]})})]});if("overlay"===t){let t=(0,g.S)("featured"),i=(0,p.NF)(y,t);return(0,l.jsxs)("div",{className:(0,m.cn)("group relative block w-full overflow-hidden rounded-lg shadow-md transition-shadow duration-300 hover:shadow-xl cursor-pointer aspect-square sm:aspect-video min-h-[280px] sm:min-h-[220px]",r),style:F,children:[C,(0,l.jsxs)(d.Zp,{className:"h-full w-full border-none",children:[k?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"absolute inset-0",children:(0,l.jsx)(s.default,{src:N,alt:e.title,fill:!0,sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 660px",quality:75,className:"object-cover transition-all duration-500 group-hover:scale-105",style:{objectPosition:P},loading:"lazy",placeholder:"blur",blurDataURL:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjYwIiBoZWlnaHQ9IjQ0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iNjYwIiBoZWlnaHQ9IjQ0MCIgZmlsbD0iI2UwZTBlMCIvPjwvc3ZnPg==","data-ai-hint":"news article background"})}),(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/85 via-black/40 to-transparent z-10 pointer-events-none"})]}):(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-muted via-muted/80 to-background z-10 flex items-center justify-center pointer-events-none",children:(0,l.jsx)(x.A,{className:"h-16 w-16 text-muted-foreground
1/30"})}),W,(0,l.jsx)("div",{className:"absolute bottom-0 left-0 right-0 p-5 sm:p-6 text-white z-20 flex flex-col justify-end pointer-events-none",children:(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{className:(0,m.cn)("font-bold leading-tight line-clamp-3",!k&&"text-foreground"),style:{fontFamily:"var(--font-card-title, var(--font-heading))",fontSize:"clamp(1.25rem, 4vw, 2rem)",fontWeight:"var(--weight-card-title, 700)",lineHeight:"var(--line-tight, 1.2)",textWrap:"balance",...S},children:e.title}),Z((0,m.cn)("mt-2 sm:mt-3 line-clamp-2 hidden sm:block",k?"text-white/90":"text-muted-foreground","text-sm sm:text-[1rem] leading-relaxed"),M),i&&(0,l.jsx)("p",{className:(0,m.cn)("text-xs",a?"mt-2":"mt-1",k?"text-white/80":"text-muted-foreground"),children:(0,l.jsx)(p.PC,{date:I,formatKey:y?.dateFormat,fallbackFormat:"longo"})})]})})]})]})}if("compact"===t){let t=(0,g.S)("secondary"),a=(0,p.NF)(y,t);return(0,l.jsxs)("div",{className:(0,m.cn)("group relative block w-full overflow-hidden rounded-lg shadow-md transition-shadow duration-300 hover:shadow-xl cursor-pointer aspect-video min-h-[200px]",r),style:F,children:[C,(0,l.jsxs)(d.Zp,{className:"h-full w-full border-none",children:[k?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"absolute inset-0",children:(0,l.jsx)(s.default,{src:N,alt:e.title,fill:!0,sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 330px",quality:75,className:"object-cover transition-all duration-500 group-hover:scale-105",style:{objectPosition:P},loading:"lazy",placeholder:"blur",blurDataURL:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzMwIiBoZWlnaHQ9IjIyMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMzMwIiBoZWlnaHQ9IjIyMCIgZmlsbD0iI2UwZTBlMCIvPjwvc3ZnPg==","data-ai-hint":"news article background"})}),(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/40 to-transparent z-10 pointer-events-none"})]}):(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-muted via-muted/80 to-background z-10 flex items-center justify-center pointer-events-none",children:(0,l.jsx)(x.A,{className:"h-16 w-16 text-muted-foreground/30"})}),W,(0,l.jsx)("div",{className:"absolute bottom-0 left-0 right-0 p-6 text-white z-20 flex flex-col justify-end h-1/2 pointer-events-none",children:(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{className:(0,m.cn)("font-bold leading-tight line-clamp-3",!k&&"text-foreground"),style:{fontFamily:"var(--font-card-title, var(--font-heading))",fontSize:"var(--text-card-title, 1.125rem)",fontWeight:"var(--weight-card-title, 600)",lineHeight:"var(--line-tight, 1.25)",textWrap:"balance",...S},children:e.title}),Z((0,m.cn)("mt-1.5 line-clamp-2 text-xs",k?"text-white/85":"text-muted-foreground"),M),a&&(0,l.jsx)("p",{className:(0,m.cn)("mt-2 text-xs",k?"text-white/80":"text-muted-foreground"),children:(0,l.jsx)(p.PC,{date:I,formatKey:y?.dateFormat,fallbackFormat:"longo"})})]})})]})]})}if("text-only"===t){let t=(0,g.S)("text-only"),a=(0,p.NF)(y,t),i=(0,p._C)(y,t);return(0,l.jsxs)("div",{className:"group relative block cursor-pointer h-full",children:[C,(0,l.jsxs)(d.Zp,{className:"flex flex-col h-full transition-all hover:shadow-md hover:border-gray-300 p-4",children:[(0,l.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,l.jsx)(f.iU,{category:e.category,wrapperClassName:"relative z-20 inline-block mb-2",badgeClassName:"rounded-full cursor-pointer hover:opacity-80 transition-opacity text-[10px] uppercase tracking-wide",styleOverride:y}),a&&"linha-do-selo"===i&&(0,l.jsx)(p.PC,{date:I,formatKey:y?.dateFormat,fallbackFormat:"medio",showIcon:y?.dateShowIcon,fallbackShowIcon:!0,className:"text-xs text-muted-foreground mb-2"})]}),(0,l.jsx)("h3",{className:"text-sm font-semibold leading-snug line-clamp-3 group-hover:text-primary transition-colors flex-1",style:{fontFamily:"var(--font-card-title, var(--font-heading))",lineHeight:"var(--line-tight, 1.3)",textWrap:"balance",...S},children:e.title}),Z("text-xs text-muted-foreground line-clamp-2 mt-1",M),a&&"rodape"===i&&(0,l.jsx)(p.PC,{date:I,formatKey:y?.dateFormat,fallbackFormat:"medio",showIcon:y?.dateShowIcon,fallbackShowIcon:!0,iconSize:12,className:"text-xs text-muted-foreground mt-2"})]})]})}if("thumbnail-top"===t){let t=(0,g.S)("thumbnail-top"),a=(0,p.NF)(y,t),i=(0,p._C)(y,t);return(0,l.jsxs)("div",{className:"group relative block cursor-pointer h-full",children:[C,(0,l.jsxs)(d.Zp,{className:"flex flex-col h-full transition-all hover:shadow-md hover:border-gray-300 overflow-hidden",children:[k&&(0,l.jsx)("div",{className:"relative aspect-video w-full flex-shrink-0",style:F,children:(0,l.jsx)(s.default,{src:N,alt:e.title,fill:!0,sizes:"(max-width: 640px) 100v
1w, (max-width: 1024px) 50vw, 280px",className:"object-cover transition-transform duration-300 group-hover:scale-105",style:{objectPosition:P},loading:"lazy","data-ai-hint":"news article thumbnail"})}),(0,l.jsxs)("div",{className:"flex flex-col flex-1 p-4 min-w-0",children:[(0,l.jsxs)("div",{className:"flex flex-wrap items-center gap-2 mb-2",children:[(0,l.jsx)(f.iU,{category:e.category,wrapperClassName:"relative z-20 inline-block",badgeClassName:"rounded-full cursor-pointer hover:opacity-80 transition-opacity text-[10px] uppercase tracking-wide",styleOverride:y}),a&&"linha-do-selo"===i&&(0,l.jsx)(p.PC,{date:I,formatKey:y?.dateFormat,fallbackFormat:"medio",showIcon:y?.dateShowIcon,fallbackShowIcon:!0,className:"text-xs text-muted-foreground"})]}),(0,l.jsx)("h3",{className:"text-sm font-semibold leading-snug line-clamp-3 group-hover:text-primary transition-colors flex-1",style:{fontFamily:"var(--font-card-title, var(--font-heading))",lineHeight:"var(--line-tight, 1.3)",textWrap:"balance",...S},children:e.title}),Z("text-xs text-muted-foreground line-clamp-2 mt-1",M),a&&"rodape"===i&&(0,l.jsx)(p.PC,{date:I,formatKey:y?.dateFormat,fallbackFormat:"medio",showIcon:y?.dateShowIcon,fallbackShowIcon:!0,iconSize:12,className:"text-xs text-muted-foreground mt-2"})]})]})]})}if("horizontal"===t){let t=(0,g.S)("horizontal"),a=(0,p.NF)(y,t),i=(0,p._C)(y,t);return(0,l.jsxs)("div",{className:"group relative block cursor-pointer",children:[C,(0,l.jsx)(d.Zp,{className:(0,m.cn)("w-full transition-all hover:shadow-md hover:border-gray-300 overflow-hidden",r),children:(0,l.jsxs)("div",{className:"flex items-stretch min-h-[100px] text-left",children:[k&&(0,l.jsx)("div",{className:"relative w-1/3 flex-shrink-0 min-h-[100px] overflow-hidden",style:F,children:(0,l.jsx)(s.default,{src:N,alt:e.title,fill:!0,sizes:"(max-width: 640px) 33vw, 140px",className:"object-cover transition-transform duration-300 group-hover:scale-105",style:{objectPosition:P},loading:"lazy","data-ai-hint":"news article thumbnail"})}),(0,l.jsxs)("div",{className:"flex-grow min-w-0 space-y-1.5 p-4 flex flex-col justify-center",children:[(0,l.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,l.jsx)(f.iU,{category:e.category,wrapperClassName:"relative z-20 inline-block",badgeClassName:"rounded-full cursor-pointer hover:opacity-80 transition-opacity text-[10px] sm:text-xs uppercase tracking-wide",styleOverride:y}),a&&"linha-do-selo"===i&&(0,l.jsx)(p.PC,{date:I,formatKey:y?.dateFormat,fallbackFormat:"medio",showIcon:y?.dateShowIcon,fallbackShowIcon:!0,className:"text-xs text-muted-foreground"})]}),(0,l.jsx)("h3",{className:"leading-snug line-clamp-2 sm:line-clamp-3 group-hover:text-primary transition-colors text-sm sm:text-base font-semibold",style:{fontFamily:"var(--font-card-title, var(--font-heading))",lineHeight:"var(--line-tight, 1.25)",textWrap:"balance",...S},children:e.title}),Z("text-xs text-muted-foreground line-clamp-2",M),a&&"rodape"===i&&(0,l.jsx)(p.PC,{date:I,formatKey:y?.dateFormat,fallbackFormat:"medio",showIcon:y?.dateShowIcon,fallbackShowIcon:!0,iconSize:12,className:"text-xs text-muted-foreground"})]})]})})]})}if("side-by-side"===t){let t=(0,g.S)("side-by-side"),a=(0,p.NF)(y,t),i=(0,p._C)(y,t);return(0,l.jsxs)("div",{className:(0,m.cn)("group relative h-full flex flex-col cursor-pointer",r),children:[C,(0,l.jsxs)(d.Zp,{className:"flex flex-col h-full transition-all hover:shadow-md",children:[(0,l.jsxs)("div",{className:"p-4 pb-3",children:[(0,l.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[H,a&&"linha-do-selo"===i&&(0,l.jsx)(p.PC,{date:I,formatKey:y?.dateFormat,fallbackFormat:"medio",showIcon:y?.dateShowIcon,fallbackShowIcon:!1,className:"text-xs text-muted-foreground"})]}),(0,l.jsx)("h3",{className:"leading-snug mt-2 group-hover:text-primary transition-colors",style:{fontFamily:"var(--font-card-title, var(--font-heading))",fontSize:"var(--text-card-title, 1.125rem)",fontWeight:"var(--weight-card-title, 600)",lineHeight:"var(--line-tight, 1.25)",textWrap:"balance",...S},children:e.title}),Z("text-xs text-muted-foreground line-clamp-2 mt-1",M),a&&"rodape"===i&&(0,l.jsx)(p.PC,{date:I,formatKey:y?.dateFormat,fallbackFormat:"medio",showIcon:y?.dateShowIcon,fallbackShowIcon:!1,className:"text-xs text-muted-foreground mt-2"})]}
1),k&&(0,l.jsx)("div",{className:"relative aspect-video w-full mt-auto",style:F,children:(0,l.jsx)(s.default,{src:N,alt:e.title,fill:!0,sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 330px",className:"object-cover rounded-b-lg transition-transform duration-500 group-hover:scale-105",style:{objectPosition:P},loading:"lazy","data-ai-hint":"news article thumbnail"})})]})]})}return(0,l.jsxs)(d.Zp,{className:(0,m.cn)("relative flex h-full flex-col overflow-hidden transition-shadow hover:shadow-lg cursor-pointer",r),children:[C,(0,l.jsxs)("div",{className:"flex flex-col h-full group",children:[k&&(0,l.jsx)("div",{className:"relative aspect-video w-full",style:F,children:(0,l.jsx)(s.default,{src:N,alt:e.title,fill:!0,sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 330px",quality:75,className:"object-cover transition-transform duration-500 group-hover:scale-105",style:{objectPosition:P},loading:"lazy",placeholder:"blur",blurDataURL:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzMwIiBoZWlnaHQ9IjIyMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMzMwIiBoZWlnaHQ9IjIyMCIgZmlsbD0iI2UwZTBlMCIvPjwvc3ZnPg==","data-ai-hint":"news article thumbnail"})}),(0,l.jsxs)(d.aR,{children:[H,(0,l.jsx)(d.ZB,{className:"mt-2 leading-snug group-hover:text-primary transition-colors",style:{fontFamily:"var(--font-card-title, var(--font-heading))",fontSize:"var(--text-card-title, 1.125rem)",fontWeight:"var(--weight-card-title, 600)",lineHeight:"var(--line-tight, 1.25)",textWrap:"balance",...S},children:e.title})]}),a&&(e.summary||o&&b)&&(0,l.jsx)(d.Wu,{className:"flex-grow",children:Z("text-sm text-muted-foreground line-clamp-3",M)}),(0,l.jsx)("div",{className:"p-6 pt-0 mt-auto text-xs text-muted-foreground",children:(0,n.GP)(I,"d 'de' MMMM, yyyy",{locale:c.F})})]})]})}},97200:(e,t,a)=>{a.d(t,{VG:()=>o,c9:()=>i,gH:()=>r});var l=a(48884);function i(e){return e?e.replace(/[\n\r\t]/g,"").replace(/\s+/g," ").trim():""}function r(e){return!function(e){if(!e)return!0;let t=i(e);return!!(""===t||t.includes("placehold.co")||t.includes("placeholder"))}(e)}function o(e){let t=i(e);return!t||"undefined"===t||"null"===t||t.includes("placehold.co")||t.includes("placeholder")||'""'===t||"''"===t?l.tL: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.