Liferay.Loader.define("commerce-frontend-js@4.0.75/components/mini_cart/Wrapper",["module","exports","require","liferay!frontend-js-react-web$react","./MiniCartContext"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}r.default=e,t&&t.set(e,r);return r}(r("liferay!frontend-js-react-web$react")),a=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(r("./MiniCartContext"));function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}var i=function Wrapper(){const{CartViews:e,isOpen:t}=(0,n.useContext)(a.default);return n.default.createElement("div",{className:"mini-cart-wrapper"},n.default.createElement(e.Header,null),n.default.createElement("div",{className:"mini-cart-wrapper-items"},t&&n.default.createElement(e.ItemsList,null)),n.default.createElement(e.OrderButton,null))};t.default=i}}));
//# sourceMappingURL=Wrapper.js.map