!function(o){woodmartThemeModule.$document.on("wdBackHistory wdProductsTabsLoaded wdSearchFullScreenContentLoaded wdActionAfterAddToCart wdShopPageInit wdArrowsLoadProducts wdLoadMoreLoadProducts wdUpdateWishlist wdQuickViewOpen wdQuickShopSuccess wdProductBaseHoverIconsResize wdRecentlyViewedProductLoaded updated_checkout updated_cart_totals",function(){woodmartThemeModule.btnsToolTips()}),woodmartThemeModule.$document.on("wdUpdateTooltip",function(t,e){woodmartThemeModule.updateTooltip(e)}),o.each(["frontend/element_ready/wd_products.default","frontend/element_ready/wd_products_tabs.default","frontend/element_ready/wd_single_product_nav.default","frontend/element_ready/wd_single_product_size_guide_button.default","frontend/element_ready/wd_single_product_compare_button.default","frontend/element_ready/wd_single_product_wishlist_button.default"],function(t,e){woodmartThemeModule.wdElementorAddAction(e,function(){woodmartThemeModule.btnsToolTips()})}),woodmartThemeModule.btnsToolTips=function(){function e(t,e){!t.hasClass("wd-hint")&&!t.closest(".wd-review-likes").length&&woodmartThemeModule.windowWidth<=1024||t.hasClass("wd-tooltip-inited")||(t.tooltip({animation:!1,container:"body",trigger:"hover",boundary:"window",placement:e,title:function(){var t=o(this);return 0{t.addEventListener("touchstart",function(t){e(o(this),"top")},{passive:!0})}),o(woodmart_settings.tooltip_left_selector).on("mouseenter",function(){e(o(this),woodmartThemeModule.$body.hasClass("rtl")?"right":"left")}),document.querySelectorAll(woodmart_settings.tooltip_left_selector).forEach(t=>{t.addEventListener("touchstart",function(t){e(o(this),woodmartThemeModule.$body.hasClass("rtl")?"right":"left")},{passive:!0})})},woodmartThemeModule.updateTooltip=function(t){t=o(t);t.hasClass("wd-tooltip-inited")||(t=t.parent(".wd-tooltip-inited")),woodmartThemeModule.windowWidth<=1024||!t.hasClass("wd-tooltip-inited")||void 0===o.fn.tooltip||!t.is(":hover")||t.tooltip("show")},o(document).ready(function(){woodmartThemeModule.btnsToolTips()})}(jQuery);