document.addEventListener("DOMContentLoaded",function(event){const urlParams=new URLSearchParams(window.location.search);const redir=urlParams.get('redir');if(redir=="p"){popupaoc_popup_befoer_open();function popupaoc_popup_befoer_open(){Custombox.modal.closeAll();console.log("closeb4open")}}})