Liferay.Loader.define("commerce-frontend-js@4.0.52/utilities/modules",["module","exports","require","liferay!frontend-js-react-web$react"],(function(e,o,t){var r;window;{Object.defineProperty(o,"__esModule",{value:!0}),o.getLiferayJsModule=d,o.getFakeJsModule=i,o.getComponentByModuleUrl=function(o){return new Promise(((t,r)=>{const n=s.find((e=>e.url===o));return n&&t(n.component),e(o).then((e=>(s.push({component:e,url:o}),t(e)))).catch(r)}))},o.fetchedJsModules=o.getJsModule=void 0;var n,u=(r=t("liferay!frontend-js-react-web$react"))&&r.__esModule?r:{default:r};function d(e){return new Promise(((o,t)=>{Liferay.Loader.require(e,(e=>o(e.default||e)),(e=>t(e)))}))}function i(){return new Promise((e=>{setTimeout((()=>e((()=>u.default.createElement("div",{className:"custom-component"},"fakely fetched component")))),3e3)}))}const e=(null===(n=Liferay.Loader)||void 0===n?void 0:n.require)?d:i;o.getJsModule=e;const s=[];o.fetchedJsModules=s}}));
//# sourceMappingURL=modules.js.map