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