"use strict";(self.webpackChunkwebpackWcBlocksJsonp=self.webpackChunkwebpackWcBlocksJsonp||[]).push([[8513],{1492:(e,c,a)=>{a.r(c),a.d(c,{default:()=>l});var s=a(9307),t=a(4055);const l=({children:e,className:c})=>{const{cartItems:a,cartIsLoading:l}=(0,t.b)(),n=(0,s.useRef)(null);return(0,s.useEffect)((()=>{var e;0!==a.length||l||null===(e=n.current)||void 0===e||e.focus()}),[a,l]),l||a.length>0?null:(0,s.createElement)("div",{tabIndex:-1,ref:n,className:c},(0,s.createElement)("div",{className:"wc-block-mini-cart__empty-cart-wrapper"},e))}}}]);