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