var woodmartThemeModule={};!function(e){"use strict";woodmartThemeModule.supports_html5_storage=!1;try{woodmartThemeModule.supports_html5_storage="sessionStorage"in window&&null!==window.sessionStorage,window.sessionStorage.setItem("wd","test"),window.sessionStorage.removeItem("wd")}catch(o){woodmartThemeModule.supports_html5_storage=!1}woodmartThemeModule.$window=e(window),woodmartThemeModule.$document=e(document),woodmartThemeModule.$body=e("body"),woodmartThemeModule.windowWidth=woodmartThemeModule.$window.width(),woodmartThemeModule.removeDuplicatedStylesFromHTML=function(t,o,n=""){var r=e('<div class="temp-wrapper"></div>').append(t),i=e("head"),d=r.find("link"),s=0,a=!1,l=0;function m(){var t=d.length+l;s>=t&&!a&&(o(e(r.html())),a=!0)}n&&n.find("link").each(function(){l++;var t=e(this).clone();t.on("load error",function(){s++,m()}),i.append(t)}),0!==d.length||0!==l?(d.each(function(){void 0!==e(this).attr("id")&&-1!==e(this).attr("id").indexOf("theme_settings_")&&i.find('link[id*="theme_settings_"]:not([id*="theme_settings_default"])').remove()}),d.each(function(){var t=e(this),o=t.attr("id"),n=t.attr("href");if(void 0===o)return s++,void m();var r=-1!==o.indexOf("theme_settings_"),d=-1!==o.indexOf("theme_settings_default");t.remove(),void 0!==woodmart_page_css[o]||d?(s++,m()):(r||(woodmart_page_css[o]=n),i.append(t.on("load error",function(){s++,m()})))})):o(t)},woodmartThemeModule.debounce=function(e,t,o){var n;return function(){var r=this,i=arguments,d=o&&!n;clearTimeout(n),n=setTimeout(function(){n=null,o||e.apply(r,i)},t),d&&e.apply(r,i)}},woodmartThemeModule.wdElementorAddAction=function(e,t){woodmartThemeModule.$window.on("elementor/frontend/init",function(){elementorFrontend.isEditMode()&&elementorFrontend.hooks.addAction(e,t)})},woodmartThemeModule.slideUp=function(e,t){t=t||400,e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=t+"ms",e.style.boxSizing="border-box",e.style.height=e.offsetHeight+"px",window.getComputedStyle(e).height,e.style.overflow="hidden",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,window.setTimeout(function(){e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property")},t)},woodmartThemeModule.slideDown=function(e,t){t=t||400,e.style.removeProperty("display");var o=window.getComputedStyle(e).display;"none"===o&&(o="block"),e.style.display=o;var n=e.offsetHeight;e.style.overflow="hidden",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,window.getComputedStyle(e).height,e.style.boxSizing="border-box",e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=t+"ms",e.style.height=n+"px",e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),window.setTimeout(function(){e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property")},t)},woodmartThemeModule.googleMapsCallback=function(){return""};var t=null;woodmartThemeModule.$document.on("wdOpenSide wdOpenSearch",".wd-side-hidden, .wd-fs-menu, [class*=wd-search-full-screen]",function(){var o=e(this);t=document.activeElement,o.attr("tabindex")||o.attr("tabindex","-1"),o.trigger("focus"),e(document).on("focusin.wd",function(t){t.target===o[0]||o[0].contains(t.target)||e(t.target).closest(".mfp-wrap").length||o.trigger("focus")})}).on("wdCloseSide wdCloseSearch",".wd-side-hidden, .wd-fs-menu, [class*=wd-search-full-screen]",function(){e(document).off("focusin.wd"),t&&document.contains(t)&&(t.closest(".wd-quick-shop, .wd-quick-shop-2")&&(t=t.closest(".wd-product").querySelector(".wd-product-img-link")),e(t).trigger("focus"),t=null)}),woodmartThemeModule.$document.on("keyup",".wd-role-btn[tabindex]",function(t){13===t.which&&(e(this).trigger("click"),t.preventDefault())})}(jQuery),window.addEventListener("load",function(){var e=["keydown","scroll","mouseover","touchmove","touchstart","mousedown","mousemove"],t=function(){window.dispatchEvent(new CustomEvent("wdEventStarted")),o()},o=function(){e.forEach(function(e){window.removeEventListener(e,t)})};setTimeout(function(){e.forEach(function(e){!function(e){window.addEventListener(e,t)}(e)})},100)});