!function(e){"use strict";e(".close-btn").click(function(){if(e(".custom-model-main").length>0){e(".custom-model-main").removeClass("model-open");const t=e(".pop-up-content-wrap iframe");t.attr("src","");const n=t.clone();t.replaceWith(n)}}),document.addEventListener("DOMContentLoaded",()=>{const e=document.getElementById("video-ss");function t(){const e=document.querySelector(".playButton");e&&e.remove()}function n(){e.paused||e.pause()}function o(){e.paused&&e.play().catch(e=>{console.error("Failed to play video:",e)})}e&&(e&&e.play().catch(n=>{e.muted=!0,e.play().catch(n=>{const o=document.createElement("button");o.className="playButton",o.textContent="Play Video",o.style.position="absolute",o.style.top="50%",o.style.left="50%",o.style.transform="translate(-50%, -50%)",o.style.zIndex="1000",o.addEventListener("click",()=>{e.play(),t()});const c=document.querySelector(".home-media-banner__content-section");c?c.appendChild(o):(console.error('Element with class "home-media-banner__content-section" not found'),document.body.appendChild(o))})}),document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState?n():"visible"===document.visibilityState&&o()}),window.addEventListener("blur",()=>{n()}),window.addEventListener("focus",()=>{o()}),e.addEventListener("play",t))})}(jQuery);; (()=>{function i(){let i=!!$("body").hasClass("rtl");jQuery(".location-row .inner-mid-col-text-section").not(".slick-initialized").slick({centerMode:!0,dots:!0,slidesToShow:1,slidesToScroll:1,centerPadding:"20px",focusOnSelect:!0,infinite:!1,arrows:!1,rtl:i})}window.matchMedia("(max-width: 1024px)").matches&&jQuery(document).ready(i),jQuery(window).on("resize",function(){jQuery(window).outerWidth()<1024?jQuery(document).ready(i):jQuery(".location-row .inner-mid-col-text-section").hasClass("slick-initialized")&&jQuery(".location-row .inner-mid-col-text-section").slick("unslick")})})();; !function(t){"use strict";t(document).ready(function(){t(document).on("click",".location-tabs-header ul li",function(e){var i=t(this).find("a").attr("href");t(this).parents(".location-tabs-header").find("ul li").removeClass("active"),t(this).addClass("active"),t(this).parents(".location-main-section").find(".location-tabs-body .location-item").removeClass("active"),t(i).addClass("active"),e.preventDefault()}),t(document).on("click",".location-tabs-header-mobile ul li",function(e){var i=t(this).find("a").attr("href");t(this).parents(".location-tabs-header-mobile").find("ul li").removeClass("active"),t(this).addClass("active"),t(this).parents(".location-main-section").find(".location-tabs-body .location-item").removeClass("active"),t(i).addClass("active"),t(this).parents(".location-tabs-header-mobile").find("div.list-item-selected").text(t(this).text()),t(this).parents(".location-tabs-header-mobile").find("ul").slideUp(),e.preventDefault()}),t(document).on("click",".location-tabs-header-mobile div.list-item-selected",function(e){e.preventDefault(),t(this).next().slideToggle(400)}),window.matchMedia("(max-width: 1023px)").matches&&jQuery(document).ready(function(){jQuery(".location-main-section .location-item h4").on("click",function(){jQuery(this).next(".location-inner-wrap").slideToggle(),jQuery(this).toggleClass("active")})}),t(".location-tabs-header-mobile").length>0&&(t(document).on("click",function(e){t(e.target).parents(".location-tabs-header-mobile").length<=0&&t(document).find(".location-tabs-header-mobile ul").hide()}),t(document).on("click",".location-tabs-header-mobile label",function(t){jQuery(this).parents(".location-tabs-header-mobile").find("ul").slideToggle()}))})}(jQuery);; !function(){"use strict";jQuery(document).ready(function(){var e=setInterval(function(){if(!jQuery("form.mktoForm").hasClass("mb-mk-loaded")&&void 0!==window.MktoForms2&&void 0!==window.loadMarketoForm){clearInterval(e);let o=jQuery("form.mktoForm").attr("data-munchkin"),t=jQuery("form.mktoForm").attr("data-formid");window.loadMarketoForm(o,t)}},500)}),document.addEventListener("DOMContentLoaded",function(){const e=document.querySelector(".wp-block-sutherland-contactus-form .marketo-form__column"),o=e.style.backgroundImage;if(e.style.backgroundImage="none","IntersectionObserver"in window){let t=new IntersectionObserver(function(n){n.forEach(function(n){n.isIntersecting&&(e.style.backgroundImage=o,t.unobserve(e))})});t.observe(e)}else e.style.backgroundImage=o})}(jQuery);;