(e=>{"use strict";e.loadCss(ThemifyBuilderModuleJs.cssUrl+"more-text"),document.body.addEventListener("click",(t=>{if(t.target&&t.target.classList.contains("module-text-more")){t.preventDefault();const i=t.target,l=i.parentElement.tfClass("more-text")[0],s=i.classList.contains("tb_text_less_link"),m=()=>{i.closest(".module").dispatchEvent(new Event("resize"))};i.classList.toggle("tb_text_less_link",!s),e.slide(l,!s,500,m)}}))})(Themify);