var forms=document.querySelectorAll("[data-freeform-multipage]");forms.forEach((function(e){e.addEventListener("freeform-stripe-appearance",(function(e){e.elementOptions.appearance=Object.assign(e.elementOptions.appearance,{variables:{colorPrimary:"#0d6efd",fontFamily:'-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"',fontSizeBase:"16px",spacingUnit:"0.2em",tabSpacing:"10px",gridColumnSpacing:"20px",gridRowSpacing:"20px",colorText:"#212529",colorBackground:"#ffffff",colorDanger:"#dc3545",borderRadius:"5px"},rules:{".Tab, .Input":{border:"1px solid #cbced0",boxShadow:"none"},".Tab:focus, .Input:focus":{border:"1px solid #0b5ed7",boxShadow:"none",outline:"0",transition:"border-color .15s ease-in-out"},".Label":{fontSize:"16px",fontWeight:"400"}}})})),e.addEventListener("freeform-on-submit",(function(e){var o=e.form.getAttribute("data-id");forms.forEach((function(e){var r=e.getAttribute("data-id");o!==r&&(e.querySelectorAll("[data-field-errors]").forEach((e=>e.remove())),e.querySelectorAll(".freeform-input").forEach((e=>e.classList.remove("freeform-has-errors"))))}))}))}));