(function(g,n){const s={autoInit:function(){const i=n.querySelectorAll(".hydra-booking-embed-container");if(!i.length){console.error("No Hydra Booking containers found.");return}i.forEach(t=>{const o=t.getAttribute("data-meeting-id"),c=t.getAttribute("data-url");if(!o){console.error("No meeting ID found in the data-meeting-id attribute.");return}const l=`${c}/?hydra-booking=meeting&meetingId=${o}`,e=n.createElement("iframe");e.src=l,e.style.width="100%",e.style.height="100%",e.style.minHeight="600px",e.style.border="none",t.innerHTML="",t.appendChild(e),e.onload=function(){const r=e.contentWindow.document,d=r.getElementById("wpadminbar");d&&(d.style.display="none");const a=r.querySelector(".tfhb-meeting-embed-section");a&&(e.style.height=a.offsetHeight+"px")}})}};n.addEventListener("DOMContentLoaded",()=>{s.autoInit()})})(window,document);
