1(()=>{"use strict";var e={801(e,t,o){e=o.hmd(e);class d{constructor(){this.activeModal=null,this.init()}init(){this.bindTriggers(),this.bindCloseButtons(),this.bindEscapeKey(),this.bindOverlayClick(),this.autoOpenModal()}autoOpenModal(){setTimeout((()=>{const e=document.querySelector(".gf-modal.auto-open");e&&(console.log("[Modal] Auto-opening:",e.id),this.open(e.id),setTimeout((()=>{const t=e.querySelector(".validation_error, .gform_confirmation_message, .gfield_error");t&&(console.log("[Modal] Scrolling to error/confirmation"),t.scrollIntoView({behavior:"smooth",block:"start"}))}),300))}),100)}bindTriggers(){document.addEventListener("click",(e=>{const t=e.target.closest("[data-modal-trigger]");if(t){e.preventDefault();const o=t.dataset.modalTrigger;console.log("[Modal] Trigger clicked:",o),this.open(o)}}))}bindCloseButtons(){document.addEventListener("click",(e=>{e.target.closest("[data-modal-close]")&&this.activeModal&&(e.preventDefault(),console.log("[Modal] Close button clicked"),this.close(this.activeModal.id))}))}bindEscapeKey(){document.addEventListener("keydown",(e=>{"Escape"===e.key&&this.activeModal&&(console.log("[Modal] Escape key pressed"),this.close(this.activeModal.id))}))}bindOverlayClick(){document.addEventListener("click",(e=>{this.activeModal&&e.target.classList.contains("gf-modal__overlay")&&(console.log("[Modal] Overlay clicked"),this.close(this.activeModal.id))}))}open(e){const t=document.getElementById(e);t?(console.log("[Modal] Opening:",e),this.activeModal&&this.activeModal.id!==e&&this.close(this.activeModal.id,!1),t.classList.add("active"),t.classList.remove("auto-open"),t.setAttribute("aria-hidden","false"),document.body.classList.add("modal-open"),this.activeModal=t,setTimeout((()=>{this.focusFirstElement(t)}),100),this.trapFocus(t),t.dispatchEvent(new CustomEvent("modalOpen",{detail:{modalId:e}})),console.log("[Modal] Opened successfully:",e)):console.error("[Modal] Modal not found:",e)}close(e,t=!0){const o=document.getElementById(e);o?(console.log("[Modal] Closing:",e),t?(o.classList.add("closing"),setTimeout((()=>{this.hideModal(o)}),300)):this.hideModal(o)):console.error("[Modal] Modal not found:",e)}hideModal(e){e.classList.remove("active","closing","auto-open"),e.setAttribute("aria-hidden","true"),document.body.classList.remove("modal-open"),this.activeModal&&this.activeModal.id===e.id&&(this.activeModal=null),e.dispatchEvent(new CustomEvent("modalClose",{detail:{modalId:e.id}})),console.log("[Modal] Closed:",e.id)}focusFirstElement(e){const t=e.querySelectorAll('input:not([type="hidden"]):not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [href], [tabindex]:not([tabindex="-1"])');if(t.length>0){const e=Array.from(t).find((e=>"INPUT"===e.tagName||"SELECT"===e.tagName||"TEXTAREA"===e.tagName));e?e.focus():t[0].focus()}}trapFocus(e){const t=e.querySelectorAll('input:not([type="hidden"]):not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [href], [tabindex]:not([tabindex="-1"])');if(0===t.length)return;const o=t[0],d=t[t.length-1],s=e=>{"Tab"===e.key&&(e.shiftKey?document.activeElement===o&&(e.preventDefault(),d.focus()):document.activeElement===d&&(e.preventDefault(),o.focus()))};e._focusTrapHandler&&e.removeEventListener("keydown",e._focusTrapHandler),e.addEventListener("keydown",s),e._focusTrapHandler=s}}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",(()=>{window.gravityFormModal=new d})):window.gravityFormModal=new d,e.exports&&(e.exports=d)}};const t={};function o(d){const s=t[d];if(void 0!==s)return s.exports;const a=t[d]={id:d,loaded:!1,exports:{}};return e[d](a,a.exports,o),a.loaded=!0,a.exports}o.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),o(801)})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.