!function(){"use strict";var t=window.VAMTAM=window.VAMTAM||{};t.debounce=function(t,e=300,o=!1){var a;return function(){var n=this,i=arguments,r=o&&!a;clearTimeout(a),a=setTimeout(function(){a=null,o||t.apply(n,i)},e),r&&t.apply(n,i)}},t.offset=function(t){var e=t.getBoundingClientRect(),o=window.pageXOffset||document.documentElement.scrollLeft,a=window.pageYOffset||document.documentElement.scrollTop;return{top:e.top+a,left:e.left+o}},t.scroll_handlers=[],t.latestKnownScrollY=0;var e=!1;t.addScrollHandler=function(e){requestAnimationFrame(function(){e.init(),t.scroll_handlers.push(e),e.measure(t.latestKnownScrollY),e.mutate(t.latestKnownScrollY)})},t.onScroll=function(){t.latestKnownScrollY=window.pageYOffset,e||(e=!0,requestAnimationFrame(function(){var o;for(o=0;o<t.scroll_handlers.length;o++)t.scroll_handlers[o].measure(t.latestKnownScrollY);for(o=0;o<t.scroll_handlers.length;o++)t.scroll_handlers[o].mutate(t.latestKnownScrollY);e=!1}))},window.addEventListener("scroll",t.onScroll,{passive:!0}),t.load_script=function(t,e){var o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src=t,e&&(o.onload=e),document.getElementsByTagName("script")[0].before(o)},t.load_style=function(t,e,o,a){var n=document.createElement("link");n.rel="stylesheet",n.type="text/css",n.media=e,n.href=t,o&&(n.onload=o),a?a.after(n):document.getElementsByTagName("link")[0].before(n)},t.isBelowMaxDeviceWidth=function(){return!window.matchMedia("(min-width: "+VAMTAM_FRONT.max_breakpoint+"px)").matches},t.isMaxDeviceWidth=function(){return window.matchMedia("(min-width: "+VAMTAM_FRONT.max_breakpoint+"px)").matches},t.isMediumDeviceOrWider=function(){return window.matchMedia("(min-width: "+VAMTAM_FRONT.medium_breakpoint+"px)").matches},t.isSmallDeviceWidth=function(){return window.matchMedia("(max-width: "+(VAMTAM_FRONT.medium_breakpoint-1)+"px)").matches},t.isMobileBrowser=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Windows Phone/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2,t.getScrollbarWidth=()=>window.innerWidth-document.documentElement.clientWidth;let o=!1;t.waitForLoad=function(t){o?t():window.addEventListener("load",t)},window.addEventListener("load",function(){o=!0})}(),function(t,e){"use strict";var o,a,n=t("header.main-header").find(".header-contents"),i=document.getElementById("vamtam-fallback-main-menu-toggle"),r=document.querySelector("#main-menu > .mega-menu-wrap > .mega-menu-toggle"),c=function(){clearTimeout(o),o=setTimeout(s,200)},s=function(){window.removeEventListener("scroll",c,{passive:!0}),e.blockStickyHeaderAnimation=!1,a&&a()},d=function(t,o,s){requestAnimationFrame(function(){var o=t.offset().top;e.blockStickyHeaderAnimation=!0;var d;d=n.height()||0;var m=o-e.adminBarHeight-d;a=s,window.addEventListener("scroll",c,{passive:!0}),window.scroll({left:0,top:m,behavior:"smooth"}),t.attr("id")&&(history.pushState?history.pushState(null,null,"#"+t.attr("id")):window.location.hash=t.attr("id")),i&&i.classList.remove("mega-menu-open"),r&&r.classList.remove("mega-menu-open")})};if(t(document.body).on("click",".vamtam-animated-page-scroll[href], .vamtam-animated-page-scroll [href], .vamtam-animated-page-scroll [data-href]",function(e){var o=t(this).prop("href")||t(this).data("href"),a=t("#"+o.split("#")[1]),n=document.createElement("a");n.href=o,a.length&&n.pathname===window.location.pathname&&(i&&i.classList.remove("mega-menu-open"),r&&r.classList.remove("mega-menu-open"),d(a),e.preventDefault())}),""!==window.location.hash&&(t('.vamtam-animated-page-scroll[href*="'+window.location.hash+'"]').length||t('.vamtam-animated-page-scroll [href*="'+window.location.hash+'"]').length||t('.vamtam-animated-page-scroll [data-href*="'+window.location.hash+'"]').length)){var m=t(window.location.hash);m.length>0&&t(window).add("html, body, #page").scrollTop(0),setTimeout(function(){d(m)},400)}}(jQuery,window.VAMTAM),function(t){"use strict";window.VAMTAM=window.VAMTAM||{},t(function(){var e,o;window.VAMTAM.adminBarHeight=document.body.classList.contains("admin-bar")?32:0,/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&requestAnimationFrame(function(){document.documentElement.classList.add("ios-safari")}),navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")&&requestAnimationFrame(function(){document.documentElement.classList.add("safari")}),o=document.body,window.addEventListener("scroll",function(){clearTimeout(e),requestAnimationFrame(function(){o.classList.add("disable-hover"),e=setTimeout(function(){o.classList.remove("disable-hover")},300)})},{passive:!0}),document.addEventListener("click",function(t){t.target.closest(".vamtam-trigger-print")&&(window.print(),t.preventDefault())}),window.VAMTAM.resizeElements=function(){t("#page .media-inner,\t\t\t\t.wp-block-embed-vimeo:not(.wp-has-aspect-ratio),\t\t\t\t:not(.wp-block-embed__wrapper) > .vamtam-video-frame").find("iframe, object, embed, video").each(function(){setTimeout(function(){requestAnimationFrame(function(){var e=this.offsetWidth;this.style.width="100%","0"===this.width&&"0"===this.height?this.style.height=9*e/16+"px":this.style.height=this.height*e/this.width+"px",t(this).trigger("vamtam-video-resized")}.bind(this))}.bind(this),50)}),setTimeout(function(){requestAnimationFrame(function(){t(".mejs-time-rail").css("width","-=1px")})},100)},window.addEventListener("resize",window.VAMTAM.debounce(window.VAMTAM.resizeElements,100),!1),window.VAMTAM.resizeElements(),t(document).on("ajaxSuccess",function(e,o,a){if(a.data&&"string"==typeof a.data){if("wishlist_remove"===a.data.split("&").map(t=>t.split("=")).reduce((t,e)=>(t[e[0]]=e[1],t),{}).action){const e=JSON.parse(o.responseText);1===e.status&&0===e.count&&(t(".vamtam-empty-wishlist-notice").show(),t("table.woosw-items").hide())}}})});var e=function(){var e=document.querySelectorAll(".vamtam-overlay-trigger"),o=[],a=window.VAMTAM.isBelowMaxDeviceWidth(),n=function(e){var a=e.currentTarget;if(t(a).hasClass("elementor-menu-toggle")){var i=t(a).closest(".elementor-row");i.length||(i=t(a).closest(".elementor-container")),i.hasClass("vamtam-overlay-trigger--overlay")&&(i.removeClass("vamtam-overlay-trigger--overlay"),a.removeEventListener("click",n),o.forEach(function(t){t.overlayTarget!==a&&t.closeTrigger!==a||(t.isActive=!1)}))}t(".vamtam-overlay-trigger--overlay .vamtam-overlay-element:visible").length<2&&(t("html, body").removeClass("vamtam-disable-scroll"),t("#scroll-to-top").removeClass("hidden"))},i=function(e){var a=e.currentTarget;if(t(a).hasClass("elementor-menu-toggle")){var i=t(a).closest(".elementor-row");if(i.length||(i=t(a).closest(".elementor-container")),i.hasClass("vamtam-menu-nav-overlay-inside")||(i.addClass("vamtam-menu-nav-overlay-inside"),t(i).find(".vamtam-overlay-element").css("top",t(i)[0].getBoundingClientRect().top+t(i).height()+"px")),i.hasClass("vamtam-overlay-trigger--overlay"))return;i.addClass("vamtam-overlay-trigger--overlay"),o.forEach(function(t){t.overlayTarget!==a&&t.closeTrigger!==a||(t.isActive=!0)})}t("html, body").addClass("vamtam-disable-scroll"),t("#scroll-to-top").addClass("hidden"),function(e){if(t(e).hasClass("elementor-menu-toggle"))e.removeEventListener("click",n),e.addEventListener("click",n)}(a)};if(e.forEach(function(e){if(t(e).hasClass("elementor-widget-nav-menu")){var a=t(e).find(".elementor-menu-toggle")[0];a.removeEventListener("click",i),a.addEventListener("click",i),o.push({overlayTarget:e,closeTrigger:a,isActive:!1});var n=t(e).closest(".elementor-row");return n.length||(n=t(e).closest(".elementor-container")),void t('<span class="vamtam-overlay-element"></span>').appendTo(n)}}),e.length){document.addEventListener("click",function(t){o.forEach(function(e){e.isActive&&(t.target===e.overlayTarget||e.overlayTarget.contains(t.target)||e.closeTrigger.click())})},!0),window.addEventListener("resize",window.VAMTAM.debounce(function(){var t=window.VAMTAM.isBelowMaxDeviceWidth();a!==t&&(o.forEach(function(t){t.isActive&&t.closeTrigger.click()}),a=t)},200),!1)}};document.addEventListener("DOMContentLoaded",function(){window.VAMTAM.load_script(VAMTAM_FRONT.jspath+"low-priority.js"),e(),jQuery("html").css("--vamtam-scrollbar-width",window.VAMTAM.getScrollbarWidth()+"px")},{passive:!0})}(jQuery),function(t,e){"use strict";window.Cookies=window.Cookies||{get:function(t){var e=("; "+document.cookie).split("; "+t+"=");if(2===e.length)return e.pop().split(";").shift()}},t(function(){var o=t(".fixed-header-box .cart-dropdown"),a=t(".vamtam-cart-dropdown-link"),n=t(".products",a),i=t(".elementor-widget-woocommerce-menu-cart"),r=i.length,c=r&&t(i).find(".vamtam-elementor-menu-cart__header .item-count"),s="wc_add_to_cart_params"in window&&window.wc_add_to_cart_params.is_cart;function d(){s&&document.querySelectorAll(".woocommerce-cart-form__contents").forEach(function(e){!t(e).hasClass("shop_table")&&!t(e).parent().hasClass("vamtam-cart-main")&&t(e).removeClass("woocommerce-cart-form__contents")})}function m(){const e=t("#elementor-menu-cart__toggle_button:visible");t.each(e,function(t,e){e.click()})}var l=function(e){const o=t(".elementor-widget-woocommerce-menu-cart.vamtam-has-theme-widget-styles .elementor-menu-cart__toggle_button");let a=!1;if(t.each(o,function(o,n){if(t(n).is(e.target)||t(n).has(e.target).length)return a=!0,!1}),a)return e.preventDefault(),s?(e.stopImmediatePropagation(),!1):window.VAMTAM.isMobileBrowser?(e.stopImmediatePropagation(),window.location=window.wc_add_to_cart_params.cart_url,!1):(t("body").addClass("vamtam-disable-scroll"),t("#scroll-to-top").addClass("hidden"),void t(e.target).closest(".elementor-top-section").css("z-index","1000"))},u=function(e,o){(t(e.target).is(".elementor-menu-cart__container, .vamtam-close-cart, .e-close-cart-custom-icon")||"no-target"===e&&o)&&(t("body").removeClass("vamtam-disable-scroll"),t("#scroll-to-top").removeClass("hidden"),t(e.target).closest("section.elementor-element").css("z-index",""))};function f(){document.querySelectorAll(".elementor-widget-woocommerce-menu-cart.vamtam-has-theme-widget-styles .elementor-menu-cart__toggle_wrapper").forEach(function(t){t.removeEventListener("click",l),t.addEventListener("click",l,!0)});document.querySelectorAll(".elementor-widget-woocommerce-menu-cart.vamtam-has-theme-widget-styles .elementor-menu-cart__container .elementor-menu-cart__close-button, .elementor-widget-woocommerce-menu-cart.vamtam-has-theme-widget-styles .elementor-menu-cart__container").forEach(function(t){t.removeEventListener("click",u),t.addEventListener("click",u)})}function w(e){const o=t("#scroll-to-top.vamtam-scroll-to-top"),a=t(".woocommerce-notices-wrapper .woocommerce-message");o.length&&(e?o.css("bottom","10px"):a.length?o.css("bottom",a.outerHeight()+10+"px"):o.css("bottom","95px"))}f();const h=r?"vamtam_elementor_menu_cart_fragments wc_fragments_loaded":"added_to_cart removed_from_cart wc_fragments_refreshed wc_fragments_loaded";function v(e){if(e){t(".woocommerce-notices-wrapper").empty().append(e);var o=t(".woocommerce-notices-wrapper").find(".vamtam-close-notice-btn");if(!o.length)return;o[0].addEventListener("click",function(){var e=t(this).closest(".woocommerce-message");e.fadeOut("fast"),w(!0),setTimeout(function(){e.remove()},2e3)}),setTimeout(function(){var t=o.closest(".woocommerce-message");t.fadeOut("fast"),setTimeout(function(){t.remove(),w(!0)},2e3)},1e4)}}if(t(document.body).on(h,function(){var e=parseInt(Cookies.get("woocommerce_items_in_cart")||0,10);if(e>0)if(r){i.removeClass("hidden");var a=i[0].querySelectorAll(".cart_item .quantity select, .cart_item .quantity .vamtam-quantity-input"),s=!1,m=i.find("#elementor-menu-cart__toggle_button .elementor-button-icon-qty");a.length||(a=i[0].querySelectorAll(".cart_item .product-quantity"),s=!0);var l=0;a.forEach(function(t){const e=s?t.textContent:t.value;l+=parseInt(e,10)}),c.text("("+l+")"),t.each(m,function(e,o){const a=parseInt(t(o).attr("data-counter"),10);l!==a&&t(o).attr("data-counter",l)})}else{var h=0,v=document.querySelector(".widget_shopping_cart"),p=v?v.querySelectorAll("li .quantity"):[];if(v){for(var g=0;g<p.length;g++)h+=parseInt(p[g].innerHTML.split("<span")[0].replace(/[^\d]/g,""),10);h=h>=0?h:"",n.text(h),n.removeClass("cart-empty"),o.removeClass("hidden")}}else if(r){var _=i.hasClass("elementor-menu-cart--empty-indicator-hide");i.toggleClass("hidden",_),c.text("(0)"),u("no-target",!0)}else{var y=o.hasClass("show-if-empty");n.addClass("cart-empty"),n.text("0"),o.toggleClass("hidden",!y)}document.body.classList.toggle("vamtam-wc-cart-empty",0===e),!!t("body").hasClass("single-product")&&t(".woocommerce-notices-wrapper .woocommerce-message").length&&w(),f(),d()}),function(){if(t("body").hasClass("single-product")&&!t(".sold-individually").length){const e=t(".stock.in-stock"),o=t('input[name="quantity"][max="1"][min="1"]');e.length&&o.length&&e.addClass("last-one")}}(),t(document).on("click",'.woocommerce-cart button[name="apply_coupon"]:not(".e-apply-coupon"):visible',function(e){e.preventDefault();t('input[type="submit"][name="apply_coupon"]').trigger("click")}),!document.body.classList.contains("vamtam-limited-layout")){t(document).on("click",".single_add_to_cart_button, .products.vamtam-wc.table-layout .add_to_cart_button:not(.product_type_variable)",function(e){var o=t(this),a=o.closest("form.cart"),n=o.val(),i=a.find("input[name=quantity]").val()||1,c=a.find("input[name=product_id]").val()||n,s=a.find("input[name=variation_id]").val()||0,d=s,l=a.find("input[name=add-to-cart].wc-booking-product-id").val(),u=a.hasClass("grouped_form"),f=a.parent(".elementor-product-external").length&&"get"===a.attr("method"),w=o.closest(".products.vamtam-wc.table-layout").length,h=a.find(".thwepo-extra-options").length,p={};if(!o.parents(".elementor-widget-woocommerce-product-add-to-cart.vamtam-has-disable-theme-ajax-atc").length)if(e.preventDefault(),f)window.open(a.attr("action"),"_blank");else{if(u){c=parseInt(a.find("input[name=add-to-cart]").val());var g=a.find('[id^="product-"]');t.each(g,function(e,o){var a,n=t(o).find(".add_to_cart_button"),i=t(o).attr("id").substr(8);a=n.length?parseInt(n.attr("data-quantity"))||0:parseInt(t(o).find("input.qty").val())||0,p[i]=a})}if(w){if("yes"!==window.VAMTAM_FRONT.enable_ajax_add_to_cart)return void a.submit();{const t=o.closest("tr.vamtam-product");t.length&&(i=t.find("input[name=quantity]").val()||1,c=o.attr("data-product_id")||n)}}if(window.wc_add_to_cart_params){var _={};if(l){const t=new FormData(a[0]);t.forEach(function(e,o){"add-to-cart"===o?_.product_id=e:_[o.replace("wc_bookings_field","")]=e,o.includes("[]")?_[o]=t.getAll(o):_[o]=e}),_.is_wc_booking=!0}else if(u){if(_={product_id:c,products:p,is_grouped:!0},h){new FormData(a[0]).forEach(function(t,e){"add-to-cart"!==e&&(_[e]=t)})}}else if(d){_={product_id:c,is_variable:!0};const t=new FormData(a[0]);t.forEach(function(e,o){"add-to-cart"===o?_.product_id=e:o.includes("[]")?_[o]=t.getAll(o):_[o]=e})}else{_={product_id:c};const t=new FormData(a[0]);t.forEach(function(e,o){"add-to-cart"===o?_.product_id||(_.product_id=e):o.includes("[]")?_[o]=t.getAll(o):_[o]=e})}return _.product_sku="",_.quantity=i,_.variation_id=s,_.action="woocommerce_ajax_add_to_cart",t(document.body).trigger("adding_to_cart",[o,_]),t.ajax({type:"post",url:window.wc_add_to_cart_params.ajax_url,data:_,beforeSend:function(){o.removeClass("added").addClass("loading")},complete:function(t){t.error?o.removeClass("loading"):o.addClass("added").removeClass("loading")},success:function(e){if(e.error)v(e.notice),t(document.body).trigger("wc_fragments_refreshed");else{if(e.redirect_to_cart)return void(window.location=window.wc_add_to_cart_params.cart_url);if(r)if(w){!window.VAMTAM.isMobileBrowser&&o.parents('.vamtam-has-adc-triggers-menu-cart[data-widget_type="woocommerce-products.products_table_layout"]').length&&setTimeout(()=>{m()},500)}else{!window.VAMTAM.isMobileBrowser&&setTimeout(()=>{m()},500)}else v(e.fragments.notice);t(document.body).trigger("added_to_cart",[e.fragments,e.cart_hash,o])}}}),!1}}}),t(document).on("click",".woocommerce-mini-cart .woocommerce-cart-form__cart-item .product-remove > a",function(){t(this).parents(".woocommerce-cart-form__cart-item").css({"pointer-events":"none",transition:"opacity .3s ease",opacity:"0.5"})}),window.wc_add_to_cart_params&&t(document).on("click",".mini_cart_item a.remove, .woocommerce-mini-cart .woocommerce-cart-form__cart-item .product-remove > a:not([class])",function(e){e.preventDefault();var o=t(this),a=t(this).attr("data-product_id"),n=t(this).attr("data-cart_item_key"),i=t(this).parents(".mini_cart_item, .woocommerce-cart-form__cart-item");t.ajax({type:"post",dataType:"json",url:window.wc_add_to_cart_params.ajax_url,data:{action:"product_remove",product_id:a,cart_item_key:n},beforeSend:function(){i.css("pointer-events","none").css("opacity","0.5"),t("body").css("cursor","wait")},complete:function(){t("body").css("cursor","default")},success:function(e){e&&e.fragments?t(document.body).trigger("removed_from_cart",[e.fragments,e.cart_hash,o]):window.location=o.attr("href")},error:function(){window.location=o.attr("href")}})});const o=".woocommerce-cart-form__cart-item .vamtam-quantity";t(document).on("change",`${o} select, ${o} input`,e.debounce(function(e){e.preventDefault();var o=t(".woocommerce-cart").length,a=t(this).val(),n=t(this).attr("data-product_id"),i=t(this).attr("data-cart_item_key"),r=t(this).parents(".mini_cart_item, .woocommerce-cart-form__cart-item");if(o){var c=t('input[type="submit"][name="update_cart"]');return c.prop("disabled",!1),void c.trigger("click")}window.wc_add_to_cart_params&&t.ajax({type:"post",dataType:"json",url:window.wc_add_to_cart_params.ajax_url,data:{action:"update_item_from_cart",product_id:n,cart_item_key:i,product_quantity:a},beforeSend:function(){r.css("pointer-events","none").css("opacity","0.5"),t("body").css("cursor","wait")},complete:function(){r.css("pointer-events","auto").css("opacity","1"),t("body").css("cursor","default")},success:function(e){e&&e.fragments&&t(document.body).trigger("wc_fragment_refresh")},error:function(){}})}))}window.addEventListener("load",function(){!function(){const e=t(document.body).hasClass("woocommerce-checkout"),o=e&&t("form.checkout"),a=e&&t(".woocommerce > .woocommerce-notices-wrapper").first();if(!e||!o.length||!a.length)return;t(document.body).on("checkout_error",function(){const t=o.find(".woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout");a.append(t)})}(),r&&(f(),d())}),r&&t(document).ajaxComplete((e,o,a)=>{const n=o.responseJSON,i=n&&n.fragments,r=a.data&&-1!==a.data.indexOf("action=elementor_menu_cart_fragments");i&&r&&t(document.body).trigger("vamtam_elementor_menu_cart_fragments")})}),document.addEventListener("DOMContentLoaded",function(){!function(){const t=new URLSearchParams({action:"vamtam_get_woosw_buttons"});let e={};document.querySelectorAll(".woosw-btn").forEach(o=>{let a=parseInt(o.dataset.id,10);t.append("id[]",a),e[a]=o}),0!==Object.keys(e).length&&fetch(VAMTAM_FRONT.ajaxurl,{method:"POST",body:t}).then(t=>t.json()).then(t=>{for(let o in t)e[o].outerHTML=t[o]})}()})}(jQuery,window.VAMTAM),function(t){"use strict";window.VAMTAM=window.VAMTAM||{},window.VAMTAM.CUSTOM_ANIMATIONS={},window.VAMTAM.CUSTOM_ANIMATIONS={init:function(){},onDomReady:function(){this.VamtamCustomAnimations.init(),this.VamtamCustomAnimations.scrollBasedAnims()},VamtamCustomAnimations:{init:function(){this.registerAnimations(),this.utils.watchScrollDirection()},registerAnimations:function(){var t=this;["stickyHeader"].forEach(function(e){t[e].apply(t)})},stickyHeader:function(){var e=t(".vamtam-sticky-header"),o=this;e.length&&(e.length>1&&(e=e[0]),function(){var a,n=t(e).hasClass("vamtam-sticky-header--transparent-header"),i=t(e).innerHeight(),r=function(){t(e).removeClass("vamtam-sticky-header--fixed-shown"),t(e).hasClass("vamtam-sticky-header--fixed-hidden")||t(e).addClass("vamtam-sticky-header--fixed-hidden"),a="fixedHiddenState"},c=function(){t(e).removeClass("vamtam-sticky-header--fixed-hidden"),t(e).hasClass("vamtam-sticky-header--fixed-shown")||t(e).addClass("vamtam-sticky-header--fixed-shown"),a="fixedShownState"},s=function(){t(e).removeClass("vamtam-sticky-header--fixed-shown"),t(e).removeClass("vamtam-sticky-header--fixed-hidden"),a="noAnimState"};(()=>{const o=t("body").css("padding-left"),a=t("body").css("padding-right"),n=t(e).parents('[data-elementor-type="header"]').first();n.length&&(parseInt(o)&&n.css("--vamtam-sticky-mleft",`-${o}`),parseInt(a)&&n.css("--vamtam-sticky-mright",`-${a}`))})();const d=(t=!1)=>{window.pageYOffset>=10?r():t||window.addEventListener("load",function(){a||setTimeout(()=>{d(!0)},10)})};d();var m,l=null,u=window.scrollY;window.addEventListener("scroll",function(d){null!==l&&clearTimeout(l),l=setTimeout(function(){u=window.scrollY},500);var f=window.VAMTAM.debounce(function(){if("#document"===d.target.nodeName){if(t(e).find("a:hover").length||t(".vamtam-header-mega-menu:visible").length)return void(n&&"fixedShownState"!==a&&c());var l=o.utils.getScrollDirection();m!==l&&(u=window.scrollY),m=l;const d=Math.abs(window.scrollY-u);if(window.scrollY>i&&d<20)return;if("up"===l)return void(window.pageYOffset>=10?"fixedShownState"!==a&&c():"noAnimState"!==a&&s());if("down"===l&&(window.pageYOffset>=10||n)){var f=!t(e).find(".elementor-menu-cart--shown").length;"fixedHiddenState"!==a&&f&&r()}}},25);window.VAMTAM.isMaxDeviceWidth()?requestAnimationFrame(f):"noAnimState"!==a&&s()},{passive:!0})}())},scrollBasedAnims:function(){var e=document.querySelectorAll(['[data-settings*="growFromLeftScroll"]','[data-settings*="growFromRightScroll"]'].join(", "));if(!e.length)return;var o,a={},n=this,i=function(t){t.forEach(function(t){var e=t.boundingClientRect.y,o=t.isIntersecting,i=t.target,r=Math.abs(parseFloat((100*t.intersectionRatio).toFixed(2))),c=a[i.dataset.vamtam_anim_id].lastScrollPercentage,s=a[i.dataset.vamtam_anim_id].lastScrollY,d=a[i.dataset.vamtam_anim_id].animateEl,m=function(){window.requestAnimationFrame(function(){d.style.setProperty("--vamtam-scroll-ratio",r+"%")})};o&&s!==e&&("down"===n.utils.getScrollDirection()?c<r&&m():m()),a[i.dataset.vamtam_anim_id].lastScrollY=e,a[i.dataset.vamtam_anim_id].lastScrollPercentage=r})};const r=function(){var t,e=[];for(t=1;t<=50;t++){var o=t/50;e.push(o)}return e.push(0),e}();e.forEach(function(e){var n;o||(o=new IntersectionObserver(i,{root:null,rootMargin:"20% 0% 20% 0%",threshold:r}));if(e.style.setProperty("--vamtam-scroll-ratio","1%"),e.classList.contains("elementor-widget")||e.classList.contains("elementor-column"))(n=e.parentElement).setAttribute("data-vamtam_anim_id",e.dataset.id);else{t(e).before('<div class="vamtam-scroll-anim-wrap" data-vamtam_anim_id="'+e.dataset.id+'"></div>');var c=t(e).prev(".vamtam-scroll-anim-wrap");t(c).append(e),n=c[0]}a[e.dataset.id]={lastScrollY:"",lastScrollPercentage:"",observeEl:n,animateEl:e},o.observe(n)})},utils:{getAdminBarHeight:function(){return window.VAMTAM.adminBarHeight},watchScrollDirection:function(){var t=function(){return this.lastScrollTop=0,this.utils=this,{init:function(){},measure:function(t){this.direction=t>this.lastScrollTop?"down":"up"}.bind(this),mutate:function(t){this.utils.getScrollDirection=function(){return this.direction},this.lastScrollTop=t<=0?0:t}.bind(this)}}.bind(this);window.VAMTAM.addScrollHandler(t())},isTouchDevice:function(){const t=" -webkit- -moz- -o- -ms- ".split(" ");return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)||function(t){return window.matchMedia(t).matches}(["(",t.join("touch-enabled),("),"heartz",")"].join(""))}}}},window.VAMTAM.CUSTOM_ANIMATIONS.init(),document.addEventListener("DOMContentLoaded",function(){window.VAMTAM.CUSTOM_ANIMATIONS.onDomReady()},!0)}(jQuery);