$(document).ready(function(){AOS.init();var o="https://www.youtube.com/embed/iurmV_KhV20?autoplay=1&rel=0&cc_load_policy=1";$(".yoga-modal-vid").on("click",function(){$("#yoga-yt-video").attr("src",o),$(".yoga-modal-window").addClass("open"),$("body").css("overflow","hidden")}),$(".yoga-modal-window__close-btn, .yoga-modal-window").on("click",function(o){o.stopPropagation(),$("#yoga-yt-video").removeAttr("src"),$(".yoga-modal-window").removeClass("open"),$("body").css("overflow","visible")});var e=$(".yoga-hero__product-type-item");e.on("mouseenter",function(o){$(this).addClass("yoga-hero__product-type--show"),$(this).find(".yoga-hero__product-type-expand-wrap").addClass("yoga-hero__product-type-expand-wrap--show")}),e.on("mouseleave",function(o){$(this).removeClass("yoga-hero__product-type--show"),$(this).find(".yoga-hero__product-type-expand-wrap").removeClass("yoga-hero__product-type-expand-wrap--show")}),$(window).on("scroll",function(){var o=100;$(window).scrollTop()>o?($(".yoga-header").addClass("scrolled-fixed"),$(".yoga-header").css("zIndex","9999"),$(".commonHeader").css("display","block")):($(".yoga-header").removeClass("scrolled-fixed"),$(".yoga-header").css("zindex","0"),$(".commonHeader").css("display","block"))});const a=$("#yoga-header__mobile-trigger");a.on("click",function(){$(this).toggleClass("open"),$("#yoga-header__nav-mobile-list ul").toggleClass("open").slideToggle(300)}),$("#yoga-header__nav-mobile-list ul li").on("click",function(){a.removeClass("open"),$("#yoga-header__nav-mobile-list ul").removeClass("open").slideUp(300)}),$('a[href*="#"]').not('[href="#"]').not('[href="#0"]').not('[class*="carousel-control-"]').on("click",function(o){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var e=$(this.hash);e=e.length?e:$("[name="+this.hash.slice(1)+"]"),e.length&&(o.preventDefault(),$("html, body").animate({scrollTop:e.offset().top+70},1000,function(){var o=$(e);o.focus()}))}})});