Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.169/page_editor/plugins/experience/thunks/duplicateExperience",["module","exports","require","../../../app/services/ExperienceService","../actions/createExperience"],(function(e,t,n){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function duplicateExperience({segmentsExperienceId:e}){return t=>r.default.duplicateExperience({body:{segmentsExperienceId:e},dispatch:t}).then((({fragmentEntryLinks:e,layoutData:n,segmentsExperience:a})=>r.default.selectExperience({body:{segmentsExperienceId:a.segmentsExperienceId},dispatch:t}).then((r=>t((0,i.default)({fragmentEntryLinks:e,layoutData:n,portletIds:r,segmentsExperience:a})))).catch((e=>e))))};var r=_interopRequireDefault(n("../../../app/services/ExperienceService")),i=_interopRequireDefault(n("../actions/createExperience"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=duplicateExperience.js.map