Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.132/page_editor/core/hooks/useLazy",["module","exports","require","liferay!frontend-js-react-web$react"],(function(e,t,n){var r;window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t){const n=l(new Map);return u((({getInstance:r,pluginId:u})=>{if(!n.current.has(u)){const a=r(u),l=e((()=>a.then((e=>({default:()=>e?t({instance:e}):null})))));n.current.set(u,l)}const l=n.current.get(u);return a.default.createElement(l,null)}),[t])};var a=(r=n("liferay!frontend-js-react-web$react"))&&r.__esModule?r:{default:r};const{lazy:e,useCallback:u,useRef:l}=a.default}}));
//# sourceMappingURL=useLazy.js.map