);
}
(function mount() {
// Improvements.jsx and ContactForm.jsx may still be loading from the server
// (cache-busted files are fetched async by Babel). Poll until every window
// global that needs is defined, then render once.
var needed = [
window.Nav, window.SectionHeader,
window.Hero,
window.TrustLayer, window.AnimatedStat, window.HeroKpiTile,
window.ScaleStepper, window.ScaleModel, window.DiagnosticQuiz, window.PricingCompare,
window.Problem, window.BeforeAfter, window.IdealFit, window.CtaBanner, window.Footer,
window.Pricing,
window.ContactForm,
];
if (needed.every(Boolean)) {
ReactDOM.createRoot(document.getElementById('root')).render();
} else {
requestAnimationFrame(mount);
}
}());