Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.132/page_editor/app/reducers/pageContentsReducer",["module","exports","require","../actions/types"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t=e,r){switch(r.type){case n.ADD_ITEM:case n.DELETE_ITEM:case n.UPDATE_COLLECTION_DISPLAY_COLLECTION:case n.UPDATE_EDITABLE_VALUES:case n.UPDATE_FRAGMENT_ENTRY_LINK_CONFIGURATION:case n.UPDATE_ITEM_CONFIG:case n.UPDATE_PAGE_CONTENTS:case n.UPDATE_ROW_COLUMNS:return[...r.pageContents];case n.UPDATE_PREVIEW_IMAGE:return t.map((e=>e.classPK===r.fileEntryId?o(o({},e),{},{actions:o(o({},e.actions),{},{editImage:o(o({},e.actions.editImage),{},{previewURL:r.previewURL})})}):e));default:return t}};var n=r("../actions/types");function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const e=[]}}));
//# sourceMappingURL=pageContentsReducer.js.map