$(document).ready((function(){var e="rtl"===$("body").attr("dir");let t=!0;const o=new Swiper(".about_us_top_section_slider",{loop:!1,speed:300,slidesPerView:1,pagination:!1,navigation:!1,effect:"fade",fadeEffect:{crossFade:!0},preloadImages:!1,lazy:!0,on:{slideChange:function(e){t&&(t=!1);const o=e.realIndex;$(".about_us_top_section_tabs_tab:eq("+o+")").click(),setTimeout((function(){t=!0}),500)}}});e&&o.changeLanguageDirection("rtl");var n=!0;$(".about_us_top_section").on("wheel",(function(e){if(e.preventDefault(),!t)return;const o=document.querySelector(".about_us_top_section_slider");let _=o?.swiper.realIndex;e.originalEvent.deltaY>0?n&&(5==_&&window.scroll({top:$(".about_us_products").offset().top,behavior:"smooth"}),o?.swiper.slideNext(),4==_&&function disableScroll(e){n=!1,setTimeout((function(){n=!0}),e)}(500)):o?.swiper.slidePrev()}));const _=new Swiper(".about_us_media_slider",{pagination:!1,navigation:{nextEl:".swiper-next",prevEl:".swiper-prev"},loop:!1,speed:500,autoplay:{delay:2e3},slidesPerView:"auto"});e&&_.changeLanguageDirection("rtl");const s=new Swiper(".about_us_our_mission_slider",{pagination:!1,navigation:{nextEl:".swiper-next",prevEl:".swiper-prev"},loop:!1,speed:500,slidesPerView:1,breakpoints:{600:{slidesPerView:1.24}}});e&&s.changeLanguageDirection("rtl");$(".about_us_our_values_slider_slide_container_arrows_container_prev")[0],$(".about_us_our_values_slider_slide_container_arrows_container_next")[0];const i=new Swiper(".about_us_our_values_slider",{loop:!1,speed:500,slidesPerView:1,pagination:!1,navigation:{prevEl:".about_us_our_values_slider_slide_container_arrows_container_prev",nextEl:".about_us_our_values_slider_slide_container_arrows_container_next"},on:{init:function(e){updateAboutUsOurValuesSlider(e)},slideChange:function(e){updateAboutUsOurValuesSlider(e)}}});function updateAboutUsOurValuesSlider(e){$(".about_us_our_values_slider_slide_container_arrows_container_page_index").html(e.realIndex+1+" "),$(".about_us_our_values_slider_slide_container_arrows_container_total_pages").html(" "+e.slides.length)}e&&i.changeLanguageDirection("rtl");var a=!1;$(".about_us_top_section_tabs_tab").on("click",(function(t){if($(".about_us_top_section_tabs").find(".about_us_top_section_tabs_tab_active").removeClass("about_us_top_section_tabs_tab_active"),$(".about_us_top_section_content_blocks").find(".about_us_top_section_content_blocks_block_show").removeClass("about_us_top_section_content_blocks_block_show").fadeOut(0),$(".about_us_top_section_tabs").children().eq($(this).index()).addClass("about_us_top_section_tabs_tab_active"),$(".about_us_top_section_content_blocks").children().eq($(this).index()).fadeIn(300,(function(){$(this).addClass("about_us_top_section_content_blocks_block_show")})),5==$(this).index()&&!a){function updateAboutUsTopSectionContentSlider(e){const t=e.realIndex,o=e.previousIndex,n=e.slides;if(t>o)for(let e=o;ee.slidesGrid.length&&(e.snapGrid=e.slidesGrid),$(".about_us_top_section_content_blocks_block_slider_arrows_container_pagination_page_index").html(t+1+" "),$(".about_us_top_section_content_blocks_block_slider_arrows_container_pagination_total_pages").html(" "+n.length)}$(".about_us_top_section_content_blocks_block_slider").on("init",(function(e,t){$(".about_us_top_section_content_blocks_block_slider_arrows_container_pagination_page_index").html(t.currentSlide+1+" "),$(".about_us_top_section_content_blocks_block_slider_arrows_container_pagination_total_pages").html(" "+t.slideCount)})),$(".about_us_top_section_content_blocks_block_slider").each((function(t,o){const n=$(".about_us_top_section_content_blocks_block_slider_arrows_container_prev")[0],_=$(".about_us_top_section_content_blocks_block_slider_arrows_container_next")[0],s=new Swiper(this,{loop:!1,speed:500,slidesPerView:"auto",pagination:!1,navigation:{prevEl:n,nextEl:_},on:{init:function(e){updateAboutUsTopSectionContentSlider(e)},slideChange:function(e){updateAboutUsTopSectionContentSlider(e)}}});e&&s.changeLanguageDirection("rtl")})),a=!0}const o=document.querySelector(".about_us_top_section_slider");o?.swiper.slideTo($(this).index())}))}));