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