(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[45],{114:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n(103);var c=n(47);const r=()=>c.m>1},135:function(t,e,n){"use strict";n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return i})),n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return b}));var c=n(72),r=n(114),s=n(61),o=n(63);const a=t=>Object(s.a)(t)?JSON.parse(t)||{}:Object(o.a)(t)?t:{},l=t=>{if(!Object(r.a)()||"function"!=typeof c.__experimentalGetSpacingClassesAndStyles)return{style:{}};const e=Object(o.a)(t)?t:{},n=a(e.style);return Object(c.__experimentalGetSpacingClassesAndStyles)({...e,style:n})},i=t=>{const e=Object(o.a)(t)?t:{},n=a(e.style),c=Object(o.a)(n.typography)?n.typography:{};return{style:{fontSize:e.fontSize?`var(--wp--preset--font-size--${e.fontSize})`:c.fontSize,lineHeight:c.lineHeight,fontWeight:c.fontWeight,textTransform:c.textTransform,fontFamily:e.fontFamily}}},u=t=>{if(!Object(r.a)())return{className:"",style:{}};const e=Object(o.a)(t)?t:{},n=a(e.style);return Object(c.__experimentalUseColorProps)({...e,style:n})},b=t=>{if(!Object(r.a)())return{className:"",style:{}};const e=Object(o.a)(t)?t:{},n=a(e.style);return Object(c.__experimentalUseBorderProps)({...e,style:n})}},335:function(t,e){},382:function(t,e,n){"use strict";n.r(e);var c=n(0),r=n(1),s=n(4),o=n.n(s),a=n(46),l=n(6),i=n(118),u=(n(335),n(135));e.default=Object(i.withProductDataContext)(t=>{const{className:e}=t,{parentClassName:n}=Object(a.useInnerBlockLayoutContext)(),{product:s}=Object(a.useProductDataContext)(),i=Object(u.b)(t),b=Object(u.d)(t);return Object(l.isEmpty)(s.categories)?null:Object(c.createElement)("div",{className:o()(e,"wc-block-components-product-category-list",i.className,{[n+"__product-category-list"]:n}),style:{...i.style,...b.style}},Object(r.__)("Categories:",'woocommerce')," ",Object(c.createElement)("ul",null,Object.values(s.categories).map(t=>{let{name:e,link:n,slug:r}=t;return Object(c.createElement)("li",{key:"category-list-item-"+r},Object(c.createElement)("a",{href:n},e))})))})},63:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return r}));const c=t=>!(t=>null===t)(t)&&t instanceof Object&&t.constructor===Object;function r(t,e){return c(t)&&e in t}}}]);