Joomla=window.Joomla||{},(o=>{document.addEventListener("DOMContentLoaded",(()=>{o.twoFactorMethodChange=()=>{const o=document.getElementById("jform_twofactor_method");if(o){const e=`com_users_twofactor_${o.value}`;[].slice.call(document.querySelectorAll("#com_users_twofactor_forms_container > div")).forEach((o=>{const{id:t}=o;t!==e?document.getElementById(t).classList.add("hidden"):document.getElementById(t).classList.remove("hidden")}))}}}))})(Joomla);