(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[25],{166:function(e,t){},213:function(e,t,s){"use strict";s.d(t,"b",(function(){return l})),s.d(t,"a",(function(){return o}));var a=s(0),c=(s(8),s(12)),i=s(4),r=s.n(i);const n=Object(a.createContext)({hasContainerWidth:!1,containerClassName:"",isMobile:!1,isSmall:!1,isMedium:!1,isLarge:!1}),l=()=>Object(a.useContext)(n),o=e=>{let{children:t,className:s=""}=e;const[i,l]=(()=>{const[e,{width:t}]=Object(c.useResizeObserver)();let s="";return t>700?s="is-large":t>520?s="is-medium":t>400?s="is-small":t&&(s="is-mobile"),[e,s]})(),o={hasContainerWidth:""!==l,containerClassName:l,isMobile:"is-mobile"===l,isSmall:"is-small"===l,isMedium:"is-medium"===l,isLarge:"is-large"===l};return Object(a.createElement)(n.Provider,{value:o},Object(a.createElement)("div",{className:r()(s,l)},i,t))}},215:function(e,t,s){"use strict";var a=s(0),c=s(4),i=s.n(c),r=(s(8),s(213));s(166),t.a=e=>{let{children:t,className:s}=e;return Object(a.createElement)(r.a,{className:i()("wc-block-components-sidebar-layout",s)},t)}},377:function(e,t,s){"use strict";s.r(t);var a=s(0),c=s(4),i=s.n(c),r=s(215),n=s(22),l=s(32),o=s(19),m=s(135);t.default=e=>{let{children:t,className:s}=e;const{cartItems:c,cartIsLoading:u,cartItemErrors:d}=Object(n.a)(),{hasDarkControls:b}=Object(m.b)(),{addErrorNotice:h}=Object(l.a)();return Object(a.useEffect)(()=>{d.forEach(e=>{h(Object(o.decodeEntities)(e.message),{isDismissible:!0,id:e.code})})},[h,d]),u||c.length>=1?Object(a.createElement)(r.a,{className:i()("wc-block-cart",s,{"has-dark-controls":b})},t):null}}}]);