(self.webpackChunkwebpackWcBlocksJsonp=self.webpackChunkwebpackWcBlocksJsonp||[]).push([[9870],{8130:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>d});var n=o(9196),r=o(5736),s=o(4184),l=o.n(s),c=o(2864),a=o(721),i=o(3611);o(6995);const u=({parentClassName:t,sku:e,className:o,style:s})=>(0,n.createElement)("div",{className:l()(o,{[`${t}__product-sku`]:t}),style:s},(0,r.__)("SKU:","woocommerce")," ",(0,n.createElement)("strong",null,e)),d=(0,a.withProductDataContext)((t=>{const{className:e}=t,o=(0,i.F)(t),{parentClassName:r}=(0,c.useInnerBlockLayoutContext)(),{product:s}=(0,c.useProductDataContext)(),a=s.sku;return t.isDescendentOfSingleProductTemplate?(0,n.createElement)(u,{parentClassName:r,className:e,sku:"Product SKU"}):a?(0,n.createElement)(u,{className:e,parentClassName:r,sku:a,...t.isDescendantOfAllProducts&&{className:l()(e,"wc-block-components-product-sku wp-block-woocommerce-product-sku",o.className),style:{...o.style}}}):null}))},3611:(t,e,o)=>{"use strict";o.d(e,{F:()=>i});var n=o(4184),r=o.n(n),s=o(7884),l=o(2646),c=o(1473),a=o(2661);const i=t=>{const e=(t=>{const e=(0,s.Kn)(t)?t:{style:{}};let o=e.style;return(0,l.H)(o)&&(o=JSON.parse(o)||{}),(0,s.Kn)(o)||(o={}),{...e,style:o}})(t),o=(0,a.vc)(e),n=(0,a.l8)(e),i=(0,a.su)(e),u=(0,c.f)(e);return{className:r()(u.className,o.className,n.className,i.className),style:{...u.style,...o.style,...n.style,...i.style}}}},1473:(t,e,o)=>{"use strict";o.d(e,{f:()=>s});var n=o(7884),r=o(2646);const s=t=>{const e=(0,n.Kn)(t.style.typography)?t.style.typography:{},o=(0,r.H)(e.fontFamily)?e.fontFamily:"";return{className:t.fontFamily?`has-${t.fontFamily}-font-family`:o,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}}}},2661:(t,e,o)=>{"use strict";o.d(e,{l8:()=>d,su:()=>p,vc:()=>u});var n=o(4184),r=o.n(n),s=o(9784),l=o(2289),c=o(7884);function a(t={}){const e={};return(0,l.getCSSRules)(t,{selector:""}).forEach((t=>{e[t.key]=t.value})),e}function i(t,e){return t&&e?`has-${(0,s.o)(e)}-${t}`:""}function u(t){var e,o,n,s,l,u,d;const{backgroundColor:p,textColor:f,gradient:v,style:m}=t,y=i("background-color",p),g=i("color",f),k=function(t){if(t)return`has-${t}-gradient-background`}(v),b=k||(null==m||null===(e=m.color)||void 0===e?void 0:e.gradient);return{className:r()(g,k,{[y]:!b&&!!y,"has-text-color":f||(null==m||null===(o=m.color)||void 0===o?void 0:o.text),"has-background":p||(null==m||null===(n=m.color)||void 0===n?void 0:n.background)||v||(null==m||null===(s=m.color)||void 0===s?void 0:s.gradient),"has-link-color":(0,c.Kn)(null==m||null===(l=m.elements)||void 0===l?void 0:l.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 d(t){var e;const o=(null===(e=t.style)||void 0===e?void 0:e.border)||{};return{className:function(t){var e;const{borderColor:o,style:n}=t,s=o?i("border-color",o):"";return r()({"has-border-color":!!o||!(null==n||null===(e=n.border)||void 0===e||!e.color),[s]:!!s})}(t),style:a({border:o})}}function p(t){var e;return{className:void 0,style:a({spacing:(null===(e=t.style)||void 0===e?void 0:e.spacing)||{}})}}},8519:(t,e,o)=>{"use strict";o.d(e,{F:()=>n});const n=t=>null===t},7884:(t,e,o)=>{"use strict";o.d(e,{$n:()=>s,Kn:()=>r});var n=o(8519);const r=t=>!(0,n.F)(t)&&t instanceof Object&&t.constructor===Object;function s(t,e){return r(t)&&e in t}},2646:(t,e,o)=>{"use strict";o.d(e,{H:()=>n});const n=t=>"string"==typeof t},1290:(t,e,o)=>{"use strict";o.d(e,{$:()=>s});var n=o(7582),r=o(307);function s(t,e){return void 0===e&&(e={}),(0,r.B)(t,(0,n.pi)({delimiter:"."},e))}},6995:()=>{},9562:(t,e,o)=>{"use strict";function n(t){return t.toLowerCase()}o.d(e,{U:()=>n})},307:(t,e,o)=>{"use strict";o.d(e,{B:()=>l});var n=o(9562),r=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],s=/[^A-Z0-9]+/gi;function l(t,e){void 0===e&&(e={});for(var o=e.splitRegexp,l=void 0===o?r:o,a=e.stripRegexp,i=void 0===a?s:a,u=e.transform,d=void 0===u?n.U:u,p=e.delimiter,f=void 0===p?" ":p,v=c(c(t,l,"$1\0$2"),i,"\0"),m=0,y=v.length;"\0"===v.charAt(m);)m++;for(;"\0"===v.charAt(y-1);)y--;return v.slice(m,y).split("\0").map(d).join(f)}function c(t,e,o){return e instanceof RegExp?t.replace(e,o):e.reduce((function(t,e){return t.replace(e,o)}),t)}},9784:(t,e,o)=>{"use strict";o.d(e,{o:()=>s});var n=o(7582),r=o(1290);function s(t,e){return void 0===e&&(e={}),(0,r.$)(t,(0,n.pi)({delimiter:"-"},e))}},7582:(t,e,o)=>{"use strict";o.d(e,{pi:()=>n});var n=function(){return n=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var r in e=arguments[o])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},n.apply(this,arguments)};Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError}}]);