/* global React */ (function(){ const { useState, useMemo } = React; /* ───── SERVICES ───── */ function Services({ i, onQuote }){ const D = window.JETEX_DATA; const [hover, setHover] = useState(null); return (
{D.services.map((s, idx)=>(
setHover(s.id)} onMouseLeave={()=>setHover(null)}>
0{idx+1}

{s.name}

{s.copy}

))}
); } /* ───── NETWORK ───── */ function NetworkSection({ i, lang, onContactFBO }){ const D = window.JETEX_DATA; const regions = ['All', 'Middle East', 'Europe', 'Africa', 'Asia Pacific', 'Americas']; const [region, setRegion] = useState('All'); const [selected, setSelected] = useState(D.terminals[0].id); const filtered = useMemo(()=> region==='All' ? D.terminals : D.terminals.filter(t=>t.region===region) , [region]); const sel = D.terminals.find(t=>t.id===selected) || filtered[0]; return (
{regions.map(r=>( ))}
{filtered.map(t=>( ))}
{sel && (
{sel.city
{sel.icao} · {sel.iata} {sel.coords}
{sel.city}
{sel.airport} · {sel.country}
{sel.status}

{sel.note}

{sel.certs.length>0 && (
{sel.certs.map(c=>( {c} ))}
)}
{i.call}
)}
); } function Meta({k,v}){ return (
{k}
{v}
); } /* ───── FEATURED TERMINAL — DUBAI DWC ───── */ function FeaturedTerminal({ i, onContactFBO }){ return ( ); } function Pill({children, mono}){ return {children}; } /* ───── SECTION HEAD ───── */ function SectionHead({ eyebrow, title, sub, light }){ return (
{eyebrow}

{title}

{sub &&
{sub}
}
); } window.JetexUI2 = { Services, NetworkSection, FeaturedTerminal, SectionHead }; })();