!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;o2,e.getScrollbarWidth=()=>window.innerWidth-document.documentElement.clientWidth}(),function(e,t){"use strict";var o,n,a=e("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"),s=function(){clearTimeout(o),o=setTimeout(c,200)},c=function(){window.removeEventListener("scroll",s,{passive:!0}),t.blockStickyHeaderAnimation=!1,n&&n()},l=function(e,o,c){requestAnimationFrame(function(){var o=e.offset().top;t.blockStickyHeaderAnimation=!0;var l;l=a.height()||0;var m=o-t.adminBarHeight-l;n=c,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")),i&&i.classList.remove("mega-menu-open"),r&&r.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&&(i&&i.classList.remove("mega-menu-open"),r&&r.classList.remove("mega-menu-open"),l(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 m=e(window.location.hash);m.length>0&&e(window).add("html, body, #page").scrollTop(0),setTimeout(function(){l(m)},400)}}(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()});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-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('').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,s=r&&e(i).find(".vamtam-elementor-menu-cart__header .item-count"),c="wc_add_to_cart_params"in window&&window.wc_add_to_cart_params.is_cart;function l(){c&&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()})}e(document.body).on("applied_coupon_in_checkout",function(){let e=document.querySelector(".woocommerce-error");e&&e.scrollIntoView({block:"center",behavior:"smooth"})});var d=function(t){const o=e(".elementor-widget-woocommerce-menu-cart .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){if(t.preventDefault(),c)return t.stopImmediatePropagation(),!1;if(window.VAMTAM.isMobileBrowser)return 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");var a=e(t.target).closest(".elementor-section-wrap").find("section.elementor-element").first();a.css("will-change","transform"),a.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 .elementor-menu-cart__toggle_wrapper").forEach(function(e){e.removeEventListener("click",d),e.addEventListener("click",d,!0)});document.querySelectorAll(".elementor-widget-woocommerce-menu-cart .elementor-menu-cart__container .elementor-menu-cart__close-button, .elementor-widget-woocommerce-menu-cart .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)}}e(document.body).on(h,function(){var t=parseInt(Cookies.get("woocommerce_items_in_cart")||0,10);if(t>0)if(r){i.removeClass("hidden");var n=i[0].querySelectorAll(".cart_item .quantity select, .cart_item .quantity .vamtam-quantity-input"),c=!1,m=i.find("#elementor-menu-cart__toggle_button .elementor-button-icon-qty");n.length||(n=i[0].querySelectorAll(".cart_item .product-quantity"),c=!0);var d=0;n.forEach(function(e){const t=c?e.textContent:e.value;d+=parseInt(t,10)}),s.text("("+d+")"),e.each(m,function(t,o){const n=parseInt(e(o).attr("data-counter"),10);d!==n&&e(o).attr("data-counter",d)})}else{var h=0,v=document.querySelector(".widget_shopping_cart"),p=v?v.querySelectorAll("li .quantity"):[];if(v){for(var g=0;g=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",_),s.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(),window.VAMTAM.bijouxCustomNumericInputs&&window.VAMTAM.bijouxCustomNumericInputs(),f(),l()}),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")}),"yes"===window.VAMTAM_FRONT.enable_ajax_add_to_cart&&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,s=n.find("input[name=product_id]").val()||a,c=n.find("input[name=variation_id]").val()||0,l=c,d=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={};if(l){if(o.parents(".elementor-widget-woocommerce-product-add-to-cart.vamtam-has-disable-theme-ajax-vars").length)return}if(t.preventDefault(),f)window.open(n.attr("action"),"_blank");else if(window.wc_add_to_cart_params){if(u){s=parseInt(n.find("input[name=add-to-cart]").val());var p=n.find('[id^="product-"]');e.each(p,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,h[i]=n})}if(w){const e=o.closest("tr.vamtam-product");e.length&&(i=e.find("input[name=quantity]").val()||1,s=o.attr("data-product_id")||a)}var g={};if(d){const e=new FormData(n[0]);e.forEach(function(t,o){"add-to-cart"===o?g.product_id=t:g[o.replace("wc_bookings_field","")]=t,o.includes("[]")?g[o]=e.getAll(o):g[o]=t}),g.is_wc_booking=!0}else if(u)g={product_id:s,products:h,is_grouped:!0};else if(l){g={product_id:s,is_variable:!0};const e=new FormData(n[0]);e.forEach(function(t,o){"add-to-cart"===o?g.product_id=t:o.includes("[]")?g[o]=e.getAll(o):g[o]=t})}else{g={product_id:s};const e=new FormData(n[0]);e.forEach(function(t,o){"add-to-cart"===o?g.product_id||(g.product_id=t):o.includes("[]")?g[o]=e.getAll(o):g[o]=t})}return g.product_sku="",g.quantity=i,g.variation_id=c,g.action="woocommerce_ajax_add_to_cart",e(document.body).trigger("adding_to_cart",[o,g]),e.ajax({type:"post",url:window.wc_add_to_cart_params.ajax_url,data:g,beforeSend:function(){o.removeClass("added").addClass("loading")},complete:function(e){e.error?o.removeClass("loading"):o.addClass("added").removeClass("loading")},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}}),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 p=".woocommerce-cart-form__cart-item .vamtam-quantity";e(document).on("change",`${p} select, ${p} 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 s=e('input[type="submit"][name="update_cart"]');return s.prop("disabled",!1),void s.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(),l(),function(){function t(){var t=e("#wc_gc_cart_redeem_form > button");if(t.length){if(t.find(".vamtam-prefix").length)return!0;t.prepend(''),t[0].removeEventListener("click",o,!0),t[0].addEventListener("click",o,!0)}return!1}function o(){setTimeout(function(){t()},200),setTimeout(function(){t()},300),setTimeout(function(){t()},700),setTimeout(function(){t()},1e3);var e=setInterval(function(){t()&&clearInterval(e)},500)}(e(document.body).hasClass("woocommerce-checkout")||e(document.body).hasClass("woocommerce-cart"))&&(e("#wc_gc_cart_redeem_send").on("click",o),t(),o())}())}),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")})})}(jQuery,window.VAMTAM),function(e,t){"use strict";window.VAMTAM=window.VAMTAM||{},window.VAMTAM.CUSTOM_ANIMATIONS={},e(function(){window.VAMTAM.CUSTOM_ANIMATIONS={init:function(){this.VamtamCustomAnimations.init()},onDomReady:function(){this.VamtamCustomAnimations.scrollBasedAnims()},VamtamCustomAnimations:{init:function(){this.registerAnimations(),this.utils.watchScrollDirection()},registerAnimations:function(){var e=this;["stickyHeader","cursorAnimation"].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--transparent-header"),i=!window.elementorFrontend.isEditMode(),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"},s=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"},c=function(){e(t).removeClass("vamtam-sticky-header--fixed-shown"),e(t).removeClass("vamtam-sticky-header--fixed-hidden"),n="noAnimState"};function l(){if(i){var o=e(t).innerHeight();e(t).css("margin-bottom","-"+o+"px"),e(t).next(".vamtam-prevent-scroll-jumps").css("padding-top",o+"px")}}i&&e(t).after('
'),window.VAMTAM.isMaxDeviceWidth()&&l();const m=(e=!1)=>{window.pageYOffset>=300?r():e||window.addEventListener("load",function(){n||setTimeout(()=>{m(!0)},10)})};m();var d,u=null,f=window.scrollY;window.addEventListener("scroll",function(i){null!==u&&clearTimeout(u),u=setTimeout(function(){f=window.scrollY},500);var m=window.VAMTAM.debounce(function(){if("#document"===i.target.nodeName){if(e(t).find("a:hover").length||e(".vamtam-header-mega-menu:visible").length)return void(a&&"fixedShownState"!==n&&s());var l=o.utils.getScrollDirection();d!==l&&(f=window.scrollY),d=l;if(Math.abs(window.scrollY-f)<80&&window.scrollY>80)return;if("up"===l)return void(window.pageYOffset>=300?"fixedShownState"!==n&&s():"noAnimState"!==n&&c());if("down"===l&&(window.pageYOffset>=300||a)){var m=!e(t).find(".elementor-menu-cart--shown").length;"fixedHiddenState"!==n&&m&&r()}}},200);window.VAMTAM.isMaxDeviceWidth()?(l(),requestAnimationFrame(m)):"noAnimState"!==n&&c()},{passive:!0})}())},observedAnims:function(){var t="vamtam-animate",o=document.querySelectorAll(".vamtam-observe");if(o.length){var n,a=function(o,n){o.forEach(function(o){var a=!1,i=o.target,r=i&&e(i);o.isIntersecting&&(a=!0),a?(r.hasClass(t)||(r.addClass(t),r.trigger("vamtam:animate")),r.hasClass("vamtam-looped")||n&&n.unobserve&&n.unobserve(i)):r.hasClass(t)&&r.removeClass(t)})};o.forEach(function(o){e(o).removeClass(t),n||(n=new IntersectionObserver(a)),n.observe(o)})}},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))),s=n[i.dataset.vamtam_anim_id].lastScrollPercentage,c=n[i.dataset.vamtam_anim_id].lastScrollY,l=n[i.dataset.vamtam_anim_id].animateEl,m=function(){window.requestAnimationFrame(function(){l.style.setProperty("--vamtam-scroll-ratio",r+"%")})};o&&c!==t&&("down"===a.utils.getScrollDirection()?s');var s=e(t).prev(".vamtam-scroll-anim-wrap");e(s).append(t),a=s[0]}n[t.dataset.id]={lastScrollY:"",lastScrollPercentage:"",observeEl:a,animateEl:t},o.observe(a)})},cursorAnimation:function(){if(!(window.elementorFrontend.isEditMode()||this.utils.isTouchDevice()||e("body").filter(".no-theme-cursor, .no-bijoux-cursor").length)&&"elementorFrontendConfig"in window&&window.elementorFrontendConfig.kit.vamtam_theme_has_theme_cursor){e("body").append('').addClass("has-mouse-circle").append('').addClass("has-mouse-dot");var o,n=e("#mouseCircle"),a=e("#mouseDot"),i=0,r=0,s=0,c=0;e(document).on("mousemove mouseenter",function(e){clearTimeout(o),window.VAMTAM.isBelowMaxDeviceWidth()||e.clientX!==t&&e.clientY!==t&&(n.hasClass("moving")||n.addClass("moving"),i=e.clientX,r=e.clientY,a.css({transform:"translate("+i+"px, "+r+"px)"}),o=setTimeout(function(){n.removeClass("moving")},500))}),setInterval(function(){s+=(i-s)/6,c+=(r-c)/6,n.css({transform:"translate("+s+"px, "+c+"px)"})},20);e(document).on("mouseover",window.VAMTAM.debounce(function(t){let o;t.target.href?o=!0:(e(t.target).parent("a[href]").length&&(o=!0),e(t.target).closest("a.elementor-button-link[href]").length&&(o=!0)),o?n.hasClass("small")||window.requestAnimationFrame(function(){n.addClass("small")}):n.hasClass("small")&&window.requestAnimationFrame(function(){n.removeClass("small")})},100))}},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(),e(window).ready(function(){window.VAMTAM.CUSTOM_ANIMATIONS.onDomReady()})})}(jQuery);