(self.webpackChunkwebpackWcBlocksJsonp=self.webpackChunkwebpackWcBlocksJsonp||[]).push([[8308],{9689:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>u});var l=a(9307),c=a(4184),i=a.n(c),t=a(4333);const r=(0,l.createContext)({hasContainerWidth:!1,containerClassName:"",isMobile:!1,isSmall:!1,isMedium:!1,isLarge:!1}),n=({children:e,className:s=""})=>{const[a,c]=(()=>{const[e,{width:s}]=(0,t.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]})(),n={hasContainerWidth:""!==c,containerClassName:c,isMobile:"is-mobile"===c,isSmall:"is-small"===c,isMedium:"is-medium"===c,isLarge:"is-large"===c};return(0,l.createElement)(r.Provider,{value:n},(0,l.createElement)("div",{className:i()(s,c)},a,e))};a(6430);const o=({children:e,className:s})=>(0,l.createElement)(n,{className:i()("wc-block-components-sidebar-layout",s)},e);var m=a(4055),d=a(4268);const u=({children:e,className:s})=>{const{cartItems:a,cartIsLoading:c}=(0,m.b)(),{hasDarkControls:t}=(0,d.l)();return c||a.length>=1?(0,l.createElement)(o,{className:i()("wc-block-cart",s,{"has-dark-controls":t})},e):null}},6430:()=>{}}]);