const { Button, Eyebrow, Icon } = window.HennaByMasuDesignSystem_0b7f2a;
const { Reveal, Intro, Services, Gallery, BridalFeature, Process, Artist, Testimonial, Booking, Footer, GUTTER } = window;
const NAV = [["The atelier", "#services"], ["Selected work", "#work"], ["For the bride", "#bridal"], ["The artist", "#artist"], ["Journal", "Journal.html"], ["Price list", "Pricing.html"], ["Enquire", "Enquiry.html"]];
function Header({ onMenu, menuOpen }) {
const iconBtn = { display: "grid", placeItems: "center", minWidth: "44px", minHeight: "44px", background: "transparent", border: "none", color: "var(--ivory-50)", cursor: "pointer", textDecoration: "none" };
return (
);
}
function MenuOverlay({ open, onClose }) {
React.useEffect(() => {
if (!open) return;
const onKey = (e) => { if (e.key === "Escape") onClose(); };
document.addEventListener("keydown", onKey);
return () => document.removeEventListener("keydown", onKey);
}, [open, onClose]);
return (
);
}
function Hero() {
const vid = React.useRef(null);
const [playing, setPlaying] = React.useState(true);
const [progress, setProgress] = React.useState(0);
const ctl = { display: "grid", placeItems: "center", width: "44px", height: "44px", background: "rgba(7,8,6,.45)", border: "1px solid var(--border-hairline)", color: "var(--ivory-50)", cursor: "pointer", padding: 0 };
const toggle = () => { const v = vid.current; if (!v) return; if (v.paused) { v.play(); setPlaying(true); } else { v.pause(); setPlaying(false); } };
return (
);
}
function App() {
const [menu, setMenu] = React.useState(false);
return (
setMenu((m) => !m)} menuOpen={menu} />
setMenu(false)} />
);
}
const hostEl = document.getElementById("root");
let mountEl = hostEl.__mount;
if (!mountEl || !mountEl.isConnected) { hostEl.textContent = ""; mountEl = document.createElement("div"); hostEl.appendChild(mountEl); hostEl.__mount = mountEl; }
(mountEl.__root || (mountEl.__root = ReactDOM.createRoot(mountEl))).render();