Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.132/page_editor/app/thunks/updateFragmentConfiguration",["module","exports","require","../actions/updateFragmentEntryLinkConfiguration","../config/constants/freemarkerFragmentEntryProcessor","../services/FragmentService"],(function(e,t,n){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({configurationValues:e,fragmentEntryLink:t}){const{editableValues:n,fragmentEntryLinkId:i}=t,u=c(c({},n),{},{[a.FREEMARKER_FRAGMENT_ENTRY_PROCESSOR]:e});return(e,t)=>{const{languageId:n,segmentsExperienceId:a}=t();return o.default.updateConfigurationValues({editableValues:u,fragmentEntryLinkId:i,languageId:n,onNetworkStatus:e,segmentsExperienceId:a}).then((({fragmentEntryLink:t,layoutData:n,pageContents:a})=>{e((0,r.default)({fragmentEntryLink:t,fragmentEntryLinkId:i,layoutData:n,pageContents:a}))}))}};var r=i(n("../actions/updateFragmentEntryLinkConfiguration")),a=n("../config/constants/freemarkerFragmentEntryProcessor"),o=i(n("../services/FragmentService"));function i(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}}}));
//# sourceMappingURL=updateFragmentConfiguration.js.map