Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.132/page_editor/app/thunks/addWidget",["module","exports","require","../actions/addFragmentEntryLinks","../services/WidgetService"],(function(e,t,d){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({parentItemId:e,portletId:t,portletItemId:d,position:a}){return(i,o)=>{r.default.addPortlet({onNetworkStatus:i,parentItemId:e,portletId:t,portletItemId:d,position:a,segmentsExperienceId:o().segmentsExperienceId}).then((({addedItemId:e,fragmentEntryLink:t,layoutData:d})=>{i((0,n.default)({addedItemId:e,fragmentEntryLinks:[t],layoutData:d}))}))}};var n=a(d("../actions/addFragmentEntryLinks")),r=a(d("../services/WidgetService"));function a(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=addWidget.js.map