jQuery(document).ready(function(e){[{triggerSelector:"#ksef_zw_rate",targetSelector:"#ksef_defaults_exemption"},{triggerSelector:"#ksef_np_rate",targetSelector:"#ksef_defaults_np_vat_rate_type"}].forEach(t=>{const r=e(t.triggerSelector),o=e(t.targetSelector);if(r.length&&o.length){const e=o.closest("tr"),t=()=>{const t=""!==r.val();e.toggle(t)};t(),r.on("change",t)}})});