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