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