document.addEventListener("DOMContentLoaded",(()=>(()=>{const t=document.querySelectorAll("a");(()=>{var e,r,o,n;const l=null!==(e=WPMastertoolkit_external_permalink_front.target)&&void 0!==e?e:"0",a=null!==(r=WPMastertoolkit_external_permalink_front.noopener)&&void 0!==r?r:"0",i=null!==(o=WPMastertoolkit_external_permalink_front.noreferrer)&&void 0!==o?o:"0",_=null!==(n=WPMastertoolkit_external_permalink_front.nofollow)&&void 0!==n?n:"0";t.forEach((t=>{const e=t.getAttribute("href");if(e&&e.indexOf("#wpmastertoolkit_new_tab")>=0){t.setAttribute("href",e.replace("#wpmastertoolkit_new_tab","")),"0"!=l&&t.setAttribute("target","_blank");let r="";"0"!=a&&(r+="noopener "),"0"!=i&&(r+="noreferrer "),"0"!=_&&(r+="nofollow"),""!=r&&t.setAttribute("rel",r)}}))})()})()));