document.addEventListener(`DOMContentLoaded`,function(){let e=document.getElementById(`status`),t=document.getElementById(`leaveSection`),n=document.getElementById(`terminationSection`);function r(){let r=e.value;t.classList.remove(`visible-section`),t.classList.add(`hidden-section`),n.classList.remove(`visible-section`),n.classList.add(`hidden-section`),r===`on_leave`?(t.classList.remove(`hidden-section`),t.classList.add(`visible-section`)):r===`terminated`&&(n.classList.remove(`hidden-section`),n.classList.add(`visible-section`))}r(),e.addEventListener(`change`,r)});