"use strict";(self.webpackChunkwebpackWcBlocksFrontendJsonp=self.webpackChunkwebpackWcBlocksFrontendJsonp||[]).push([[319],{3566:(o,t,e)=>{e.d(t,{p:()=>a});var l=e(851),n=e(3993),r=e(92),s=e(6032);const a=o=>{const t=(o=>{const t=(0,n.isObject)(o)?o:{style:{}};let e=t.style;return(0,n.isString)(e)&&(e=JSON.parse(e)||{}),(0,n.isObject)(e)||(e={}),{...t,style:e}})(o),e=(0,s.BK)(t),a=(0,s.aR)(t),c=(0,s.fo)(t),i=(0,r.x)(t);return{className:(0,l.A)(i.className,e.className,a.className,c.className),style:{...i.style,...e.style,...a.style,...c.style}}}},92:(o,t,e)=>{e.d(t,{x:()=>n});var l=e(3993);const n=o=>{const t=(0,l.isObject)(o.style.typography)?o.style.typography:{},e=(0,l.isString)(t.fontFamily)?t.fontFamily:"";return{className:o.fontFamily?`has-${o.fontFamily}-font-family`:e,style:{fontSize:o.fontSize?`var(--wp--preset--font-size--${o.fontSize})`:t.fontSize,fontStyle:t.fontStyle,fontWeight:t.fontWeight,letterSpacing:t.letterSpacing,lineHeight:t.lineHeight,textDecoration:t.textDecoration,textTransform:t.textTransform}}}},6032:(o,t,e)=>{e.d(t,{BK:()=>i,aR:()=>u,fo:()=>d});var l=e(851),n=e(1194),r=e(9786),s=e(3993);function a(o={}){const t={};return(0,r.getCSSRules)(o,{selector:""}).forEach((o=>{t[o.key]=o.value})),t}function c(o,t){return o&&t?`has-${(0,n.c)(t)}-${o}`:""}function i(o){var t,e,n,r,i,u,d;const{backgroundColor:f,textColor:y,gradient:v,style:m}=o,g=c("background-color",f),p=c("color",y),b=function(o){if(o)return`has-${o}-gradient-background`}(v),h=b||(null==m||null===(t=m.color)||void 0===t?void 0:t.gradient);return{className:(0,l.A)(p,b,{[g]:!h&&!!g,"has-text-color":y||(null==m||null===(e=m.color)||void 0===e?void 0:e.text),"has-background":f||(null==m||null===(n=m.color)||void 0===n?void 0:n.background)||v||(null==m||null===(r=m.color)||void 0===r?void 0:r.gradient),"has-link-color":(0,s.isObject)(null==m||null===(i=m.elements)||void 0===i?void 0:i.link)?null==m||null===(u=m.elements)||void 0===u||null===(d=u.link)||void 0===d?void 0:d.color:void 0}),style:a({color:(null==m?void 0:m.color)||{}})}}function u(o){var t;const e=(null===(t=o.style)||void 0===t?void 0:t.border)||{};return{className:function(o){var t;const{borderColor:e,style:n}=o,r=e?c("border-color",e):"";return(0,l.A)({"has-border-color":!!e||!(null==n||null===(t=n.border)||void 0===t||!t.color),[r]:!!r})}(o),style:a({border:e})}}function d(o){var t;return{className:void 0,style:a({spacing:(null===(t=o.style)||void 0===t?void 0:t.spacing)||{}})}}},2500:(o,t,e)=>{e.r(t),e.d(t,{default:()=>c});var l=e(1609),n=e(8605),r=e(851),s=e(7723),a=e(3566);const c=o=>{const{cartItemsCount:t}=(0,n.V)(),e=(0,a.p)(o);return(0,l.createElement)("span",{className:(0,r.A)(o.className,e.className),style:e.style},(0,s.sprintf)(/* translators: %d is the count of items in the cart. */ /* translators: %d is the count of items in the cart. */
(0,s._n)("(%d item)","(%d items)",t,"woocommerce"),t))}}}]);