(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[79,75],{21:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return c}));var o=n(38);const r=t=>!Object(o.a)(t)&&t instanceof Object&&t.constructor===Object;function c(t,e){return r(t)&&e in t}},283:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var o=function(){return(o=Object.assign||function(t){for(var e,n=1,o=arguments.length;n0&&void 0!==arguments[0]?arguments[0]:{};const e={};return Object(a.getCSSRules)(t,{selector:""}).forEach(t=>{e[t.key]=t.value}),e}function u(t,e){return t&&e?`has-${Object(s.a)(e)}-${t}`:""}const d=t=>{const e=(t=>{const e=Object(c.a)(t)?t:{style:{}};let n=e.style;return Object(l.a)(n)&&(n=JSON.parse(n)||{}),Object(c.a)(n)||(n={}),{...e,style:n}})(t),n=function(t){var e,n,o,l,s,a,d;const{backgroundColor:f,textColor:b,gradient:v,style:m}=t,p=u("background-color",f),y=u("color",b),g=function(t){if(t)return`has-${t}-gradient-background`}(v),O=g||(null==m||null===(e=m.color)||void 0===e?void 0:e.gradient);return{className:r()(y,g,{[p]:!O&&!!p,"has-text-color":b||(null==m||null===(n=m.color)||void 0===n?void 0:n.text),"has-background":f||(null==m||null===(o=m.color)||void 0===o?void 0:o.background)||v||(null==m||null===(l=m.color)||void 0===l?void 0:l.gradient),"has-link-color":Object(c.a)(null==m||null===(s=m.elements)||void 0===s?void 0:s.link)?null==m||null===(a=m.elements)||void 0===a||null===(d=a.link)||void 0===d?void 0:d.color:void 0}),style:i({color:(null==m?void 0:m.color)||{}})}}(e),o=function(t){var e;const n=(null===(e=t.style)||void 0===e?void 0:e.border)||{};return{className:function(t){var e;const{borderColor:n,style:o}=t,c=n?u("border-color",n):"";return r()({"has-border-color":n||(null==o||null===(e=o.border)||void 0===e?void 0:e.color),borderColorClass:c})}(t),style:i({border:n})}}(e),s=function(t){var e;return{className:void 0,style:i({spacing:(null===(e=t.style)||void 0===e?void 0:e.spacing)||{}})}}(e),a=(t=>{const e=Object(c.a)(t.style.typography)?t.style.typography:{},n=Object(l.a)(e.fontFamily)?e.fontFamily:"";return{className:t.fontFamily?`has-${t.fontFamily}-font-family`:n,style:{fontSize:t.fontSize?`var(--wp--preset--font-size--${t.fontSize})`:e.fontSize,fontStyle:e.fontStyle,fontWeight:e.fontWeight,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight,textDecoration:e.textDecoration,textTransform:e.textTransform}}})(e);return{className:r()(a.className,n.className,o.className,s.className),style:{...a.style,...n.style,...o.style,...s.style}}}},38:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));const o=t=>null===t},427:function(t,e){},464:function(t,e,n){"use strict";n.r(e);var o=n(13),r=n.n(o),c=n(0),l=n(1),s=n(5),a=n.n(s),i=n(61),u=n(147),d=n(290);n(427);const f=t=>{let{parentClassName:e,sku:n,className:o,style:r}=t;return Object(c.createElement)("div",{className:a()(o,{[e+"__product-sku"]:e}),style:r},Object(l.__)("SKU:","woocommerce")," ",Object(c.createElement)("strong",null,n))};e.default=Object(u.withProductDataContext)(t=>{const{className:e}=t,n=Object(d.a)(t),{parentClassName:o}=Object(i.useInnerBlockLayoutContext)(),{product:l}=Object(i.useProductDataContext)(),s=l.sku;return t.isDescendentOfSingleProductTemplate?Object(c.createElement)(f,{parentClassName:o,className:e,sku:"Product SKU"}):s?Object(c.createElement)(f,r()({className:e,parentClassName:o,sku:s},t.isDescendantOfAllProducts&&{className:a()(e,"wc-block-components-product-sku wp-block-woocommerce-product-sku",n.className),style:{...n.style}})):null})}}]);