Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.132/page_editor/app/components/undo/undoUpdateEditableValuesAction",["module","exports","require","../../thunks/updateEditableValues"],(function(e,t,r){var n;window;{Object.defineProperty(t,"__esModule",{value:!0}),t.undoAction=function({action:e}){return(0,o.default)(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e))},t.getDerivedStateForUndo=function({action:e,state:t}){const{fragmentEntryLinkId:r}=e;return{editableValues:t.fragmentEntryLinks[r].editableValues,fragmentEntryLinkId:r}};var o=(n=r("../../thunks/updateEditableValues"))&&n.__esModule?n:{default:n};function a(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 i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}}}));
//# sourceMappingURL=undoUpdateEditableValuesAction.js.map