(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[82,77],{20: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}},286: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;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},o.apply(this,arguments)};Object.create,Object.create},287:function(t,e,n){"use strict";function o(t){return t.toLowerCase()}n.d(e,"a",(function(){return l}));var r=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],c=/[^A-Z0-9]+/gi;function l(t,e){void 0===e&&(e={});for(var n=e.splitRegexp,l=void 0===n?r:n,a=e.stripRegexp,i=void 0===a?c:a,u=e.transform,d=void 0===u?o:u,f=e.delimiter,b=void 0===f?" ":f,v=s(s(t,l,"$1\0$2"),i,"\0"),p=0,m=v.length;"\0"===v.charAt(p);)p++;for(;"\0"===v.charAt(m-1);)m--;return v.slice(p,m).split("\0").map(d).join(b)}function s(t,e,n){return e instanceof RegExp?t.replace(e,n):e.reduce((function(t,e){return t.replace(e,n)}),t)}},29:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));const o=t=>"string"==typeof t},290:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var o=n(286),r=n(287);function c(t,e){return void 0===e&&(e={}),function(t,e){return void 0===e&&(e={}),Object(r.a)(t,Object(o.a)({delimiter:"."},e))}(t,Object(o.a)({delimiter:"-"},e))}},291:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var o=n(4),r=n.n(o),c=n(20),l=n(29),s=n(290),a=n(132);function i(t={}){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:p}=t,m=u("background-color",f),y=u("color",b),g=function(t){if(t)return`has-${t}-gradient-background`}(v),O=g||(null==p||null===(e=p.color)||void 0===e?void 0:e.gradient);return{className:r()(y,g,{[m]:!O&&!!m,"has-text-color":b||(null==p||null===(n=p.color)||void 0===n?void 0:n.text),"has-background":f||(null==p||null===(o=p.color)||void 0===o?void 0:o.background)||v||(null==p||null===(l=p.color)||void 0===l?void 0:l.gradient),"has-link-color":Object(c.a)(null==p||null===(s=p.elements)||void 0===s?void 0:s.link)?null==p||null===(a=p.elements)||void 0===a||null===(d=a.link)||void 0===d?void 0:d.color:void 0}),style:i({color:(null==p?void 0:p.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||!e.color),[c]:!!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},429:function(t,e){},469:function(t,e,n){"use strict";n.r(e);var o=n(0),r=n(1),c=n(4),l=n.n(c),s=n(60),a=n(145),i=n(291);n(429);const u=({parentClassName:t,sku:e,className:n,style:c})=>Object(o.createElement)("div",{className:l()(n,{[`${t}__product-sku`]:t}),style:c},Object(r.__)("SKU:","woocommerce")," ",Object(o.createElement)("strong",null,e));e.default=Object(a.withProductDataContext)((t=>{const{className:e}=t,n=Object(i.a)(t),{parentClassName:r}=Object(s.useInnerBlockLayoutContext)(),{product:c}=Object(s.useProductDataContext)(),a=c.sku;return t.isDescendentOfSingleProductTemplate?Object(o.createElement)(u,{parentClassName:r,className:e,sku:"Product SKU"}):a?Object(o.createElement)(u,{className:e,parentClassName:r,sku:a,...t.isDescendantOfAllProducts&&{className:l()(e,"wc-block-components-product-sku wp-block-woocommerce-product-sku",n.className),style:{...n.style}}}):null}))}}]);