var module_167557629267=void $(window).load((function(){function setSwiperWidth(){if($(window).width()>=768){var SecWidth=$(".res-hero").outerWidth(),containWidth=$(".res-hero .page-center").outerWidth(),fnlMrg=(SecWidth-containWidth)/2+($(window).width()<=1200?25:0);console.log(fnlMrg,containWidth,SecWidth-containWidth,(SecWidth-containWidth)/2),$(".res-hero .swiper-container").css("margin-right",-fnlMrg)}}$(window).on("resize",setSwiperWidth),setSwiperWidth(),setTimeout((function(){$(".swiper-nav-button").addClass("loaded")}),1200),$(".featured-posts-swiper").length>0&&$(".featured-posts-swiper").each((function(){let centeredSlidesSetting=!!(window.innerWidth<=768);var careerSwiper=$(this);new Swiper(careerSwiper,{spaceBetween:20,slidesPerView:1.2,centeredSlides:centeredSlidesSetting,roundLengths:!0,observer:!0,observeParents:!0,loop:!0,pagination:{el:careerSwiper.parents(".res-hero").find(".swiper-pagination"),clickable:!0},navigation:{nextEl:careerSwiper.parents(".res-hero").find(".swiper-button-next"),prevEl:careerSwiper.parents(".res-hero").find(".swiper-button-prev")},breakpoints:{576:{spaceBetween:10},1130:{slidesPerView:"auto"}}})}))}));