jQuery(document).ready(function(e){e('.et_pb_contact_field_checkbox input[type="checkbox"] + label').attr("tabindex","0"),e('.et_pb_contact_field_checkbox input[type="checkbox"] + label').on("keypress",function(t){("Enter"===t.key||13===t.keyCode)&&e(this).hasClass("keyboard-navigation-outline")&&(t.preventDefault(),e(this).prev('input[type="checkbox"]').prop("checked",function(e,t){return!t}).trigger("change"))}),e("#et_search_icon").on("keypress",function(t){("Enter"===t.key||13===t.keyCode)&&e(this).hasClass("keyboard-navigation-outline")&&e(this).trigger("click")}),e(".et_close_search_field,.et_toggle_slide_menu").on("keypress",function(t){("Enter"===t.key||13===t.keyCode)&&e(this).hasClass("keyboard-navigation-outline")&&e(this).trigger("click")});let t=".et_pb_toggle_title";e(".et_pb_toggle").each(function(a){let n=e(this),i=n.find(t),o=n.find(".et_pb_toggle_content"),r=n.hasClass("et_pb_accordion_item");i.attr("role","button"),i.attr("tabindex","0"),i.attr("aria-controls","et_pb_toggle_content_"+a),o.attr("id","et_pb_toggle_content_"+a),n.hasClass("et_pb_toggle_open")?(i.attr("aria-expanded",!0),r&&i.attr("aria-disabled",!0)):(i.attr("aria-expanded",!1),r&&i.removeAttr("aria-disabled"))}),e(t).on("keydown",function(e){32===e.which&&e.preventDefault()}),e(document).on("keyup",function(t){(13===t.which||32===t.which)&&e(".et_pb_toggle_title:focus").trigger("click")}),e(t).on("click",function(){let t=e(this),a=t.parent();a.hasClass("et_pb_accordion_item")?!a.hasClass("et_pb_toggle_open")&&(t.closest(".et_pb_accordion").find(".et_pb_toggle").each(function(){if((toggleThis=e(this)).hasClass("et_pb_toggle_open")){let t=toggleThis.find(".et_pb_toggle_title");t.attr("aria-expanded",!1),t.removeAttr("aria-disabled")}}),setTimeout(function(){t.attr("aria-expanded",!0),t.attr("aria-disabled",!0)},500)):a.hasClass("et_pb_toggle_open")?t.attr("aria-expanded",!1):t.attr("aria-expanded",!0)}),e("#et_search_icon").attr("tabindex","0"),e(".et_toggle_slide_menu").attr("tabindex","0"),e(".et_search_form_container > .et_close_search_field").attr("tabindex","0")});
jQuery(document).ready(function(t){let a=t(".et_pb_tabs_controls a");t(".et_pb_tabs_controls").each(function(){t(this).attr("role","tablist")}),t(".et_pb_tabs_controls li").each(function(){t(this).attr("role","presentation")}),a.each(function(a){t(this).attr({role:"tab"}),t(this).attr({id:"et_pb_tab_control_"+a,"aria-controls":"et_pb_tab_panel_"+a})}),t(".et_pb_tab").each(function(a){t(this).attr("role","tabpanel"),t(this).attr({id:"et_pb_tab_panel_"+a,"aria-labelledby":"et_pb_tab_control_"+a})}),t(".et_pb_tabs_controls li:not(.et_pb_tab_active) a").each(function(){t(this).attr({"aria-selected":"false","aria-expanded":"false",tabindex:-1})}),t(".et_pb_tab.et_pb_active_content").each(function(){t(this).attr("aria-hidden","false")}),t(".et_pb_tab:not(.et_pb_active_content)").each(function(){t(this).attr("aria-hidden","true")}),t(".et_pb_tabs").each(function(a){t(this).attr("data-dah-id","et_pb_tabs_"+a)}),a.on("click",function(){let a=t(this).closest(".et_pb_tabs").attr("data-dah-id");t('[data-dah-id="'+a+'"] .et_pb_tabs_controls a').attr({"aria-selected":"false","aria-expanded":"false",tabindex:-1}),t(this).attr({"aria-selected":"true","aria-expanded":"true",tabindex:0}),t("#"+a+" .et_pb_tab").attr("aria-hidden","true"),t('[aria-labelledby="'+t(this).attr("id")+'"]').attr("aria-hidden","false")}),a.keyup(function(e){let i=t(this).closest(".et_pb_tabs").attr("data-dah-id"),r=t('[data-dah-id="'+i+'"]');if(39===e.which){let n=r.find("li.et_pb_tab_active").next();n.length>0?n.find("a").trigger("click"):r.find("li:first a").trigger("click")}else if(37===e.which){let l=r.find("li.et_pb_tab_active").prev();l.length>0?l.find("a").trigger("click"):r.find("li:last a").trigger("click")}a.removeClass("keyboard-outline"),r.find("li.et_pb_tab_active a").addClass("keyboard-outline")}),t("li.menu-item-has-children > a").each(function(){t(this).attr({"aria-haspopup":"true"})}),t("a:not(li.menu-item a, .et-social-icon a, .wp-block-button__link, figure a, .et_pb_button, .et_pb_video_play a, .et_pb_tabs_controls a)").each(function(){t(this).attr("aria-pressed")||t(this).attr("role","link")}),t(".et_pb_toggle.et_pb_module .et_pb_toggle_title, #et_search_icon, .et_close_search_field, #searchsubmit, .wp-block-button__link, .et_pb_button, .et_pb_video_play a").each(function(){t(this).attr({role:"button"})}),t("#g-recaptcha-response").each(function(){t(this).attr({"aria-hidden":"true","aria-label":pacDaAccessibilityASLabels.do_not_use,"aria-readonly":"true"})}),t('[data-required_mark="required"]').each(function(){t(this).attr("aria-required","true")}),t(".et-pb-contact-message").attr("role","alert"),t("#et-main-area > div").attr("role","main"),t(".et_pb_fullwidth_header").each(function(a){t(this).attr("aria-label",pacDaAccessibilityASLabels.wide_header+a)}),t("#comment-wrap").attr("aria-label",pacDaAccessibilityASLabels.comments),t(".et_pb_search").each(function(a){t(this).attr("id","et_pb_search_"+a)}),t("#et_search_icon, .et_close_search_field").each(function(){t(this).attr({role:"search"})}),t("video").attr("aria-hidden","true"),t('a[target="_blank"]').each(function(){var a=t(this);if(a.attr("aria-label")){var e=a.attr("aria-label");a.attr("aria-label",e+" (opens in a new tab)")}else{var i=t.trim(a.text())||"link";a.attr("aria-label",i+" (opens in a new tab)")}})});
jQuery(document).ready(function(e){let a=e("#et_mobile_nav_menu .mobile_menu_bar");a.attr({role:"button","aria-expanded":"false","aria-label":"Menu",tabindex:0}),a.on("click",function(){e(this).hasClass("pac-da-mobile-menu-open")?e(this).removeClass("pac-da-mobile-menu-open").attr("aria-expanded","false"):e(this).addClass("pac-da-mobile-menu-open").attr("aria-expanded","true")}),a.keyup(function(e){(13===e.keyCode||32===e.keyCode)&&a.click()}),e(document).keyup(function(n){27===n.keyCode&&e("#et_mobile_nav_menu .mobile_nav").hasClass("opened")&&a.click()}),e(this).on("focusin",function(){e("#et_mobile_nav_menu .mobile_nav").hasClass("opened")&&!e("#et_mobile_nav_menu .et_mobile_menu :focus").length&&a.click()})});
jQuery(document).ready(function(t){setTimeout(function(){t("a.et-pb-arrow-prev").each(function(){t(this).attr("aria-label",pacDaAccessibilityALabels.click_to_move_to_previous_slide),t(this).attr("label","button")}),t("a.et-pb-arrow-next").each(function(){t(this).attr("aria-label",pacDaAccessibilityALabels.click_to_move_to_next_slide),t(this).attr("label","button")}),t("button.et_pb_menu__icon").each(function(){let e=t(this).attr("class");"search-button"===(e=(e=e.replace("et_pb_menu__icon","").trim()).replace("et_pb_menu__","").trim())&&(e=pacDaAccessibilityALabels.input_search_label),t(this).attr("aria-label",e)});let e=window.location.href.replace(/\/+$/,"");t("li.menu-item a,a.mega-menu-link").each(function(){let a=t(this),i=a.text().trim(),r=a.attr("href")?.trim()||"",o=r.replace(/\/+$/,"");""!==i&&a.attr("aria-label",i),a.attr("role",""===r||"#"===r||o===e+"/#"?"button":"link")}),t(".mobile_menu_bar").on("click",function(){let e="true"===t(this).attr("aria-expanded");e?t("#et-main-area").attr("aria-hidden","true"):t("#et-main-area").removeAttr("aria-hidden")}),t(".et_pb_social_icon > a.icon").each(function(){let e=t(this).attr("title");e="twitter"===e?"X":e,e=pacDaAccessibilityALabels.visit_our+" "+e+" "+pacDaAccessibilityALabels.page,t(this).attr("aria-label",e)}),t(".et-social-icon").each(function(){let e=t(this).attr("class");e="twitter"===(e=(e=e.replace("et-social-icon","").trim()).replace("et-social-","").trim())?"X":e,e=pacDaAccessibilityALabels.visit_our+" "+e+" "+pacDaAccessibilityALabels.page,t(this).find("a").attr("aria-label",e)}),t(".et_pb_module article.et_pb_post .post-content .more-link").each(function(){if("read more"==t(this).text().toLowerCase()){let e=t(this).parent().parent().find(".entry-title > a").text();t(this).attr("aria-label",pacDaAccessibilityALabels.read_more_about+" "+e)}}),t("a.et_pb_video_play").each(function(){t(this).attr("aria-label",pacDaAccessibilityALabels.video_play_button)}),t(".et_pb_module.et_pb_image>a").each(function(){let e=t(this).find("img").attr("alt");if(void 0!==(e=void 0!==e&&""!==e.trim()?e:t(this).find("img").attr("title"))&&""!==e.trim())t(this).attr("aria-label",e);else if(void 0!==(e=t(this).attr("href"))&&!e.startsWith("#")){let a=(e=e.endsWith("/")?e.slice(0,-1):e).lastIndexOf("/");e=e.substring(a+1),t(this).attr("aria-label",e)}}),t(".swiper-button-prev").attr({"aria-label":pacDaAccessibilityALabels.click_to_move_to_previous_slide}),t(".swiper-button-next").attr({"aria-label":pacDaAccessibilityALabels.click_to_move_to_next_slide}),t(".et_close_search_field,.et_pb_menu__close-search-button").attr("aria-label",pacDaAccessibilityALabels.button_to_close_search_menu);var a=t("<input>",{type:"submit",style:"display:none;"});function i(t){var e=Math.floor(t%60);return Math.floor(t/60)+":"+(e<10?"0":"")+e}t("header form.et-search-form").append(a),t("header form.et_pb_menu__search-form").append(a),t("header form.et-search-form").attr({"aria-label":pacDaAccessibilityALabels.search_form}),t("header form.et_pb_menu__search-form").attr({"aria-label":pacDaAccessibilityALabels.menu_search_form}),t(".et_pb_module.et_pb_menu .et_mobile_nav_menu").attr({"aria-label":pacDaAccessibilityALabels.open_and_close_mobile_menu}),t(".et_pb_module.et_pb_menu .et_mobile_nav_menu").attr({role:"button"}),t(".et_pb_module.et_pb_menu .et_mobile_nav_menu").attr({tabindex:0}),t(".et_pb_module.et_pb_menu .et_mobile_nav_menu").on("keydown",function(e){t(this).is(":focus")&&("Enter"===e.key||13===e.keyCode)&&t(this).find(".mobile_menu_bar").trigger("click")}),t(".et_pb_toggle_title").on("keydown",function(e){t(this).is(":focus")&&("Enter"===e.key||13===e.keyCode)&&t(this).trigger("click")}),t(".mejs-container").each(function(){var e=t(this).parent().find(".et_pb_module_header").text(),a=t(this).parent().find(".et_audio_module_meta strong").text();t(this).attr("aria-label",pacDaAccessibilityALabels.audio_player+": "+e+" "+pacDaAccessibilityALabels.by+" "+a)}),t("audio.wp-audio-shortcode").each(function(){var e=t(this),a=new Audio(e.attr("src"));t(a).on("loadedmetadata",function(){var t=i(a.duration);e.closest(".mejs-container").find(".mejs-time-slider").attr("aria-valuetext","0:00 of "+t)}),a.load()}),t("audio.wp-audio-shortcode").on("timeupdate",function(){var e=t(this).prop("currentTime"),a=t(this).prop("duration"),r=i(e),o=i(a);t(".mejs-time-slider").attr("aria-valuetext",r+" "+pacDaAccessibilityALabels.of+" "+o)}),t("span.et_pb_scroll_top").each(function(){t(this).attr("role","button"),t(this).attr("aria-label",pacDaAccessibilityALabels.back_to_top),t(this).attr({tabindex:"0"}),t(this).keyup(function(e){13===e.keyCode&&t(this).hasClass("keyboard-navigation-outline")&&(t(this).click(),setTimeout(()=>{t("a, button, input, textarea, select, [tabindex]:not([tabindex='-1'])").filter(":visible").first().focus()},300))})})},500)});
jQuery(document).ready(function(e){e("#et_top_search, .et_close_search_field, .et_pb_testimonial").attr("aria-hidden","true"),e(".et_pb_main_blurb_image").each(function(){let t=e(this),a=t.children("a").length>0;a||t.attr("aria-hidden","true")})});
jQuery(document).ready(function(t){setTimeout(function(){t("a>i.fa").each(function(){let a=t(this).attr("class");a.indexOf("fa-brands")&&(a=(a=(a=a.replace("fa-brands","")).replace("fa-","")).replace("fa",""),t(this).parents().attr("aria-label","Folow on "+a.trim()))}),jQuery(".et-pb-controllers a").attr("role","button"),t('ul[role="menu"]').each(function(){t(this).find("li").attr("role","menuitem")}),jQuery(".logo_container>.logo_helper").attr("role","none"),jQuery('.et_pb_search input[type="submit"]').attr("role","button"),jQuery('input:not([type="hidden"]), textarea, select').each(function(){var a=t(this).attr("id");if(!t('label[for="'+a+'"]').length){var e=t(this).attr("placeholder"),i=t(this).attr("aria-label"),l=t(this).attr("aria-labelledby"),r=t(this).attr("title"),s=t(this).attr("data-label"),n=t(this).attr("name"),o=e||i||r||s||n;!o&&l&&(o=t("#"+l).text()),o||"Submit"!==t(this).attr("value")&&"submit"!==t(this).attr("type")||(o="Submit button"),o||(o="Label "+t(this).attr("type")),o=(o=o.replace(/[-_]/g," ")).charAt(0).toUpperCase()+o.slice(1),t(this).attr("aria-label",o)}}),jQuery("label").each(function(){let t=jQuery(this);("none"===t.css("display")||"hidden"===t.css("visibility"))&&t.addClass("pac-da-sr-only").css({display:"block",visibility:"visible"})})},1e3)});
window.onerror=function(r,e,o,s,n){var t={message:r,source:e,lineno:o,colno:s,error:n?n.stack:null,url:window.location.href},l=JSON.parse(localStorage.getItem("browserErrors"))||[];return l.push(t),l.length>100&&l.shift(),localStorage.setItem("browserErrors",JSON.stringify(l)),console.error(n),!0};
!function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return n.indexOf(t)==-1&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{},n=i[e]=i[e]||{};return n[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return n!=-1&&i.splice(n,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],o=0;o<i.length;o++){var r=i[o],s=n&&n[r];s&&(this.off(e,r),delete n[r]),r.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),function(e,t){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(i){return t(e,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter")):e.imagesLoaded=t(e,e.EvEmitter)}("undefined"!=typeof window?window:this,function(e,t){function i(e,t){for(var i in t)e[i]=t[i];return e}function n(e){if(Array.isArray(e))return e;var t="object"==typeof e&&"number"==typeof e.length;return t?d.call(e):[e]}function o(e,t,r){if(!(this instanceof o))return new o(e,t,r);var s=e;return"string"==typeof e&&(s=document.querySelectorAll(e)),s?(this.elements=n(s),this.options=i({},this.options),"function"==typeof t?r=t:i(this.options,t),r&&this.on("always",r),this.getImages(),h&&(this.jqDeferred=new h.Deferred),void setTimeout(this.check.bind(this))):void a.error("Bad element for imagesLoaded "+(s||e))}function r(e){this.img=e}function s(e,t){this.url=e,this.element=t,this.img=new Image}var h=e.jQuery,a=e.console,d=Array.prototype.slice;o.prototype=Object.create(t.prototype),o.prototype.options={},o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},o.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),this.options.background===!0&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&u[t]){for(var i=e.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background){var r=e.querySelectorAll(this.options.background);for(n=0;n<r.length;n++){var s=r[n];this.addElementBackgroundImages(s)}}}};var u={1:!0,9:!0,11:!0};return o.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,e),n=i.exec(t.backgroundImage)}},o.prototype.addImage=function(e){var t=new r(e);this.images.push(t)},o.prototype.addBackground=function(e,t){var i=new s(e,t);this.images.push(i)},o.prototype.check=function(){function e(e,i,n){setTimeout(function(){t.progress(e,i,n)})}var t=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(t){t.once("progress",e),t.check()}):void this.complete()},o.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&a&&a.log("progress: "+i,e,t)},o.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},r.prototype=Object.create(t.prototype),r.prototype.check=function(){var e=this.getIsImageComplete();return e?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},r.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},r.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},r.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},r.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},r.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},r.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype=Object.create(r.prototype),s.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url;var e=this.getIsImageComplete();e&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},s.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},o.makeJQueryPlugin=function(t){t=t||e.jQuery,t&&(h=t,h.fn.imagesLoaded=function(e,t){var i=new o(this,e,t);return i.jqDeferred.promise(h(this))})},o.makeJQueryPlugin(),o});