(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[58],{462:function(e,c,t){"use strict";t.r(c);var a=t(0),n=t(38),l=t(8);c.default=e=>{let{children:c,className:t}=e;const{cartItems:s,cartIsLoading:r}=Object(n.a)(),o=Object(l.useRef)(null);return Object(l.useEffect)(()=>{var e;0!==s.length||r||null===(e=o.current)||void 0===e||e.focus()},[s,r]),r||s.length>0?null:Object(a.createElement)("div",{tabIndex:-1,ref:o,className:t},Object(a.createElement)("div",{className:"wc-block-mini-cart__empty-cart-wrapper"},c))}}}]);