(function loadHubSpotV2() { // Load HubSpot v2 once (global) if (document.querySelector('script[src="https://js.hsforms.net/forms/embed/v2.js"]')) return; const s = document.createElement("script"); s.src = "https://js.hsforms.net/forms/embed/v2.js"; s.defer = true; document.head.appendChild(s); })(); document.addEventListener("shown.uk.modal", () => { document.querySelectorAll(".uk-modal .hs-form-frame").forEach((frame) => { frame.style.height = "auto"; frame.style.minHeight = "1100px"; const iframe = frame.querySelector("iframe"); if (iframe) { iframe.style.height = "1100px"; iframe.style.minHeight = "1100px"; iframe.setAttribute("scrolling", "yes"); // allow scroll inside iframe as fallback } }); window.dispatchEvent(new Event("resize")); }, true); document.addEventListener('DOMContentLoaded', function () { var MODAL_ID = 'cs-booking-modal'; var FORM_TARGET = 'hbspt-form-toolbar-request'; if (window.__csBookingModalInit) return; window.__csBookingModalInit = true; document.querySelectorAll('[id="cs-request-to-book"], [id="' + MODAL_ID + '"]').forEach(function (el) { el.remove(); }); document.body.insertAdjacentHTML('beforeend', '