Liferay.Loader.define("commerce-frontend-js@4.0.75/components/gallery/MainImage",["module","exports","require","@frontend-taglib-clay$clayui/loading-indicator","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react","./Arrows"],(function(e,a,t){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=function MainImage({adaptiveMediaImageHTMLTag:e,background:a,loading:t=!1,onNext:o,onPrev:i,onZoom:d,src:u,title:c}){return n.default.createElement("div",{className:"card main-image",onClick:d,style:{background:a}},e?n.default.createElement("div",{className:"h-100 w-100",dangerouslySetInnerHTML:{__html:e}}):n.default.createElement("img",{alt:c,className:"product-img",src:u}),n.default.createElement(l.default,{onNext:o,onPrev:i}),t?n.default.createElement(r.default,null):null)};var r=_interopRequireDefault(t("@frontend-taglib-clay$clayui/loading-indicator")),n=(_interopRequireDefault(t("liferay!frontend-js-react-web$prop-types")),_interopRequireDefault(t("liferay!frontend-js-react-web$react"))),l=_interopRequireDefault(t("./Arrows"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=MainImage.js.map