Liferay.Loader.define("asset-publisher-web@5.0.65/js/DisplaySettings",["module","exports","require"],(function(e,t,n){window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({namespace:e}){const t=document.getElementById("".concat(e,"displayStyle"));function n(){const e=t.value,n=document.querySelectorAll(".hidden-field");Array.from(n).forEach((t=>{const n=t.closest(".form-group");if(n){const s=t.classList,o=n.classList;"full-content"===e&&(s.contains("show-asset-title")||s.contains("show-context-link")||s.contains("show-extra-info"))||"abstracts"===e&&s.contains("abstract-length")?o.remove("hide"):o.add("hide")}}))}n(),t.addEventListener("change",n)}}));
//# sourceMappingURL=DisplaySettings.js.map