window.addEventListener("barn2_setup_wizard_changed",e=>{const t="1"===e.detail.anyone||!0===e.detail.anyone,o="1"===e.detail.logged||!0===e.detail.logged,d=e.detail.showStep,i=e.detail.hideStep;!0===t&&!0===o?(d("password-protection"),d("user-protection")):!0===t?(d("password-protection"),i("user-protection")):!0===o&&(i("password-protection",!0),d("user-protection",!1))},!1);