!function(i){var t=function(t,e){var s;this.$sliderWrapper=t,this.$slider=i(".rtcl-slider",this.$sliderWrapper),this.$sliderThumbs=i(".rtcl-slider-nav",this.$sliderWrapper),this.$slider.length&&(this.slider=this.$slider.get(0),this.swiperSlider=this.slider.swiper||null,this.sliderThumbs=this.$sliderThumbs.get(0),this.swiperThumbsSlider=(null==this||null===(s=this.sliderThumbs)||void 0===s?void 0:s.swiper)||null,this.$slider_images=i(".rtcl-slider-item",this.$slider),this.settings=Object.assign({},rtcl_single_listing_localized_params||{},this.$sliderWrapper.data("options")||{}),this.args=e||{},this.options=Object.assign({},this.args,this.settings.slider_options,this.$sliderWrapper.data("options")||{}),this.options.rtl&&"rtl"===i("html").attr("dir")&&(this.options.rtl=!0),this.slider_enabled="function"==typeof Swiper&&this.settings.slider_enabled,this.zoom_enabled=i.isFunction(i.fn.zoom)&&this.settings.zoom_enabled,this.photoswipe_enabled="undefined"!=typeof PhotoSwipe&&this.settings.photoswipe_enabled,e&&(this.slider_enabled=!1!==e.slider_enabled&&this.slider_enabled,this.zoom_enabled=!1!==e.zoom_enabled&&this.zoom_enabled,this.photoswipe_enabled=!1!==e.photoswipe_enabled&&this.photoswipe_enabled),1===this.$slider_images.length&&(this.slider_enabled=!1),this.initSlider=function(){if(this.slider_enabled){var t=this.$slider,e=this.$sliderThumbs,s=this.$sliderThumbs.data("slider-options")||{};this.options.rtl&&(t.attr("dir","rtl"),e.attr("dir","rtl"));var r,l,n,a=this;if(this.swiperThumbsSlider)r=this.swiperThumbsSlider,this.swiperThumbsSlider.update();else r=new Swiper(this.sliderThumbs,{watchSlidesVisibility:!0,spaceBetween:(null==s?void 0:s.spaceBetween)||5,slidesPerView:5,navigation:{nextEl:e.find(".swiper-button-next").get(0),prevEl:e.find(".swiper-button-prev").get(0)},direction:s.direction||"horizontal",breakpoints:{0:{slidesPerView:3},576:{slidesPerView:4},768:{allowTouchMove:!0},1024:{allowTouchMove:(null===(l=rtcl_single_listing_localized_params.slider_options)||void 0===l||null===(l=l.nav)||void 0===l?void 0:l.allowTouchMove.l)||!1}}}),this.swiperThumbsSlider=r,r.slides.forEach(function(i,t){i.addEventListener("click",function(){a.swiperSlider&&a.swiperSlider.slideTo(t),a.$sliderWrapper.trigger("rtcl_thumbnail_clicked",[t,i])})});var o={navigation:{nextEl:t.find(".swiper-button-next").get(0),prevEl:t.find(".swiper-button-prev").get(0)},on:{init:function(i){i.slides[i.activeIndex].querySelector("iframe")&&i.el.classList.add("active-video-slider")}}};this.$sliderThumbs.length&&(o.thumbs={swiper:r});var d=Object.assign({},o,this.options);this.swiperSlider?(n=this.swiperSlider,this.swiperSlider.parents=d,this.swiperSlider.update()):(n=new Swiper(this.slider,d),this.swiperSlider=n),n.on("init slideChange",function(t){a.initZoomForTarget(n.activeIndex);var e=n.activeIndex;n.slides.forEach(function(t,s){var r=i(t).find("iframe");r.length&&(s===e?r.each(function(){var t=i(this).attr("data-src"),e=i(this).attr("src");!t&&e&&i(this).attr("data-src",e),e&&e===t||i(this).attr("src",t)}):r.each(function(){var t=i(this).attr("data-src"),e=i(this).attr("src");i(this).attr("src",""),e&&!t&&i(this).attr("data-src",e)}))}),t.slides[t.activeIndex].querySelector("iframe")?t.el.classList.add("active-video-slider"):t.el.classList.remove("active-video-slider")})}},this.imagesLoaded=function(){var t=this;if(i.fn.imagesLoaded.done)return this.$sliderWrapper.trigger("rtcl_gallery_loading",this),void this.$sliderWrapper.trigger("rtcl_gallery_loaded",this);this.$sliderWrapper.imagesLoaded().progress(function(i,e){t.$sliderWrapper.trigger("rtcl_gallery_loading",[t])}).done(function(i){t.$sliderWrapper.trigger("rtcl_gallery_loaded",[t])})},this.initZoom=function(){this.zoom_enabled&&this.initZoomForTarget(0)},this.initZoomForTarget=function(t){if(this.zoom_enabled){var e=this.$slider.width(),s=!1,r=this.$slider_images.eq(t);if(i(r).each(function(t,r){var l=i(r).find("img");if(parseInt(l.data("large_image_width"))>e)return s=!0,!1}),s){var l=i.extend({touch:!1},this.settings.zoom_options);"ontouchstart"in document.documentElement&&(l.on="click"),r.trigger("zoom.destroy"),r.zoom(l),this.$sliderWrapper.on("rtcl_gallery_init_zoom",this.initZoom)}}},this.initPhotoswipe=function(){this.photoswipe_enabled&&(this.$slider.prepend('<a href="#" class="rtcl-listing-gallery__trigger"><i class="rtcl-icon-search"></i></i> </a>'),this.$slider.on("click",".rtcl-listing-gallery__trigger",this.openPhotoswipe.bind(this)))},this.getGalleryItems=function(){var t=this.$slider_images,e=[];return t.length>0&&t.each(function(t,s){var r=i(s).find("img");if(r.length){var l={src:r.attr("data-large_image"),w:r.attr("data-large_image_width"),h:r.attr("data-large_image_height"),title:r.attr("data-caption")?r.attr("data-caption"):r.attr("title")};e.push(l)}}),e},this.openPhotoswipe=function(t){t.preventDefault();var e,s=i(".pswp")[0],r=this.getGalleryItems(),l=i(t.target);e=i(t.currentTarget).hasClass("rtcl-listing-gallery__trigger")||i(t.currentTarget).closest(".rtcl-listing-gallery__trigger")||l.is(".rtcl-listing-gallery__trigger")||l.is(".rtcl-listing-gallery__trigger img")?this.$slider.find(".swiper-slide.swiper-slide-active"):l.closest(".rtcl-slider-item");var n=i.extend({index:i(e).index()},this.settings.photoswipe_options);new PhotoSwipe(s,PhotoSwipeUI_Default,r,n).init()},this.start=function(){var i=this;this.init(),this.$sliderWrapper.on("rtcl_gallery_loaded",this.init.bind(this)),setTimeout(function(){i.imagesLoaded()},1)},this.init=function(){this.initSlider(),this.initZoom(),this.initPhotoswipe()},this.start())};i.fn.rtcl_listing_gallery=function(i){return new t(this,i),this},i(document).ready(function(){i(".rtcl-slider-wrapper").each(function(){i(this).rtcl_listing_gallery()}),i(".rtcl-sl-section-columns").each(function(){var t=!1;i(this).find(".rtcl-sl-element-wrap").each(function(){if(""!==i(this).text().trim()||i(this).children().length>0)return t=!0,!1}),t||i(this).closest(".rtcl-sl-section").hide()}),i(".rtcl-slf-repeater-item").each(function(){1==i(this).children().length?i(this).addClass("has-one-item"):i(this).addClass("has-multiple-items")}),i(".rtcl-sl-section").each(function(){var t=i(this),e=t.find(".rtcl-sl-section-columns > .rtcl-sl-section-column"),s=!0;e.each(function(){var t=i(this),e=t.text().trim().length>0,r=t.find("img, video, iframe").length>0,l=t.find(".has-no-value").length>0;if(e||r||!l)return s=!1,!1}),s&&t.hide()})}),jQuery(document).ready(function(i){var t=i(".rtcl-is-collapsable");t.length&&t.each(function(){i(this).find(".rtcl-slf-repeater-item").each(function(t){var e=i(this),s=e.find("> .rtcl-slf-repeater-field");if(s.length){var r=s.first(),l=s.slice(1),n=i('<div class="rtcl-repeater-content"></div>');l.appendTo(n),e.append(n),r.css("cursor","pointer"),r.addClass("item-heading item-"+t),0===t?(n.show(),e.addClass("open")):n.hide(),r.on("click",function(){n.slideToggle(200),e.toggleClass("open")})}})})})}(jQuery);
(()=>{function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function t(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?e(Object(i),!0).forEach(function(e){n(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function n(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}jQuery(document).ready(function(){window.fluentFormrecaptchaSuccessCallback=function(e){if(window.innerWidth<768&&/iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream){var t=jQuery(".g-recaptcha").filter(function(t,n){return grecaptcha.getResponse(t)==e});t.length&&jQuery("html, body").animate({scrollTop:t.first().offset().top-jQuery(window).height()/2},0)}},window.ffValidationError=function(){var e=function(){};return(e.prototype=Object.create(Error.prototype)).constructor=e,e}(),window.ff_helper={numericVal:function(e){if(e.hasClass("ff_numeric")){var t=JSON.parse(e.attr("data-formatter"));return currency(e.val(),t).value}return e.val()||0},formatCurrency:function(e,t){if(e.hasClass("ff_numeric")){var n=JSON.parse(e.attr("data-formatter"));return currency(t,n).format()}return t}},function(e,n){e||(e={}),e.stepAnimationDuration=parseInt(e.stepAnimationDuration);var i={};window.fluentFormApp=function(t){var a=t.attr("data-form_instance");a=a?a.replace(/[^a-zA-Z0-9_-]/g,""):"";var f=window["fluent_form_"+a],s=f&&"object"===r(f)?f:null;if(!s)return console.log("No Fluent form JS vars found!"),!1;if(i[a])return i[a];e.ajaxUrl||(e.ajaxUrl=s.ajaxUrl||window.ajaxurl);var c,l,u,d,h,p,m,v,g,_,w,y,b,k,x,C,j,S,T,O,Q,E,A,F,P,D=s.form_id_selector,N="."+a;return c=o,l={},u=!1,d=function(){return n("body").find("form"+N)},p=function(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"next";t.trigger("update_slider",{goBackToStep:e,animDuration:n,isScrollTop:r,actionType:i})},m=function(e){try{var t=e.find(":input").filter(function(e,t){return"repeater_container"===n(t).attr("data-type")?!n(t).closest(".ff-repeater-container").hasClass("ff_excluded")&&(n(this).closest(".has-conditions").hasClass("ff_excluded")&&n(this).val(""),!0):!n(t).closest(".has-conditions").hasClass("ff_excluded")});x(t);var r=t.serializeArray(),i=r.map(function(e){return e.name});t=t.filter(function(){return!n(this).closest(".ff-el-input--content").find("table").length});var a={};t.each(function(){var t=n(this).attr("name");i.includes(t)||(n(this).is(":checkbox")||n(this).is(":radio"))&&(a[t]||e.find('input[name="'+t+'"]:checked').length||(r.push({name:t,value:""}),a[t]=!0))});var o={data:n.param(n.map(r,function(e){return{name:e.name,value:e.value}})),action:"fluentform_submit",form_id:e.data("form_id")};if(n.each(e.find("[type=file]"),function(e,t){var r={},i=t.name+"[]";r[i]=[],n(t).closest("div").find(".ff-uploaded-list").find(".ff-upload-preview[data-src]").each(function(e,t){r[i][e]=n(this).data("src")}),n.each(r,function(e,t){if(t.length){var r={};r[e]=t,o.data+="&"+n.param(r)}})}),e.find(".ff_uploading").length){var f=n("<div/>",{class:"error text-danger"}),c=n("<span/>",{class:"error-clear",html:"&times;",click:function(e){return n(N+"_errors").html("")}}),u=n("<span/>",{class:"error-text",text:(m="file_upload_in_progress",_="File upload in progress. Please wait...",w="fluentform_submission_messages_"+s.id,window[w]&&window[w][m]?window[w][m]:_)});return n(N+"_errors").html(f.append(u,c)).show()}if(e.find(".ff-el-recaptcha.g-recaptcha").length){var d=e.find(".ff-el-recaptcha.g-recaptcha").data("g-recaptcha_widget_id");void 0!==d&&(o.data+="&"+n.param({"g-recaptcha-response":grecaptcha.getResponse(d)}))}if(e.find(".ff-el-hcaptcha.h-captcha").length){var h=e.find(".ff-el-hcaptcha.h-captcha").data("h-captcha_widget_id");void 0!==h&&(o.data+="&"+n.param({"h-captcha-response":hcaptcha.getResponse(h)}))}if(e.find(".ff-el-turnstile.cf-turnstile").length){var p=e.find(".ff-el-turnstile.cf-turnstile").data("cf-turnstile_widget_id");void 0!==p&&(o.data+="&"+n.param({"cf-turnstile-response":turnstile.getResponse(p)}))}n(N+"_success").remove(),n(N+"_errors").html(""),e.find(".error").html(""),e.parent().find(".ff-errors-in-stack").hide(),function(e,t){var n=[],r=l;return e.hasClass("ff_has_v3_recptcha")&&(r.ff_v3_recptcha=function(e,t){var n=jQuery.Deferred(),r=e.data("recptcha_key");return grecaptcha.execute(r,{action:"submit"}).then(function(e){t.data+="&"+jQuery.param({"g-recaptcha-response":e}),n.resolve()}),n.promise()}),jQuery.each(r,function(r,i){n.push(i(e,t))}),jQuery.when.apply(jQuery,n)}(e,o).then(function(){g(e),v(e,o)})}catch(t){if(!(t instanceof ffValidationError))throw t;e.trigger("fluentform_validation_failed",{form:e,response:t.messages}),C(t.messages),b(350)}var m,_,w},v=function(t,r){var i,a,o,f=(i="t="+Date.now(),a=e.ajaxUrl,a+=(a.split("?")[1]?"&":"?")+i);u||(u=!0,n.post(f,r).then(function(r){if(!r||!r.data||!r.data.result)return t.trigger("fluentform_submission_failed",{form:t,response:r}),void C(r);if(o=r,r.data.append_data&&F(r.data.append_data),r.data.nextAction)t.trigger("fluentform_next_action_"+r.data.nextAction,{form:t,response:r});else{t.triggerHandler("fluentform_submission_success",{form:t,config:s,response:r}),jQuery(document.body).trigger("fluentform_submission_success",{form:t,config:s,response:r});var i=new CustomEvent("fluentform_submission_success",{detail:{form:t[0],config:s,response:r}});if(document.dispatchEvent(i),"redirectUrl"in r.data.result)return r.data.result.message&&(n("<div/>",{id:D+"_success",class:"ff-message-success",role:"status","aria-live":"polite"}).html(r.data.result.message).insertAfter(t).focus(),t.find(".ff-el-is-error").removeClass("ff-el-is-error")),setTimeout(function(){_(t)},500),void(location.href=r.data.result.redirectUrl);var a=D+"_success",f="#"+a;n(f).length&&n(f).slideUp("fast"),n("<div/>",{id:a,class:"ff-message-success",role:"status","aria-live":"polite"}).html(r.data.result.message).insertAfter(t).focus(),t.find(".ff-el-is-error").removeClass("ff-el-is-error"),"hide_form"==r.data.result.action?(t.hide().addClass("ff_force_hide"),t[0].reset()):(jQuery(document.body).trigger("fluentform_reset",[t,s]),t[0].reset());var c=n(f);c.length&&!k(c[0])&&n("html, body").animate({scrollTop:c.offset().top-(n("#wpadminbar")?32:0)-20},e.stepAnimationDuration)}}).fail(function(n){t.trigger("fluentform_submission_failed",{form:t,response:n});var r=new CustomEvent("fluentform_submission_failed",{detail:{form:t[0],response:n,config:s}});if(document.dispatchEvent(r),n&&n.responseJSON&&(n.responseJSON.data||n.responseJSON.errors)){if(o=n,n.responseJSON.append_data&&F(n.responseJSON.append_data),C(n.responseJSON.errors||n.responseJSON.data),b(350),t.find(".fluentform-step").length){var i=t.find(".error").not(":empty:first").closest(".fluentform-step");if(i.length){var a=i.index();p(a,e.stepAnimationDuration,!1)}}_(t)}else C(n.responseText)}).always(function(e){var n;if(u=!1,null===(n=o)||void 0===n||null===(n=n.data)||void 0===n||null===(n=n.result)||void 0===n||!n.hasOwnProperty("redirectUrl")){if(_(t),window.grecaptcha){var r=t.find(".ff-el-recaptcha.g-recaptcha").data("g-recaptcha_widget_id");void 0!==r&&grecaptcha.reset(r)}if(window.hcaptcha){var i=t.find(".ff-el-hcaptcha.h-captcha").data("h-captcha_widget_id");void 0!==i&&hcaptcha.reset(i)}if(window.turnstile){var a=t.find(".ff-el-turnstile.cf-turnstile").data("cf-turnstile_widget_id");void 0!==a&&turnstile.reset(a)}}}))},w=function(){"yes"!=t.attr("data-ff_reinit")&&(n(document).on("submit",N,function(e){e.preventDefault(),window.ff_sumitting_form||(window.ff_sumitting_form=!0,setTimeout(function(){window.ff_sumitting_form=!1},1500),m(n(this)))}),n(document).on("reset",N,function(r){!function(r){n(".ff-step-body",t).length&&p(0,e.stepAnimationDuration,!1),r.find(".ff-el-repeat .ff-t-cell").each(function(){n(this).find("input").not(":first").remove()}),r.find(".ff-el-repeat .ff-el-repeat-buttons-list").find(".ff-el-repeat-buttons").not(":first").remove();var i=r.find("input[type=checkbox],input[type=radio]");i.length&&i.each(function(e,t){(t=n(t)).prop("defaultChecked")?t.closest(".ff-el-form-check").addClass("ff_item_selected"):t.closest(".ff-el-form-check.ff_item_selected").removeClass("ff_item_selected")}),r.find("input[type=file]").closest("div").find(".ff-uploaded-list").html("").end().closest("div").find(".ff-upload-progress").addClass("ff-hidden").find(".ff-el-progress-bar").css("width","0%");var a=r.find('input[type="range"]');a.length&&a.each(function(e,t){(t=n(t)).val(t.data("calc_value")).change()}),n.each(s.conditionals,function(e,t){n.each(t.conditions,function(e,t){y(O(t.field))})})}(n(this))}),n(document).on("keydown",N+' input[type="radio"], '+N+' input[type="checkbox"]',function(e){if("Enter"===e.key)return e.preventDefault(),"radio"===n(this).attr("type")?n(this).prop("checked",!0):"checkbox"===n(this).attr("type")&&n(this).prop("checked",!n(this).prop("checked")),n(this).trigger("change"),e.stopPropagation(),!1}))},y=function(e){var t=e.prop("type");null!=t&&("checkbox"==t||"radio"==t?e.each(function(e,t){var r=n(this);r.prop("checked",r.prop("defaultChecked"))}):t.startsWith("select")?e.find("option").each(function(e,t){var r=n(this);r.prop("selected",r.prop("defaultSelected"))}):e.val(e.prop("defaultValue")),e.trigger("change"))},b=function(e){var r=s.settings.layout.errorMessagePlacement;if(r&&"stackToBottom"!=r){var i=t.find(".ff-el-is-error").first();i.length&&!k(i[0])&&n("html, body").delay(e).animate({scrollTop:i.offset().top-(n("#wpadminbar")?32:0)-20},e)}},k=function(e){if(!e)return!0;var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=n(window).height()&&t.right<=n(window).width()},C=function(e){if(t.parent().find(".ff-errors-in-stack").empty(),e)if("string"!=typeof e){var r=s.settings.layout.errorMessagePlacement;if(!r||"stackToBottom"==r)return j(e),!1;t.find(".error").empty(),t.find(".ff-el-group").removeClass("ff-el-is-error"),n.each(e,function(e,t){"string"==typeof t&&(t=[t]),n.each(t,function(t,n){S(e,n)})})}else j({error:[e]})},j=function(e){var t=d(),r=t.parent().find(".ff-errors-in-stack");e&&(n.isEmptyObject(e)||(n.each(e,function(e,i){"string"==typeof i&&(i=[i]),n.each(i,function(i,a){var o=n("<div/>",{class:"error text-danger"}),f=n("<span/>",{class:"error-clear",html:"&times;"}),s=n("<span/>",{class:"error-text","data-name":O(e).attr("name"),html:a});o.attr("role","alert"),o.append(s,f),n(document.body).trigger("fluentform_error_in_stack",{form:t,element:O(e),message:s}),r.append(o).show()});var a=O(e);if(a){var o=a.attr("name");a.attr("aria-invalid","true");var f=n("[name='"+o+"']").first();f&&f.closest(".ff-el-group").addClass("ff-el-is-error")}}),k(r[0])||n("html, body").animate({scrollTop:r.offset().top-100},350),r.on("click",".error-clear",function(){n(this).closest("div").remove(),r.hide()}).on("click",".error-text",function(){var e=n("[name='".concat(n(this).data("name"),"']")).first();n("html, body").animate({scrollTop:e.offset()&&e.offset().top-100},350,function(t){return e.focus()})})))},S=function(e,r){var i,a;(i=O(e)).length?(i.attr("aria-invalid","true"),(a=n("<div/>",{class:"error text-danger"})).attr("role","alert"),i.closest(".ff-el-group").addClass("ff-el-is-error"),i.closest(".ff-el-input--content").length?(i.closest(".ff-el-input--content").find("div.error").remove(),n(document.body).trigger("fluentform_error_below_element",{form:t,element:i,message:r}),i.closest(".ff-el-input--content").append(a.html(r))):(i.find("div.error").remove(),i.append(a.text(r)))):j([r])},T=function(){t.find(".ff-el-group,.ff_repeater_table, .ff_repeater_container").on("change","input,select,textarea",function(){if(!window.ff_disable_error_clear){n(this).attr("aria-invalid","false");var e=s.settings.layout.errorMessagePlacement;if(e||"stackToBottom"!=e){var t=n(this).closest(".ff-el-group");t.hasClass("ff-el-is-error")&&t.removeClass("ff-el-is-error").find(".error.text-danger").remove()}}})},O=function(e){var t=d(),r=n("[data-name='"+e+"']",t);return(r=r.length?r:n("[name='"+e+"']",t)).length?r:n("[name='"+e+"[]']",t)},Q=function(){t.find(".ff-el-recaptcha.g-recaptcha").length&&window.grecaptcha&&"function"==typeof window.grecaptcha.ready&&window.grecaptcha.ready(function(){t.find(".ff-el-recaptcha.g-recaptcha").each(function(){E("g-recaptcha",n(this),grecaptcha.render)})}),t.find(".ff-el-turnstile.cf-turnstile").length&&window.turnstile&&"function"==typeof window.turnstile.ready&&window.turnstile.ready(function(){t.find(".ff-el-turnstile.cf-turnstile").each(function(){E("cf-turnstile",n(this),turnstile.render)})}),t.find(".ff-el-hcaptcha.h-captcha").length&&window.hcaptcha&&t.find(".ff-el-hcaptcha.h-captcha").each(function(){E("h-captcha",n(this),hcaptcha.render)})},E=function(e,t,n){var r=t.data("sitekey"),i=t.attr("id"),a="data-".concat(e,"_widget_id");try{var o=t.attr(a);if("g-recaptcha"===e||"h-captcha"===e){if(o&&t.find("iframe").length>0)return}else if("cf-turnstile"===e){var f=t.find('input[name="cf-turnstile-response"]');if(f.length&&f.val())return;var s=t.attr(a);s&&window.turnstile&&turnstile.remove(s)}var c=i;"cf-turnstile"===e&&(c="#"+i),o=n(c,{sitekey:r}),t.attr(a,o)}catch(t){console.error("Error rendering ".concat(e,":"),t)}},A=function(e,t,n){var r="data-".concat(e,"_widget_id"),i=t.attr(r);if(i)try{return n(i),!0}catch(n){console.error("Error resetting ".concat(e,":"),n),t.removeAttr(r).removeData("".concat(e,"-rendered"))}return!1},F=function(e){jQuery.each(e,function(e,r){if(r){var i=t.find("input[name="+e+"]");i.length?i.attr("value",r):n("<input>").attr({type:"hidden",name:e,value:r}).appendTo(t)}})},P={initFormHandlers:function(){w(),h(),T(),t.removeClass("ff-form-loading").addClass("ff-form-loaded"),t.on("show_element_error",function(e,t){S(t.element,t.message)})},registerFormSubmissionHandler:w,maybeInlineForm:h=function(){t.hasClass("ff-form-inline")&&t.find("button.ff-btn-submit").css("height","50px")},reinitExtras:function(){t.find(".ff-el-recaptcha.g-recaptcha").length&&window.grecaptcha&&"function"==typeof window.grecaptcha.ready&&window.grecaptcha.ready(function(){t.find(".ff-el-recaptcha.g-recaptcha").each(function(){var e=n(this);A("g-recaptcha",e,grecaptcha.reset)||E("g-recaptcha",e,grecaptcha.render)})}),t.find(".ff-el-turnstile.cf-turnstile").length&&window.turnstile&&"function"==typeof window.turnstile.ready&&window.turnstile.ready(function(){t.find(".ff-el-turnstile.cf-turnstile").each(function(){var e=n(this);A("cf-turnstile",e,turnstile.reset)||E("cf-turnstile",e,turnstile.render)})}),t.find(".ff-el-hcaptcha.h-captcha").length&&window.hcaptcha&&t.find(".ff-el-hcaptcha.h-captcha").each(function(){var e=n(this);A("h-captcha",e,hcaptcha.reset)||E("h-captcha",e,hcaptcha.render)})},initTriggers:function(){t=d(),jQuery(document.body).trigger("fluentform_init",[t,s]),jQuery(document.body).trigger("fluentform_init_"+s.id,[t,s]),t.trigger("fluentform_init_single",[this,s]),t.find("input.ff-el-form-control").on("keypress",function(e){return 13!==e.which}),t.data("is_initialized","yes"),t.find("input.ff-read-only").each(function(){n(this).attr({tabindex:"-1",readonly:"readonly"})}),t.find(".ff-el-tooltip").on("mouseenter",function(e){var r=n(this).data("content"),i=n(".ff-el-pop-content");i.length||(n("<div/>",{class:"ff-el-pop-content"}).appendTo(document.body),i=n(".ff-el-pop-content")),r=r.replace(/<script[^]*?>[^]*?<\/script>/gi,"").replace(/<iframe[^]*?>[^]*?<\/iframe>/gi,"").replace(/<.*?\bon\w+=["'][^"']*["']/gi,"").replace(/javascript:/gi,""),i.html(r);var a=t.innerWidth()-20;i.css("max-width",a);var o=n(this).offset().left,f=i.outerWidth(),s=i.outerHeight(),c=o-f/2+10;c<15&&(c=15),i.css("top",n(this).offset().top-s-5),i.css("left",c)}),t.find(".ff-el-tooltip").on("mouseleave",function(){n(".ff-el-pop-content").remove()}),n(document).on("lity:open",function(){var e;null===(e=window.turnstile)||void 0===e||e.remove(),Q()}),t.one("focus",'input, select, textarea, input[type="checkbox"], input[type="radio"]',function(){t.trigger("fluentform_first_interaction")}),t.on("fluentform_first_interaction",function(){Q()}),t.on("ff_to_next_page ff_to_prev_page",function(e){Q()}),Q()},validate:x=function(e){e.length||(e=n("form.frm-fluent-form").find(":input").not(":button").filter(function(e,t){return!n(t).closest(".has-conditions").hasClass("ff_excluded")})),e.each(function(e,t){n(t).closest(".ff-el-group").removeClass("ff-el-is-error").find(".error").remove()}),c().validate(e,s.rules)},showErrorMessages:C,scrollToFirstError:b,settings:s,formSelector:N,sendData:v,addGlobalValidator:function(e,t){l[e]=t},config:s,showFormSubmissionProgress:g=function(e){e.addClass("ff_submitting"),e.find(".ff-btn-submit").addClass("disabled").addClass("ff-working").prop("disabled",!0)},addFieldValidationRule:function(e,t,n){s.rules[e]||(s.rules[e]={}),s.rules[e][t]=n},removeFieldValidationRule:function(e,t){e in s.rules&&t in s.rules[e]&&delete s.rules[e][t]},hideFormSubmissionProgress:_=function(e){e.removeClass("ff_submitting"),e.find(".ff-btn-submit").removeClass("disabled").removeClass("ff-working").attr("disabled",!1),t.parent().find(".ff_msg_temp").remove()}},i[a]=P,P};var a={init:function(){var e=this;setTimeout(function(){e.initMultiSelect()},100),this.initMask(),this.initNumericFormat(),this.initCheckableActive(),this.maybeInitSpamTokenProtection(),this.maybeHandleCleanTalkSubmitTime(),this.initOtherOptionHandlers()},maybeInitSpamTokenProtection:function(){var e=this;jQuery("form.frm-fluent-form").each(function(t,n){var r=jQuery(n),i=r.find(".fluent-form-token-field");if(0!==i.length&&!r.hasClass("ff_tokenizing")&&!r.hasClass("ff_tokenized")){var a=function(){r.hasClass("ff_tokenized")||r.hasClass("ff_tokenizing")||(r.addClass("ff_tokenizing"),e.generateAndSetToken(r,i))};r.one("ff_to_next_page ff_to_prev_page",function(e){a()}),r.on("fluentform_first_interaction",function(){a()})}})},generateAndSetToken:function(t,n){var r,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=t.data("form_id"),o=e.ajaxUrl+"?t="+Date.now(),f=this;jQuery.post(o,{action:"fluentform_generate_protection_token",form_id:a,nonce:null===(r=e)||void 0===r?void 0:r.token_nonce}).done(function(e){e.success&&e.data.token?(n.val(e.data.token),t.addClass("ff_tokenized")):(n.val(null),console.error("Token generation failed for form ID:",a))}).fail(function(e,r,o){console.error("Error generating token for form ID:",a,o),i&&setTimeout(function(){f.generateAndSetToken(t,n,!1)},1e3)}).always(function(){t.removeClass("ff_tokenizing")})},maybeHandleCleanTalkSubmitTime:function(){var e;null!==(e=window.fluentFormVars)&&void 0!==e&&e.has_cleantalk&&jQuery("form.frm-fluent-form").each(function(e,t){var n=jQuery(t).find(".ff_ct_form_load_time");n.length&&n.val(Math.floor(Date.now()/1e3))})},initOtherOptionHandlers:function(){jQuery(document).on("change",'.ff-other-option input[type="checkbox"]',function(){var e=jQuery(this),t=e.closest(".ff-el-input--content").find(".ff-other-input-wrapper");if(t.length)if(e.is(":checked")){t.show();var n=t.find(".ff-el-form-control");""===n.val().trim()&&setTimeout(function(){n.focus()},50)}else t.hide(),t.find(".ff-el-form-control").val("")}),jQuery(document).on("change",'.ff-other-option input[type="radio"]',function(){var e=jQuery(this),t=e.closest(".ff-el-input--content"),n=t.find(".ff-other-input-wrapper");n.length||(n=e.closest("label").next(".ff-other-input-wrapper")),e.is(":checked")&&(t.find(".ff-other-input-wrapper").hide(),n.length&&(n.show(),n.find(".ff-el-form-control").focus()))}),jQuery(document).on("change",'.ff-el-input--content input[type="radio"]',function(){var e=jQuery(this);if(!e.closest(".ff-other-option").length){var t=e.closest(".ff-el-input--content");t.find(".ff-other-input-wrapper").hide(),t.find(".ff-other-input-wrapper .ff-el-form-control").val("")}})},initMultiSelect:function(){n.isFunction(window.Choices)&&n(".ff_has_multi_select").length&&n(".ff_has_multi_select").each(function(e,r){var i=t(t({},{removeItemButton:!0,silent:!0,shouldSort:!1,searchEnabled:!0,searchResultLimit:50,searchFloor:1,searchChoices:!0,fuseOptions:{threshold:.1,distance:200,ignoreLocation:!0,tokenize:!0,matchAllTokens:!1}}),window.fluentFormVars.choice_js_vars),a=n(r).attr("data-max_selected_options");parseInt(a)&&(i.maxItemCount=parseInt(a),i.maxItemText=function(e){return(1===e?window.fluentFormVars.choice_js_vars.maxItemTextSingular:window.fluentFormVars.choice_js_vars.maxItemTextPlural).replace("%%maxItemCount%%",e)}),i.callbackOnCreateTemplates=function(){n(this.passedElement.element);return{option:function(e){var t=Choices.defaults.templates.option.call(this,e);return e.customProperties&&(t.dataset.calc_value=e.customProperties),t}}},n(r).data("choicesjs",new Choices(r,i))})},initMask:function(){if(null!=jQuery.fn.mask){var e={clearIfNotMatch:window.fluentFormVars.input_mask_vars.clearIfNotMatch,translation:{"*":{pattern:/[0-9a-zA-Z]/},0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}}};jQuery("input[data-mask]").each(function(t,n){var r=(n=jQuery(n)).attr("data-mask"),i=e;n.attr("data-mask-reverse")&&(i.reverse=!0),n.attr("data-clear-if-not-match")&&(i.clearIfNotMatch=!0),r&&n.mask(r,i)})}},initCheckableActive:function(){n(document).on("change",".ff-el-form-check input[type=radio]",function(){n(this).is(":checked")&&(n(this).closest(".ff-el-input--content").find(".ff-el-form-check").removeClass("ff_item_selected"),n(this).closest(".ff-el-form-check").addClass("ff_item_selected"))}),n(document).on("change",".ff-el-form-check input[type=checkbox]",function(){n(this).is(":checked")?n(this).closest(".ff-el-form-check").addClass("ff_item_selected"):n(this).closest(".ff-el-form-check").removeClass("ff_item_selected")})},initNumericFormat:function(){var e=n("form.frm-fluent-form .ff_numeric");n.each(e,function(e,t){var r=n(t),i=JSON.parse(r.attr("data-formatter"));r.val()&&r.val(window.ff_helper.formatCurrency(r,r.val())),r.on("blur change",function(){var e=currency(n(this).val(),i).format();n(this).val(e)})})}},o=function(){return new function(){this.errors={},this.validate=function(e,t){var r,i,a=this,o=!0;e.each(function(e,f){r=n(f),i=r.prop("name").replace("[]",""),"repeater_item"!==r.data("type")&&"repeater_container"!==r.data("type")||(i=r.attr("data-name"),t[i]=t[r.data("error_index")]),t[i]&&n.each(t[i],function(e,t){e in a&&(a[e](r,t)||(o=!1,i in a.errors||(a.errors[i]={}),a.errors[i][e]=t.message))})}),!o&&this.throwValidationException()},this.throwValidationException=function(){var e=new ffValidationError("Validation Error!");throw e.messages=this.errors,e},this.required=function(e,t){if(!t.value)return!0;var r=e.prop("type");if("checkbox"==r||"radio"==r){if(e.parents(".ff-el-group").attr("data-name")&&!t.per_row)return e.parents(".ff-el-group").find("input:checked").length;var i=n('[name="'+e.prop("name")+'"]:checked'),a=e.prop("name").replace("[]","");return i.length&&i.val()==="__ff_other_".concat(a,"__")?n('[name="'.concat(a,'__ff_other_input__"]')).val():i.length}if(r.startsWith("select")){var o=e.find(":selected");return!(!o.length||!o.val().length)}return"file"==r?e.closest("div").find(".ff-uploaded-list").find(".ff-upload-preview[data-src]").length:"false"==e.attr("is-changed")?"":String(n.trim(e.val())).length},this.url=function(e,t){var n=e.val();if(!t.value||!n.length)return!0;return/^(ftp|http|https):\/\/[^ "]+$/.test(n)},this.email=function(e,t){var n=e.val();if(!t.value||!n.length)return!0;return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(n.toLowerCase())},this.numeric=function(e,t){var r=window.ff_helper.numericVal(e);return r=r.toString(),!t.value||!r||n.isNumeric(r)},this.min=function(e,t){if(!e.val())return!0;var n=window.ff_helper.numericVal(e);return n=n.toString(),!t.value||!n.length||(this.numeric(e,t)?Number(n)>=Number(t.value):void 0)},this.max=function(e,t){if(!e.val())return!0;var n=window.ff_helper.numericVal(e);return n=n.toString(),!t.value||!n.length||(this.numeric(e,t)?Number(n)<=Number(t.value):void 0)},this.digits=function(e,t){if(!e.val())return!0;var n=window.ff_helper.numericVal(e);return n=n.toString(),!t.value||!n.length||this.numeric(e,t)&&n.length==t.value},this.max_file_size=function(){return!0},this.max_file_count=function(){return!0},this.allowed_file_types=function(){return!0},this.allowed_image_types=function(){return!0},this.force_failed=function(){return!1},this.valid_phone_number=function(e,t){if(!e.val())return!0;if(e&&e[0]){var n;if(!(n=void 0!==window.intlTelInputGlobals?window.intlTelInputGlobals.getInstance(e[0]):e.data("iti")))return!0;if(e.hasClass("ff_el_with_extended_validation"))return!!("yes"===e.data("strict_validation")&&"function"==typeof n.isValidNumberPrecise?n.isValidNumberPrecise():n.isValidNumber())&&(e.val(n.getNumber()),!0);var r=n.getSelectedCountryData(),i=e.val();return!e.attr("data-original_val")&&i&&r&&r.dialCode&&(e.val("+"+r.dialCode+i),e.attr("data-original_val",i)),!0}}}},f=n("form.frm-fluent-form");function s(e){var t=fluentFormApp(e);if(t)t.initFormHandlers(),t.initTriggers();else var n=0,r=setInterval(function(){(t=fluentFormApp(e))&&(clearInterval(r),t.initFormHandlers(),t.initTriggers()),++n>10&&(clearInterval(r),console.log("Form could not be loaded"))},1e3)}function c(){n(".ff_has_multi_select").each(function(){var e=n(this).data("choicesjs");if(e&&e.passedElement){e.passedElement.element.addEventListener("showDropdown",function(){var e=this.closest(".choices");if(e){var t=e.querySelector(".choices__list--dropdown");if(t){t.style.maxHeight="300px",t.style.overflowY="auto";var n=t.querySelector('.choices__list[role="listbox"]')||t.querySelector(".choices__list:not(.choices__list--dropdown)");n&&(n.style.maxHeight="280px",n.style.overflowY="auto",n.style.webkitOverflowScrolling="touch",n.style.touchAction="pan-y")}}},{passive:!0});var t=e.passedElement.element.closest(".choices");t&&(t.addEventListener("focus",function(n){t.classList.contains("is-open")||e.showDropdown()},!0),t.addEventListener("keydown",function(n){"Tab"===n.key&&t.classList.contains("is-open")&&e.hideDropdown()}))}})}n.each(f,function(e,t){s(n(t))}),n(document).on("ff_reinit",function(e,t){var r=n(t),i=fluentFormApp(r);if(!i)return!1;i.reinitExtras(),s(r),a.init(),r.attr("data-ff_reinit","yes")}),a.init(),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",function(){setTimeout(c,100)}):setTimeout(c,100)}(window.fluentFormVars,jQuery),jQuery(".fluentform").on("submit",".ff-form-loading",function(e){var t;e.preventDefault(),jQuery(this).parent().find(".ff_msg_temp").remove(),jQuery("<div/>",{class:"error text-danger ff_msg_temp"}).html((null===(t=window.fluentform_submission_messages_global)||void 0===t?void 0:t.javascript_handler_failed)||"Javascript handler could not be loaded. Form submission has been failed. Reload the page and try again").insertAfter(jQuery(this))})})})();
(()=>{var e={2076(e){var t=/^(?:submit|button|image|reset|file)$/i,n=/^(?:input|select|textarea|keygen)/i,r=/(\[[^\[\]]*\])/g;function i(e,t,n){if(0===t.length)return n;var r=t.shift(),o=r.match(/^\[(.+?)\]$/);if("[]"===r)return e=e||[],Array.isArray(e)?e.push(i(null,t,n)):(e._values=e._values||[],e._values.push(i(null,t,n))),e;if(o){var s=o[1],a=+s;isNaN(a)?(e=e||{})[s]=i(e[s],t,n):(e=e||[])[a]=i(e[a],t,n)}else e[r]=i(e[r],t,n);return e}function o(e,t,n){if(t.match(r))i(e,function(e){var t=[],n=new RegExp(r),i=/^([^\[\]]*)/.exec(e);for(i[1]&&t.push(i[1]);null!==(i=n.exec(e));)t.push(i[1]);return t}(t),n);else{var o=e[t];o?(Array.isArray(o)||(e[t]=[o]),e[t].push(n)):e[t]=n}return e}function s(e,t,n){return n=n.replace(/(\r)?\n/g,"\r\n"),n=(n=encodeURIComponent(n)).replace(/%20/g,"+"),e+(e?"&":"")+encodeURIComponent(t)+"="+n}e.exports=function(e,r){"object"!=typeof r?r={hash:!!r}:void 0===r.hash&&(r.hash=!0);for(var i=r.hash?{}:"",a=r.serializer||(r.hash?o:s),c=e&&e.elements?e.elements:[],l=Object.create(null),u=0;u<c.length;++u){var f=c[u];if((r.disabled||!f.disabled)&&f.name&&n.test(f.nodeName)&&!t.test(f.type)){var d=f.name,h=f.value;if("checkbox"!==f.type&&"radio"!==f.type||f.checked||(h=void 0),r.empty){if("checkbox"!==f.type||f.checked||(h=""),"radio"===f.type&&(l[f.name]||f.checked?f.checked&&(l[f.name]=!0):l[f.name]=!1),null==h&&"radio"==f.type)continue}else if(!h)continue;if("select-multiple"!==f.type)i=a(i,d,h);else{h=[];for(var p=f.options,m=!1,g=0;g<p.length;++g){var y=p[g],v=r.empty&&!y.value,w=y.value||v;y.selected&&w&&(m=!0,i=r.hash&&"[]"!==d.slice(d.length-2)?a(i,d+"[]",y.value):a(i,d,y.value))}!m&&r.empty&&(i=a(i,d,""))}}}if(r.empty)for(var d in l)l[d]||(i=a(i,d,""));return i}},5626(){function e(e){const t=!!e.getAttribute("data-show-if"),n=t?e.getAttribute("data-show-if").split(":"):e.getAttribute("data-hide-if").split(":"),r=n[0],i=(n.length>1?n[1]:"*").split("|"),o=function(e,t){const n=[],r=e.querySelectorAll('input[name="'+t+'"],select[name="'+t+'"],textarea[name="'+t+'"]');for(let e=0;e<r.length;e++)("radio"!==r[e].type&&"checkbox"!==r[e].type||r[e].checked)&&n.push(r[e].value);return n}(function(e){let t=e;for(;t.parentElement;)if(t=t.parentElement,"FORM"===t.tagName)return t;return null}(e),r);let s=!1;for(let e=0;e<o.length&&!s;e++)s=i.indexOf(o[e])>-1||i.indexOf("*")>-1&&o[e].length>0;e.style.display=t?s?"":"none":s?"none":"";const a=e.querySelectorAll("input,select,textarea");for(let e=0;e<a.length;e++)(s||t)&&a[e].getAttribute("data-was-required")&&(a[e].required=!0,a[e].removeAttribute("data-was-required")),s&&t||!a[e].required||(a[e].setAttribute("data-was-required","true"),a[e].required=!1)}function t(){const t=document.querySelectorAll(".mc4wp-form [data-show-if],.mc4wp-form [data-hide-if]");for(let n=0;n<t.length;n++)e(t[n])}function n(t){if(!t.target||!t.target.form||t.target.form.className.indexOf("mc4wp-form")<0)return;const n=t.target.form.querySelectorAll("[data-show-if],[data-hide-if]");for(let t=0;t<n.length;t++)e(n[t])}document.addEventListener("keyup",n,!0),document.addEventListener("change",n,!0),document.addEventListener("mc4wp-refresh",t,!0),window.addEventListener("load",t),t()},6564(e){e.exports&&(e.exports=function e(t,n,r){for(const i in n){if(!n.hasOwnProperty(i))continue;const o=i;let s=n[i];if(void 0===s&&(s=""),null===s&&(s=""),void 0!==r&&(o=r+"["+i+"]"),s.constructor===Array)o+="[]";else if("object"==typeof s){e(t,s,o);continue}const a=t.elements.namedItem(o);if(!a)continue;const c=a.type||a[0].type;switch(c){default:a.value=s;break;case"radio":case"checkbox":{const e=s.constructor===Array?s:[s];for(let t=0;t<a.length;t++)a[t].checked=e.indexOf(a[t].value)>-1}break;case"select-multiple":{const e=s.constructor===Array?s:[s];for(let t=0;t<a.options.length;t++)a.options[t].selected=e.indexOf(a.options[t].value)>-1}break;case"select":case"select-one":a.value=s.toString()||s;break;case"date":a.value=new Date(s).toISOString().split("T")[0]}const l=new Event("change",{bubbles:!0});switch(c){default:a.dispatchEvent(l);break;case"radio":case"checkbox":for(let e=0;e<a.length;e++)a[e].checked&&a[e].dispatchEvent(l)}}})},6942(e,t,n){const r=n(2076),i=n(6564),o=function(e,t){this.id=e,this.element=t||document.createElement("form"),this.name=this.element.getAttribute("data-name")||"Form #"+this.id,this.errors=[],this.started=!1};o.prototype.setData=function(e){try{i(this.element,e)}catch(e){console.error(e)}},o.prototype.getData=function(){return r(this.element,{hash:!0,empty:!0})},o.prototype.getSerializedData=function(){return r(this.element,{hash:!1,empty:!0})},o.prototype.setResponse=function(e){this.element.querySelector(".mc4wp-response").innerHTML=e},o.prototype.reset=function(){this.setResponse(""),this.element.querySelector(".mc4wp-form-fields").style.display="",this.element.reset()},e.exports=o},9685(e,t,n){const r=n(6942),i=[],o=new(n(9885));function s(e,t){t=t||parseInt(e.getAttribute("data-id"))||0;const n=new r(t,e);return i.push(n),n}e.exports={get:function(e){e=parseInt(e);for(let t=0;t<i.length;t++)if(i[t].id===e)return i[t];return s(document.querySelector(".mc4wp-form-"+e),e)},getByElement:function(e){const t=e.form||e;for(let e=0;e<i.length;e++)if(i[e].element===t)return i[e];return s(t)},on:function(e,t){o.on(e,t)},trigger:function(e,t){"submit"===e||e.indexOf(".submit")>0?(o.emit(t[0].id+"."+e,t),o.emit(e,t)):window.setTimeout(function(){o.emit(t[0].id+"."+e,t),o.emit(e,t)},10)}}},9885(e){function t(){this.listeners={}}t.prototype.emit=function(e,t){this.listeners[e]=this.listeners[e]??[],this.listeners[e].forEach(e=>e.apply(null,t))},t.prototype.on=function(e,t){this.listeners[e]=this.listeners[e]??[],this.listeners[e].push(t)},e.exports=t}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}const r=window.mc4wp||{},i=n(9685);function o(e,t){document.addEventListener(e,e=>{if(!e.target)return;const n=e.target;("string"==typeof n.className&&n.className.indexOf("mc4wp-form")>-1||"function"==typeof n.matches&&n.matches(".mc4wp-form *"))&&t.call(e,e)},!0)}n(5626),o("submit",function(e){if(e.defaultPrevented)return;const t=i.getByElement(e.target);i.trigger("submit",[t,e])}),o("focus",function(e){const t=i.getByElement(e.target);t.started||(i.trigger("started",[t,e]),t.started=!0)}),o("change",function(e){const t=i.getByElement(e.target);i.trigger("change",[t,e])}),r.listeners&&([].forEach.call(r.listeners,function(e){i.on(e.event,e.callback)}),delete r.listeners),r.forms=i,window.mc4wp=r})();