document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".wpuf-read-more-toggle").forEach(function(t){t.addEventListener("click",function(t){t.preventDefault();var e=this.getAttribute("data-target"),a=this.getAttribute("data-read-more-text")||"Read More",i=this.getAttribute("data-show-less-text")||"Show Less";if(e){var n=document.getElementById(e);if(n){var r=n.querySelector(".wpuf-bio-truncated"),s=n.querySelector(".wpuf-bio-full");r&&s&&("none"!==s.style.display?(s.style.display="none",r.style.display="block",this.textContent=a,this.setAttribute("aria-expanded","false")):(r.style.display="none",s.style.display="block",this.textContent=i,this.setAttribute("aria-expanded","true")))}}}),t.setAttribute("aria-expanded","false"),t.setAttribute("type","button")})});
//# sourceMappingURL=user-bio-frontend.js.map