"use strict";(self.webpackChunkwebpackWcBlocksStylingJsonp=self.webpackChunkwebpackWcBlocksStylingJsonp||[]).push([[2974],{93566:(t,o,l)=>{l.d(o,{p:()=>a});var e=l(70851),n=l(73993),r=l(90092),s=l(66032);const a=t=>{const o=(t=>{const o=(0,n.isObject)(t)?t:{style:{}};let l=o.style;return(0,n.isString)(l)&&(l=JSON.parse(l)||{}),(0,n.isObject)(l)||(l={}),{...o,style:l}})(t),l=(0,s.BK)(o),a=(0,s.aR)(o),c=(0,s.fo)(o),i=(0,r.x)(o);return{className:(0,e.A)(i.className,l.className,a.className,c.className),style:{...i.style,...l.style,...a.style,...c.style}}}},90092:(t,o,l)=>{l.d(o,{x:()=>n});var e=l(73993);const n=t=>{const o=(0,e.isObject)(t.style.typography)?t.style.typography:{},l=(0,e.isString)(o.fontFamily)?o.fontFamily:"";return{className:t.fontFamily?`has-${t.fontFamily}-font-family`:l,style:{fontSize:t.fontSize?`var(--wp--preset--font-size--${t.fontSize})`:o.fontSize,fontStyle:o.fontStyle,fontWeight:o.fontWeight,letterSpacing:o.letterSpacing,lineHeight:o.lineHeight,textDecoration:o.textDecoration,textTransform:o.textTransform}}}},66032:(t,o,l)=>{l.d(o,{BK:()=>i,aR:()=>u,fo:()=>d});var e=l(70851),n=l(5932),r=l(49786),s=l(73993);function a(t={}){const o={};return(0,r.getCSSRules)(t,{selector:""}).forEach((t=>{o[t.key]=t.value})),o}function c(t,o){return t&&o?`has-${(0,n.c)(o)}-${t}`:""}function i(t){var o,l,n,r,i,u,d;const{backgroundColor:y,textColor:f,gradient:v,style:g}=t,m=c("background-color",y),b=c("color",f),p=function(t){if(t)return`has-${t}-gradient-background`}(v),h=p||(null==g||null===(o=g.color)||void 0===o?void 0:o.gradient);return{className:(0,e.A)(b,p,{[m]:!h&&!!m,"has-text-color":f||(null==g||null===(l=g.color)||void 0===l?void 0:l.text),"has-background":y||(null==g||null===(n=g.color)||void 0===n?void 0:n.background)||v||(null==g||null===(r=g.color)||void 0===r?void 0:r.gradient),"has-link-color":(0,s.isObject)(null==g||null===(i=g.elements)||void 0===i?void 0:i.link)?null==g||null===(u=g.elements)||void 0===u||null===(d=u.link)||void 0===d?void 0:d.color:void 0}),style:a({color:(null==g?void 0:g.color)||{}})}}function u(t){var o;const l=(null===(o=t.style)||void 0===o?void 0:o.border)||{};return{className:function(t){var o;const{borderColor:l,style:n}=t,r=l?c("border-color",l):"";return(0,e.A)({"has-border-color":!!l||!(null==n||null===(o=n.border)||void 0===o||!o.color),[r]:!!r})}(t),style:a({border:l})}}function d(t){var o;return{className:void 0,style:a({spacing:(null===(o=t.style)||void 0===o?void 0:o.spacing)||{}})}}},26893:(t,o,l)=>{l.r(o),l.d(o,{default:()=>u});var e=l(51609),n=l(40812),r=l(74845),s=l(70851),a=l(93566),c=l(31877),i=l(11692);const u=({className:t,cartButtonLabel:o,style:l})=>{const u=(0,a.p)({style:l});return n.Vo?(0,e.createElement)(r.A,{className:(0,s.A)(t,u.className,"wc-block-mini-cart__footer-cart"),style:u.style,href:n.Vo,variant:(0,i.I)(t,"outlined")},o||c.G):null}}}]);