const { Gallery, Badge, Button, DataTable, Card, Icon, MediaFrame } = window.FriendsCarsDesignSystem_f69f0e; function VehicleScreen({ car, onBack, onBook, onOpen }) { const c = car || window.FLEET[0]; const store = window.useStore(); const imgs = (c.gallery || (c.img ? [c.img] : [])).map((src) => ({ src, alt: c.name })); const rows = [ { spec: "Category", value: (window.CATEGORIES.find((x) => x.id === c.cat) || {}).label }, { spec: "Fuel", value: c.fuel }, { spec: "Transmission", value: c.gearbox }, { spec: "Seats", value: String(c.seats) }, { spec: "Rate", value: window.rupees(c.price) + " per day" }, { spec: "Delivery", value: "Doorstep in " + window.BIZ.city + ", or either airport terminal" } ]; const others = window.FLEET.filter((x) => x.cat === c.cat && x.id !== c.id).slice(0, 6); return (
{imgs.length ? : }
{c.badge ? {c.badge} : null} {c.marque}

{c.name}

{window.rupees(c.price)} / day {c.fuel} · {c.gearbox} · {c.seats} seats
Sanitised and sealed before handover Roadside assistance on every booking Doorstep pickup and drop
{others.length ? (
{others.map((x) => )}
) : null}
); } Object.assign(window, { VehicleScreen });