(()=>{"use strict";document.addEventListener("DOMContentLoaded",(()=>(()=>{const e=document.querySelector("#JS-WCE-deactivate-popup"),t=document.querySelector("#JS-WCE-deactivate-popup-overlay"),c=document.querySelector("#deactivate-e-transactions-wc"),a=document.querySelector("#JS-WCE-deactivate-popup-close"),n=document.querySelector("#JS-WCE-deactivate-popup-cancel"),o=document.querySelector("#JS-WCE-deactivate-popup-deactivate");function r(){e.classList.remove("show")}!function(){let e=c.getAttribute("href");o&&o.setAttribute("href",e)}(),c&&c.addEventListener("click",(t=>{t.preventDefault(),e.classList.add("show")})),a&&a.addEventListener("click",(e=>{e.preventDefault(),r()})),n&&n.addEventListener("click",(e=>{e.preventDefault(),r()})),t&&t.addEventListener("click",(e=>{e.preventDefault(),r()}))})()))})();