(()=>{const t=document.querySelectorAll(".glossary-tooltip-container");t?.forEach((t=>{let e;t?.addEventListener("mouseenter",(function(t){e=setTimeout((()=>{!function(t){t.target.classList.add("active")}(t)}),500)})),t?.addEventListener("mouseleave",(function(t){clearTimeout(e),setTimeout((()=>{!function(t){t.target.classList.remove("active")}(t)}),500)})),function(t){const e=t?.getAttribute("data-tooltip");if(!e||"undefined"==e)return;const n=document.createElement("p");n.classList.add("glossary-tooltip-overlay");const o=document.createElement("div");let c;try{c=decodeURIComponent(e)}catch(t){c=e}o.innerHTML=c,n.appendChild(o),t.appendChild(n)}(t)}))})();