Liferay.Loader.define("@liferay/search-experiences-web@3.0.30/sxp_blueprint_admin/js/utils/sxp_element/clean_ui_configuration",["module","exports","require"],(function(e,i,n){window;Object.defineProperty(i,"__esModule",{value:!0}),i.default=function cleanUIConfiguration(e={}){const i=[];if(Array.isArray(e.fieldSets)){const n=[];e.fieldSets.forEach((e=>{if(Array.isArray(e.fields)){const r=[];e.fields.forEach((e=>{e.name&&!n.includes(e.name)&&(n.push(e.name),r.push(e))})),r.length&&i.push({fields:r})}}))}return{fieldSets:i}}}));
//# sourceMappingURL=clean_ui_configuration.js.map