!function(){"use strict";var t=window.ctFrontend;window.ctEvents;const e=function(t){const e=t.target.matches(".ct-compare-bar")?t.target:t.target.closest(".ct-compare-bar");e&&setTimeout(function(){o(e),n(e)},10)},n=function(t){const n=t.querySelector("li");if(!n)return;const o=n.getBoundingClientRect().top;t.querySelectorAll("li:not(:first-child)").forEach(function(t){t.getBoundingClientRect().top!==o&&(t.style.display="none")}),t.addEventListener("click",e,{capture:!0})},o=function(t){t.querySelectorAll("li").forEach(function(t){t.removeAttribute("style")}),t.removeEventListener("click",e,{capture:!0})};(0,t.registerDynamicChunk)("blocksy_ext_woo_extra_compare_bar_tooltip",{mount:function(t){t.hasListener||(n(t),t.addEventListener("mouseenter",function(){n(t)}),t.addEventListener("mouseleave",function(){o(t)}),t.hasListener=!0)}})}();