!function(){"use strict";document.addEventListener("DOMContentLoaded",(()=>{(()=>{if(void 0===window.wpmastertoolkit_disallow_register_user)return;const e=document.querySelector("#users_can_register"),t=e.parentElement;e.disabled=!0,e.classList.add("disabled"),t.style.color="#a7aaad";var a=document.createElement("p");a.className="wp-mastertoolkit__disabled-settings",a.textContent=wpmastertoolkit_disallow_register_user.i18n.disable_users_can_register,t.insertAdjacentElement("afterend",a)})(),(()=>{if(void 0===window.wpmastertoolkit_lock_admin_email)return;const e=document.querySelector("#new_admin_email"),t=e.parentElement;e.disabled=!0,e.classList.add("disabled");var a=document.createElement("p");a.className="wp-mastertoolkit__disabled-settings",a.textContent=wpmastertoolkit_lock_admin_email.i18n.disable_email_edit,t.insertBefore(a,e.nextSibling);var i=document.createElement("input");i.type="hidden",i.name="new_admin_email",i.value=e.value,t.appendChild(i)})(),void 0!==window.wpmastertoolkit_lock_site_url&&document.querySelectorAll("#siteurl, #home").forEach((e=>{e.disabled=!0,e.classList.add("disabled"),e.parentElement.style.color="#a7aaad";var t=document.createElement("p");t.className="wp-mastertoolkit__disabled-settings",t.textContent=wpmastertoolkit_lock_site_url.i18n.disable_site_url,e.insertAdjacentElement("afterend",t)}))}))}();