(self.webpackChunkwebpackWcBlocksFrontendJsonp=self.webpackChunkwebpackWcBlocksFrontendJsonp||[]).push([[7054],{9829:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>u});var l=a(1609),t=a(851),c=a(6087),i=a(9491);const n=(0,c.createContext)({hasContainerWidth:!1,containerClassName:"",isMobile:!1,isSmall:!1,isMedium:!1,isLarge:!1}),r=({children:e,className:s=""})=>{const[a,c]=(()=>{const[e,{width:s}]=(0,i.useResizeObserver)();let a="";return s>700?a="is-large":s>520?a="is-medium":s>400?a="is-small":s&&(a="is-mobile"),[e,a]})(),r={hasContainerWidth:""!==c,containerClassName:c,isMobile:"is-mobile"===c,isSmall:"is-small"===c,isMedium:"is-medium"===c,isLarge:"is-large"===c};return(0,l.createElement)(n.Provider,{value:r},(0,l.createElement)("div",{className:(0,t.A)(s,c)},a,e))};a(1221);const o=({children:e,className:s})=>(0,l.createElement)(r,{className:(0,t.A)("wc-block-components-sidebar-layout",s)},e);var m=a(8605),d=a(5202);const u=({children:e,className:s})=>{const{cartItems:a,cartIsLoading:c}=(0,m.V)(),{hasDarkControls:i}=(0,d.Y)();return c||a.length>=1?(0,l.createElement)(o,{className:(0,t.A)("wc-block-cart",s,{"has-dark-controls":i})},e):null}},1221:()=>{}}]);