(()=>{var e={7678:e=>{e.exports=function(e){var t,o,r,n,i,d,c,s,l=window.pageXOffset||document.documentElement.scrollLeft,a=(t=e,o=document.body,r=document.documentElement,n=t.getBoundingClientRect(),i=r.clientHeight,d=Math.max(o.scrollHeight,o.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight),c=n.bottom-i/2-n.height/2,s=d-i,Math.min(c+window.pageYOffset,s));window.scrollTo(l,a)}}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e,t,r,n,i,d,c=o(7678),s=o.n(c),l=window.mc4wp_submitted_form,a=window.mc4wp.forms;if(l){var u=document.getElementById(l.element_id);e=a.getByElement(u),t=l.event,r=l.errors,n=l.data,i=Date.now(),d=document.body.clientHeight,r&&e.setData(n),window.scrollY<=10&&l.auto_scroll&&s()(e.element),window.addEventListener("load",(function(){a.trigger("submitted",[e]),r?a.trigger("error",[e,r]):(a.trigger("success",[e,n]),a.trigger(t,[e,n]),"updated_subscriber"===t&&a.trigger("subscribed",[e,n,!0]));var o=Date.now()-i;l.auto_scroll&&o>1e3&&o<2e3&&document.body.clientHeight!==d&&s()(e.element)}))}})()})();