// GSP — Electrónica: componente de página de producto, data-driven, con 3 layouts de hero. function ElReveal({ children, delay = 0, style = {} }) { const ref = React.useRef(null); React.useEffect(() => { const el = ref.current; const ob = new IntersectionObserver((es) => es.forEach(e => { if (e.isIntersecting) e.target.classList.add('visible'); }), { threshold: 0.12, rootMargin: '0px 0px -40px 0px' }); ob.observe(el); return () => ob.disconnect(); }, []); return
{children}
; } function ElImg({ icon, label, src, alt, className = '' }) { const Icon = window.Icon; if (src) { return {alt; } return (
{label}
); } function HeroCTAs({ cta }) { return (
{cta.map(([label, href, variant]) => ( ))}
); } function ProductHero({ hero }) { const Icon = window.Icon; const title =

; const video = hero.image ? ( {hero.imageAlt
) : (
); // Fondo: foto/video, o hero de color con glow (hero.solid) de altura ajustada al texto. const bg = hero.solid ?
: video; const diagonal = (
); if (hero.layout === 'split') { return (
{bg}
{hero.overline}
{title}

{hero.subtitle}

{hero.panel && (

{hero.panel.heading}

{hero.panel.items.map(([ic, txt]) => (
{txt}
))}
)}
{diagonal}
); } if (hero.layout === 'editorial') { return (
{bg}
{hero.overline}
{title}

{hero.subtitle}

{hero.stats && (
{hero.stats.map(([num, label, accent]) => (
{accent ? {num} : num}
{label}
))}
)}
{diagonal}
); } // centered (flagship-style) return (
{bg}
{hero.overline}
{title}

{hero.subtitle}

{hero.stats && (
{hero.stats.map(([num, label, accent]) => (
{accent ? {num} : num}
{label}
))}
)}
Descubrí más
{diagonal}
); } function ProductPage({ data }) { const Icon = window.Icon; return ( {data.hero.component && window[data.hero.component] ? React.createElement(window[data.hero.component], { hero: data.hero }) : } {data.showCotizador && window.Cotizador && } {data.intro && (
{data.intro.pill}

{data.intro.h2}

{data.intro.paragraphs.map((p, i) =>

{p}

)}
)}
{data.features.items.map(([ic, h, p], i) => (

{h}

{p}

))}
{data.sectors && (
{data.sectors.items.map(([ic, name]) => (
{name}
))}
)} {data.detail && (

{data.detail.heading}

    {data.detail.list.map(([ic, html], i) => (
  • ))}
)} {data.showCreds && (

Habilitaciones y certificaciones

{[ ['RI 9000-10334/I', 'IRAM-ISO 9001:2015', 'cred-iram.png'], ['ANMAC', 'Habilitación nacional', 'cred-anmac.png'], ['ASIS International', 'Estándar global de seguridad', 'cred-asis.png'], ['Prefectura Naval', 'Seguridad portuaria y fluvial', 'cred-prefectura.png'], ].map(([h, p, logo]) => (
{h}

{h}

{p}
))}
)}

{data.cta.title}

{data.cta.text}

); } window.ProductPage = ProductPage;