/**
 * @copyright  (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */(()=>{const n=()=>{const o=document.getElementById("batch-category-id"),d=document.getElementById("batch-menu-id"),c=document.getElementById("batch-position-id"),a=document.getElementById("batch-group-id"),i=document.getElementById("batch-tag-copy-move-id"),t=document.getElementById("batch-copy-move");let e;const s=()=>{!e.value||e.value&&parseInt(e.value,10)===0?t.classList.add("hidden"):t.classList.remove("hidden")};o&&(e=o),d&&(e=d),c&&(e=c),a&&(e=a),i&&(e=i),t&&(t.classList.add("hidden"),e.addEventListener("change",s)),document.removeEventListener("DOMContentLoaded",n,!0)};document.addEventListener("DOMContentLoaded",n,!0),document.addEventListener("joomla:updated",n,!0)})();
