!function(t){woodmartThemeModule.$document.on("wdShopPageInit",function(){woodmartThemeModule.buttonShowMore()}),t.each(["frontend/element_ready/wd_button.default"],function(t,o){woodmartThemeModule.wdElementorAddAction(o,function(){woodmartThemeModule.buttonShowMore()})}),woodmartThemeModule.buttonShowMore=function(){t(".wd-collapsible-content, .wp-block-wd-collapsible-content").each(function(){var e=t(this),n=e.find(".wd-collapsible-button, > .wp-block-wd-button");n.on("click",function(t){var o;t.preventDefault(),e.toggleClass("wd-opened"),e.data("alt-text")&&(o=(t=n.find("span")).text(),t.text(e.data("alt-text")),e.data("alt-text",o))})})},t(document).ready(function(){woodmartThemeModule.buttonShowMore()})}(jQuery);