[...document.querySelectorAll(".postr-for-nostr")].map(t=>{t.addEventListener("click",function(){const o=t.getAttribute("data-post-id"),e=t.getAttribute("data-post-type");return window.open(postr_for_nostr_trigger_localize.site_url+"?action=postr-for-nostr&post_id="+o+"&post_type="+e,"targetWindow","toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=600,height=700"),!1})});