Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.179/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 createExperience({name:e,segmentsEntryId:t}){return n=>r.default.createExperience({body:{name:e,segmentsEntryId:t},dispatch:n}).then((({fragmentEntryLinks:e,layoutData:t,segmentsExperience:a})=>r.default.selectExperience({body:{segmentsExperienceId:a.segmentsExperienceId},dispatch:n}).then((r=>n((0,i.default)({fragmentEntryLinks:e,layoutData:t,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=createExperience.js.map