var SmilePack_Module_Editor=function(){function t(){this.maybeHideFilteringTagsTab(),this.enableHelpText(),this.initEvents()}var e=t.prototype;return e.initEvents=function(){var e=this;document.addEventListener("click",function(t){e.toggleFilteringTagsTab(t)})},e.toggleFilteringTagsTab=function(t){var e,t=t.target.closest('input[name="jform[params][provider]"]');t&&(e=document.querySelector('button[aria-controls="attrib-filtering_tags"]')?document.querySelector('button[aria-controls="attrib-filtering_tags"]'):document.querySelector('li:has(a[href="#attrib-filtering_tags"])'),"slideshow"===t.value?e.style.display="none":e.style.display="")},e.maybeHideFilteringTagsTab=function(){var t=document.querySelector('input[name="jform[params][provider]"]:checked');t&&"slideshow"===t.value&&((document.querySelector('button[aria-controls="attrib-filtering_tags"]')?document.querySelector('button[aria-controls="attrib-filtering_tags"]'):document.querySelector('li:has(a[href="#attrib-filtering_tags"])')).style.display="none")},e.enableHelpText=function(){var t=document.querySelector(".button-inlinehelp");t&&t.click()},t}();document.addEventListener("DOMContentLoaded",function(){new SmilePack_Module_Editor});

