Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.130/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({segmentsExperienceId:e}){return t=>r.default.duplicateExperience({body:{segmentsExperienceId:e},dispatch:t}).then((({fragmentEntryLinks:e,layoutData:n,segmentsExperience:c})=>r.default.selectExperience({body:{segmentsExperienceId:c.segmentsExperienceId},dispatch:t}).then((r=>t((0,i.default)({fragmentEntryLinks:e,layoutData:n,portletIds:r,segmentsExperience:c})))).catch((e=>e))))};var r=c(n("../../../app/services/ExperienceService")),i=c(n("../actions/createExperience"));function c(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=duplicateExperience.js.map