Liferay.Loader.define("dynamic-data-mapping-form-web@4.0.105/admin/js/reducers/formInfoReducer.es",["module","exports","require","../eventTypes.es"],(function(e,r,t){window;{Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,r){switch(r.type){case n.EVENT_TYPES.FORM_INFO.DESCRIPTION_CHANGE:{const{editingLanguageId:t,localizedDescription:n}=e;return{localizedDescription:c(c({},n),{},{[t]:r.payload})}}case n.EVENT_TYPES.FORM_INFO.NAME_CHANGE:{const{editingLanguageId:t,localizedName:n}=e;return{localizedName:c(c({},n),{},{[t]:r.payload})}}case n.EVENT_TYPES.FORM_INFO.LANGUAGE_DELETE:{const{languageId:r,localizedDescription:t,localizedName:n}=e;return delete n[r],delete t[r],{localizedDescription:c({},t),localizedName:c({},n)}}default:return e}};var n=t("../eventTypes.es");function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?o(Object(t),!0).forEach((function(r){i(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function i(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}}}));
//# sourceMappingURL=formInfoReducer.es.js.map