const { Icon, Button } = window.AIProductionStudioDesignSystem_16a811;
// 1. Global entry gateway — split hero reel
const PF_REEL_VIDEO = null; // set to a video URL for a full-width background loop
const A = 'assets/';
const PF_SIDE_VIDEO = {
left: [{ src: A + 'ugc-jewel-h264.mp4', poster: A + 'ugc-jewel-1.jpg' }, { img: A + 'kissflow-thumb.png', vimeo: '1240356853' }, { img: A + 'ugc-jewel-2.jpg', play: A + 'ugc-jewel-h264.mp4' }],
right: [{ src: A + 'rig-removal-h264.mp4', crop: true }, { src: A + 'wire-removal-h264.mp4' }, { src: A + 'set-extension-h264.mp4' }, { src: A + 'beauty-fix-redwipe-h264.mp4' }, { src: A + 'thuglife-comp-h264.mp4' }],
}; // crop: clip has baked-in letterbox bars
const PF_CLIP_MS = 5000;
function PfGateway({ onPick, onReel }) {
const [side, setSide] = React.useState(null);
const [tick, setTick] = React.useState(0);
React.useEffect(() => { const t = setInterval(() => setTick((n) => n + 1), PF_CLIP_MS); return () => clearInterval(t); }, []);
const half = (s) => ({ position: 'absolute', top: 0, bottom: 0, width: '50%', left: s === 'left' ? 0 : '50%' });
const dim = (s) => (side && side !== s ? .66 : 0);
const lineGlow = side === 'left' ? `0 0 18px ${PF_GOLD}.9),0 0 48px ${PF_GOLD}.5)` : side === 'right' ? `0 0 18px ${PF_BLUE}.9),0 0 48px ${PF_BLUE}.5)` : '0 0 14px rgba(255,255,255,.6)';
const lineColor = side === 'left' ? `${PF_GOLD}1)` : side === 'right' ? `${PF_BLUE}1)` : 'rgba(255,255,255,.8)';
const Side = ({ s, disc, n }) => {
const active = side === s;
const glow = s === 'left' ? `0 0 28px ${PF_GOLD}.55)` : 'none';
return (
);
};
return (
setSide(null)} style={{ position: 'relative', height: '100vh', minHeight: 680, overflow: 'hidden', background: 'var(--black)', marginTop: 'calc((0px + 58px) * -1)' }}>
{/* cinematic background: each side cycles its clips every 5 s, inside black film bands */}
{['left', 'right'].map((k) => {
const list = PF_SIDE_VIDEO[k];
const cur = tick % list.length;
return (
{list.map((v, i) => v.img ? (

) : (
);
})}
{/* left: organic gold bloom */}
{/* right: tracking grid, laser-blue outlines, markers */}
TRK_04 · 0.998
{[['18%', '70%'], ['74%', '18%'], ['80%', '64%'], ['36%', '82%']].map(([x, y], i) =>
)}
{/* the dividing line */}
{/* center: master showreel */}
);
}
Object.assign(window, { PfGateway });