Liferay.Loader.define("data-engine-taglib@3.3.26/data_layout_builder/js/hooks/useLoad.es",["module","exports","require","@liferay/frontend-js-react-web","liferay!frontend-js-react-web$react"],(function(e,r,t){var a;window;{Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){const r=d(new Map),t=(0,n.useIsMounted)();return e(((e,a)=>(r.current.get(e)||r.current.set(e,new Promise(((n,u)=>{Liferay.Loader.require([a],(e=>{t()&&n(e.default)}),(a=>{t()&&(r.current.delete(e),u(a))}))}))),r.current.get(e))),[t])};var n=t("@liferay/frontend-js-react-web"),u=(a=t("liferay!frontend-js-react-web$react"))&&a.__esModule?a:{default:a};const{useCallback:e,useRef:d}=u.default}}));
//# sourceMappingURL=useLoad.es.js.map